Write a simple program to simulate data so that when you plot residuals against x after fitting

Question:

Write a simple program to simulate data so that when you plot residuals against x after fitting the bivariate linear model E(yi) = ????0 + ????1xi, the plot shows inadequacy of

(a) the linear predictor,

(b) the constant variance assumption.

Step by Step Answer:

Question Posted: