An exercise for keeping in mind the true model versus the estimated model and the true error versus the estimated error (i.e., the residuals):
Simulate linear regression data in R with white noise.
Simulate the data for error, experiment with the variance until the plot clearly looks linear and clearly has random noise.
Fit a model.
Plot the data with both the true line and fitted line superimposed on the data.
Find the residuals.
Plot the residuals versus the true noise.
Comment of the two plots created.
Assess the assumptions with appropriate residual plots.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here