State space representation of an ARIMA model
We consider that the auto-regressive polynomial contains some unit roots. It can be factorized in a stationary polynomial (defined by the roots outside the unit circle) and in a non-stationary polynomial (defined by the roots on the unit circle), which is notated:
Δ(B)=1+δ1B+⋯+δdBdThe state space form of an ARIMA model is similar to the state space form of an ARMA model except for its initialization.
Initialization
The initial conditions can be written as follows:
α−1=(10⋮0) P∗=ΣΩΣ′ B=Λ P∞=ΛΛ′Ω is the unconditional covariance of the state array of the stationary model.
Σ=(10⋯0λ11⋯0λ2λ1⋯⋮⋮⋮⋮⋮λr−1λr−2⋯λ1)where λi are generated by 1Δ(B)
Λ is a r x d matrix; its first d rows form an identity matrix; other cells are defined by the recursive relationship:
Λ(i,j)=−d∑k=1δkΛ(i−k,j)Implementation
ARIMA models are implemented in the class demetra.arima.ssf.SsfArima