Locally fit multivariate autoregressive models to non-stationary time series by the minimum AIC procedure using the householder transformation.
mlomar(y, max.order = NULL, span, const = 0)
mean.
variance.
the number of local spans.
order of the current model.
AIC of the current model.
AR coefficient matrices of the current model.
arcoef[[m]][i,j,k]
shows the value of \(i\)-th row, \(j\)-th
column, \(k\)-th order of \(m\)-th model.
innovation variance of the current model.
initial point of the data fitted to the current model.
end point of the data fitted to the current model.
data length of the preceding stationary block.
data length of the new block.
order of the moving model.
AIC of the moving model.
order of the constant model.
AIC of the constant model.
a multivariate time series.
upper limit of the order of AR model, less than or equal to
\(n/2d\) where \(n\) is the length and \(d\) is the dimension of the
time series y
. Default is
\(min(2 \sqrt{n}, n/2d)\).
length of basic local span. Let \(m\) denote max.order
,
if \(n-m-1\) is less than or equal to span
or \(n-m-1-\)span
is less than \(2md+\)const
, span
is \(n-m\).
integer. '\(0\)' denotes constant vector is not included as a regressor and '\(1\)' denotes constant vector is included as the first regressor.
The data of length \(n\) are divided into \(k\) locally stationary spans,
$$|<-- n_1 -->|<-- n_2 -->|<-- n_3 -->| ..... |<-- n_k -->|$$
where \(n_i\) \((i=1,\ldots,k)\) denoted the number of basic spans, each of length span, which constitute the \(i\)-th locally stationary span. At each local span, the process is represented by a stationary autoregressive model.
G.Kitagawa and H.Akaike (1978) A Procedure for The Modeling of Non-Stationary Time Series. Ann. Inst. Statist. Math., 30, B, 351--363.
H.Akaike, G.Kitagawa, E.Arahata and F.Tada (1979) Computer Science Monograph, No.11, Timsac78. The Institute of Statistical Mathematics.
data(Amerikamaru)
mlomar(Amerikamaru, max.order = 10, span = 300, const = 0)
Run the code above in your browser using DataLab