date | title | id |
---|---|---|
2020-09-29 07:40:11 -0700 |
ARIMA models |
2020-09-29t14-40-11z |
In time series forecasting, when dealing with non-stationary data, the autoregressive-integrated-moving-average model can come in handy.
As the name suggests, ARIMA is simply an extension of ARMA that manages to handle non-stationary data through an integration.
More specifically, similarly to what we do in this note, we re-write the series in terms of the difference of consecutive values, apply ARMA on this new series, and then work our way backwards to the original series.
Mathematically, given a non-stationary series
We can then apply the ARMA model to this new series to get
$$ {z_{t}=c+\varepsilon _{t}+\sum _{i=1}^{p}\varphi {i}z{t-i}+\sum _{i=1}^{q}\theta _{i}\varepsilon _{t-i}.,} $$
Now obviously, we wish to recover
Noticing the structure of the latter equation, we can then apply a recurrence
relation to replace all instances of
We can then substitute the ARMA model of
Note, throughout this derivation, we utilized a degree of differencing