Question
Consider the simulated RESCALE data file, which contains 100 observations of a response variable, Y, and a predictor variable X. By working through the following
Consider the simulated RESCALE data file, which contains 100 observations of a response variable, Y, and a predictor variable X. By working through the following questions, you will find that a quadratic model fit to the data produces large variance inflation factors (VIFs) for X and X2, whereas rescaling X first results in a model with considerably reduced VIFs. Nevertheless, the results from both models are essentially the same.
DATA LINK: https://file.io/nKlszCubgGax
Create a squared predictor term, X2, and fit the quadratic model. Make a note of the t-statistic for b2, the values of R2, and the regression standard error, s, for the model. What is the value of s?
Calculate the VIFs for X and X2 in the model from part (a). How much is it?
Create a rescaled predictor variable, Z = (X mX)/sX, where mX and sX are the sample mean and standard deviation of X, respectively. You can check that you have calculated Z correctly by checking that mZ = 0 and sZ = 1. Then create a squared rescaled predictor term, Z2, and fit the quadratic model using the Zs. Make a note of the t-statistic for b2, the values of R2, and the regression standard error, s, for the model. What do you notice?
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