Question: In python, The dataset fuel _ consumption.csv contains three columns: Car ( car identifier ) , Weight ( in kilograms ) , and Fuel _

In python, The dataset fuel_consumption.csv contains three columns: Car (car identifier), Weight (in kilograms), and Fuel_Consumption (in miles per gallon). Each row represents a different car in the dataset.
a.) Load the dataset and inspect the first five rows. b.) Create a scatterplot of fuel consumption vs. weight. c.)__ Use regression to find the equation for the line of best fit. Print out the equation of the line. d.) Extrapolate! Find what would be the fuel consumption of a 1000 kg and a 3000 kg car. Do you think the results are realistic? Investigate both cases. e.) Plot the data (scatter) and the best fitted line on the same figure. f.) find the regression coefficient r and r^2. g.) Find the mean and standard deviation of the fuel consumption.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!