There are totally 10 equally weighted questions. Include all necessary R codes and output in
Consider simple linear regression with one covariate:
? = ?0 + ?1? + ?, ?~?(0, ?
show that ?̂
1 are unbiased estimators, and calculate their variance.
(e) Comment on the results obtained. How accurately can we predict the number of college
applications received? Is there much difference among the test errors resulting from these three
(g) Which of these methods appears to provide the best results on this data?
(h) Experiment with different combinations of predictors, including possible transformations
and interactions, for each of the methods. Report the variables, method, and associated confusion
matrix that appears to provide the best results on the held out data.