Question
This exercise consists of a complete set of data analysis steps using linear regression modeling implemented on the Cars93 dataset. The main problem of interest
This exercise consists of a complete set of data analysis steps using linear regression modeling implemented on the Cars93 dataset. The main problem of interest is to find the predictors for fuel efficiency of cars. This dataset is a part of the DAAG package that needs to be installed using the command, install.packages("DAAG") in R and loaded by the command, library(DAAG).
(5 points) Create the variable of interest by averaging the MPG city and MPG highway.
(5 points) In this step we start the model-building method of forward selection/ backward elimination of covariates. Begin fitting the models one covariate at the time (forward selection).
(5 points) Begin building the multivariate model by keeping the most significant covariate from step 2 and adding a second covariate one at a time (forward selection).
(5 points) If the covariate from step 3 attenuates the significance of the initially selected covariate from step 2, the latter covariate is removed from the model (backward elimination). If not, keep both variables in the model and continue with next.
(5 points) Repeat steps 2, 3 and 4 until the set of variables is exhausted.
(5 points) By now we have all the significant main effects into the model. Begin adding all meaningful 2-way interactions (there are many possible ones).
(5 points) Use the R-squared, adjusted R-squared statistics and all graphing diagnostic/goodness-of-fit tools to assess the appropriateness of the selected model.
(5 points) Write a hypothetical methods and results sections of a paper titled "Predictors of the fuel efficiency of cars".
THE DATA SET:http://www.lessrstats.com/
the file is under "chapter 3: edit data"
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