Question 2 The data “cows.txt" has been analyzed in the class (download it from Week 10-11 module), now, we used the fir
Posted: Thu May 05, 2022 7:27 pm
Question 2 The data “cows.txt" has been analyzed in the class (download it from Week 10-11 module), now, we used the first 170 observations to build an ARMA(1,1) model and estimate the parameters using maximum likelihood method. The remaining 6 observations will be used for testing the performance of your prediction/forecasting. Using the estimated model, forecast the next 6 values of the series. Plot the series together with the 6 forecasts. Compare the five forecasts with the actual values that you set aside. Plot the forecasts together with 95% forecast limits. (Hint: use window function, type help("window") to know how to use this fuction to import part of the data)