Question: Using the Mpg . csv dataset ( See Data Files Link in Blackboard ) , answer the questions below. ( a ) Create an appropriate

Using the Mpg.csv dataset (See Data Files Link in Blackboard), answer the questions below. (a) Create an appropriate training set (80%) and test set (20%) for the data. (b) Run a basic linear regression and identify the important variables against the training set. (c) Once you have a model, provide measures of accuracy (e.g. ME, MAE, MPE, MAPE, RMSE, etc) for the training set (d) Run the model against the test set and provide measures of accuracy. (e)[Optional] run the model with the training set then iteratively add one row to the training set, and test measures of accuracy against the test test, i.e. allow the model to change coefficients as new data comes in. Store the measures of accuracy in a data frame for each run, and interpret the results. This requires some deep coding, but for those who want to give it a try, I will help you with it.

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 Programming Questions!