Question: The linear model I used in this chapter has the obvious drawback that it is linear, and there is no reason to expect prices to
The linear model I used in this chapter has the obvious drawback that it is linear, and there is no reason to expect prices to change linearly over time. We can add flexibility to the model by adding a quadratic term, as we did in Section 11.3. Use a quadratic model to fit the time series of daily prices, and use the model to generate predictions. You will have to write a version of RunLinearModel that runs that quadratic model, but after that you should be able to reuse code from the chapter to generate predictions
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
