Question: 2: Modify LeastSquareErrors.py so that you use 1-month, 3-month, and six-month moving averages to forecast the stock return and price of Walmart on August 31,

2: Modify LeastSquareErrors.py so that you use 1-month, 3-month, and six-month moving averages to forecast the stock return and price of Walmart on August 31, 2021. Then calculate the accuracy of each method. Which method is the most accurate based on your results? Show the script and results
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
