Question
The dataset is already included in Programming R. Use the code attach(mtcars) (Use R for data analysis) Based on our known mtcars dataset, we'll now
The dataset is already included in Programming R. Use the code attach(mtcars)
(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)).
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started