Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

3. For question 3, you will use the mtcars data in R. (a) Fit a regression model (model_a) using mpg as the response and cyl,

image text in transcribed
3. For question 3, you will use the mtcars data in R. (a) Fit a regression model (model_a) using mpg as the response and cyl, disp, hp, wt and drat as predictors (Do not include and polynomial or interaction terms). Obtain the Variance Inflation Factor (VIF) for each predictor. (You may use the "vif" function in the faraway package.) Does any collinearity exist? Report all predictors whose VIF are higher than 10. Briefly explain how collinearity affects in the regression analysis. (b) From the result in (a), remove the predictor with the highest VIF value and fit another regression model using the rest of the predictors. Obtain the Variance Inflation Factor (VIF) for each predictor used for the model. This time, do not use any built-in function in R to compute the VIF values. (You can still use the Im function/object.) Does any collinearity exist? Report all predictors whose VIF are higher than 10

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Mathematics questions

Question

How flying airoplane?

Answered: 1 week ago