Homework#5 (1)

docx

School

University of Wisconsin, Madison *

*We aren’t endorsed by this school

Course

603

Subject

Statistics

Date

Apr 3, 2024

Type

docx

Pages

4

Uploaded by Bagelbagelgpa4

Report
Homework #5 Problem 1. Please match the models listed below with the ACF and PACF plot of the time series generated from the model. Models: (1) AR(2) (2) MA(3) (3) ARIMA(2,0,1) (4) ARIMA(1,1,1) Plots: (a) MA(3) (b) ARIMA(1,1,1) ARIMA(2,0,1)
(c) AR(2) (d) ARIMA(2,0,1) AR(2) Problem 2. Consider the following models (1) y t = 0.7 y t 1 + 0.6 ε t 1 + ε t (2) ( 1 B ) y t = 0.7 y t 1 0.7 y t 2 + 0.6 ε t 1 + ε t (3) ( 1 B 4 ) y t = 0.7 y t 1 0.7 y t 5 + 0.6 ε t 1 + ε t (a) For each model, re-write the model equation into the form as shown slide #76 using backward shift operator B. (b) If we use notation ARIMA(p,d,q)(P,D,Q) m to represent an ARIMA model, what are the values of p, d, q, P, D, Q, m for the three models?
Problem 3. a) We collect a series of monthly sales of a product in 2 years (2010-2011). We first fit a regression model on the trend and the square term of the trend. Later, we observe autocorrelation in the forecast residuals and fit a AR(1) model on the residuals. The code and the summary of the fitted models is shown in the picture: 1) Forecast the sales of the first month of 2012 based on the fitted regression model ( train.lm.trend ). 2) The forecast error of the last month of 2011 is -1.31. Derive the prediction on the forecast error of the first month of 2012 from the AR(1) model ( train.res.arima ). 3) What is the forecast on the first month of 2012 by combining the two models? Problem 4. We fit a ARIMA(1,0,1) model: ( 1 ϕ 1 B ) ( y t μ ) = ( 1 + θ 1 B ) ε t . The estimated coefficients are ϕ 1 = 0.8 1 = 0.6 = 6 . The available observed and forecast data are shown in the table: t y t ^ y t 1 8 10 2 7.6 6.4
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
3 6.8 Derive the prediction at t = 3 , 4 , 5. Problem 5. (computer based problem) Consider the SouvenirSales.csv data. It contains monthly sales for a souvenir shop at a beach resort town in Queensland, Australia, between 1995 and 2001. Please partition the data into training and validation periods, with the validation set containing the last 12 months of data (year 2001). Using the training period data, please (a) Run a regression model with Sales as the output variable and with a linear trend and monthly seasonality. (b) Create an ACF and PACF plot until lag-10 for the residuals of model in (a) (c) Establish an AR(2) model for the residuals in (b) (d) Create an ACF and PACF plot until lag-10 for the residuals of the AR(2) model in (c) (e) Use auto.arima function to automatically find a best ARIMA model for the training period data. Write the model in ARIMA(p,d,q)(P,D,Q) m format. (f) Fit the identified model in (e) and plot the fitted values of the model and the observed training period data. (g) Create an ACF and PACF plot until lag-10 for the residuals of model in (f) Using the validation period data, please (h) Using the model in (a) to forecast for the validation period and obtain the forecasting accuracy (i) Combining the model in (a) and (c) to forecast for the validation period and obtain the forecasting accuracy (j) Using the model in (f) to forecast for the validation period and obtain the forecasting accuracy