Question: Prestige data from library(alr4). Give a program in R that models prestige as a function of education and income. Your program should investigate model diagnostics

Prestige data from library(alr4).

Give a program in R that models prestige as a function of education and income. Your program should investigate model diagnostics and implement any necessary transformations on the predictors and/or the response. Specifically, your program should do the following: Fit the (untransformed) model and produce residual plots and hypothesis tests of the linearity assumption. Use the powerTransform function to estimate power transformations for the two predictor variables. Fit the transformed model and reproduce the residual plots and linearity tests. Use the Box-Cox procedure to determine if a transformation of the response is also required. If so, implement the transformation. Report the summary of your final model.

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!