Question: (Use R for data analysis) Based on our known mtcars dataset, we'll now build a model for predicting variable qsec, the time in seconds that

(Use R for data analysis) Based on our known "mtcars" dataset, we'll now build a model for predicting variable qsec, the time in seconds that it takes a car to drive 1/4 mile from a full stop.

(a) Select the optimal subset of independent variables for the prediction of the qsec using your favorite variable

selection method. Show all methods used and justify your conclusion.

(b) Is there any indication of nonlinear relations? Explain how you reach this conclusion.

(c) Test significance of interaction between the weight (wt) and transmission (am, 0 = automatic,

1 = manual). (Hint: Use the "best" model according to part (a)).

(d) (only for 615 students) Construct a 90% prediction interval for qsec of a car that has 6 cylinders (cyl) and 150

horsepower (hp).

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