Question: Part 2: Prediction and validation (10 marks) (i) Write an R function that uses your model from Part 1 to make future predictions for Google's

Part 2: Prediction and validation (10 marks) (i) Write an R function that uses your model from Part 1 to make future predictions for Google's daily closing price for new rows of independent variables. Check the prediction accuracy by uploading it to the class leader board. This will go live during the lecture on Monday 12th November. (ii) Try to improve the prediction accuracy of your model by trying different combinations of independent variables. Assess the models using cross-validation to ensure that your improved model is optimal for prediction
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
