Investigate Time Series Model Residuals
Having found the model that successfully describes the time series of interest, the fit residual is expected to be a Gaussian white noise process.
Monthly data of accidental deaths in USA from 1973 to 1978.
Out[2]= | |
Fit an ARMA model to the data.
Out[3]= | |
Autocorrelation, partial autocorrelation, and Ljung–Box plots suggest correlation at lag 12.
Out[4]= | |
Fit a seasonal ARMA model with seasonality of 12.
Out[5]= | |
ACF, PACF, and Ljung–Box plots indicate that residuals are likely a white noise.
Out[6]= | |
Selection criteria favor the seasonal model over the non-seasonal one.
Out[7]//TableForm= |
| |