STA 364 Spring 2025
Exam 2 Outline
This in-class exam is worth 100 points
. The take-home is worth 100 points
.
Outline
Content in Exam 1 Outline HERE.
ETS Models
- Smoothing models with trend
- Smoothing models with seasonality
- Identifying when to use multiplicative models vs additive models
- Comparing models
- How
ETS()
auto selection function works. - Given the forecast variance formula, \(\hat{\sigma}_h\), calculate the prediction interval.
- ARIMA Models
- Stationarity: Identify if a series is or is not stationary.
- Differencing: What is it? What kinds? Why?
- Backshift notation: What is it, and what does it do?
- Autoregressive Models (AR): Conditions, how to fit, model equation.
- Moving Average Models (MA): Conditions, how to fit, model equation.
- ARIMA Models (see below): Write out the specific equation using the general equation and a 𝑝,𝑑, and 𝑞 (small) identifying the orders (\(p\) and \(q\)) by looking at a stationary series’s correlogram and PACF plot.
- SARIMA Models: Same as ARIMA but with a season piece.
- ARIMA vs ETA
ARIMA()
function default algorithm.
- Overall
- Fitting and comparing models on a test set
- Forecasting with all models
ARIMA Process
Plot the data. Identify any unusual observations.
If necessary, transform the data (using a Box-Cox transformation) to stabilize the variance.
If the data are non-stationary: take first differences of the data until the data are stationary.
Examine the ACF/PACF (of the stationary series): Is an AR(\(p\)) or MA(\(q\)) model appropriate?
- AR(\(p\)): We have an AR(\(p\)) model when
- the ACF is exponentially decaying or sinusoidal
- there is a significant spike at lag \(p\) in PACF, but none beyond \(p\)
- MA(\(q\)): We have an MA(\(q\)) model when
- the PACF is exponentially decaying or sinusoidal
- there is a significant spike at lag \(q\) in ACF, but none beyond \(q\)
Try your chosen model(s), and use the AICc to search for a better model.
Check the residuals from your chosen model by plotting the ACF of the residuals, and doing a portmanteau test of the residuals. If they do not look like white noise, try a modified model.
Once the residuals look like white noise, calculate forecasts.
Code Bank
You can also find the take-home exam code bank by clicking HERE.