Starting from:

$30

ECON430-Homework 3 Solved

1.    Modeling and Forecasting Trend

(a)    Show a time-series plot of your data.

(b)   Does your plot in (a) suggest that the data are covariance stationary? Explain your answer.

(c)    Plot and discuss the ACF and PACF of your data.

(d)   Fit a linear and nonlinear (e.g., polynomial, exponential, quadratic + periodic, etc.) model to your series. In one window, show both figures of the original times series plot with the respective fit.

(e)    For each model, plot the respective residuals vs. fitted values and discuss your observations.

(f)     For each model, plot a histogram of the residuals and discuss your observations.

(g)    For each model, discuss the associated diagnostic statistics (R2, t−distribution, F−distribution, etc.)

(h)   Select a trend model using AIC and one using BIC (show the values obtained from each criterion). Do the selected models agree?

(i)     Use your preferred model to forecast h-steps (at least 16) ahead. Your forecast should include the respective uncertainty prediction interval. Depending on your data, h will be in days, months, years, etc.

2.    Modeling and Forecasting Seasonality

(a)    Construct and test (by looking at the diagnostic statistics) a model with a full set of seasonal dummies.

– 2 –

(b)   Plot the estimated seasonal factors and interpret your plot.

(c)    In order to improve your model, add the trend model from problem 1 to your seasonal model. We will refer to this model as the full model. For the full model, plot the respective residuals vs. fitted values and discuss your observations.

(d)   Interpret the respective summary statistics including the error metrics of your full model.

(e)    Use the full model to forecast h-steps (at least 16) ahead. Your forecast should include the respective prediction interval.

(f)     Plot the STL decomposition plot, and based on it, choose between an additive and multiplicative seasonal adjustment. Perform the correction, and plot the seasonally adjusted series. Based on this adjustment, would your trend model from problem 1 still be appropriate? Explain your answer in detail.

III.    Conclusions and Future Work (state your conclusion regarding your final model and fore-cast, and provide some insight as to how it could be improved).

IV.     References (include the source of your data and any other resources).

V.       R/Python Source code. Your code needs to include proper comments to help e.g., anon-R/Python expert understand and run your code. If you do not submit your code, you will not receive credit for the assignment.

More products