Académique Documents
Professionnel Documents
Culture Documents
Midterm 1
UIN: 225002541
QUESTION 1
The test data provided at the end of the instructions consists of 40 data points. The
variables are the same as in the training data.
Use the final model in your training analysis to predict the response variable F1 on the test
data (use predict() in R). Document into a report the results of prediction.
MODEL USED
lm.fit33=lm(F1~F1L1+F1L3+F1L7+F1L5*F1L4+F1L5*F2L7+F1L4*F2L7-F1L3-F1L7F1L5*F1L4+I(F1L7^2),data=table)
Code Executed in R
Prediction Results
Plots
MSE
The mse of the prediction is as given below: