Last chance! 50% off unlimited learning
Sale ends in
This is the program for the fitting of periodic autoregressive models by the method of least squares realized through householder transformation.
perars(y, ni, lag = NULL, ksw = 0)
mean.
variance.
specification of i-th regressor (ni
).
regression coefficients.
residual variances.
number of parameters.
AIC.
innovation variance matrix.
AR coefficient matrices. arcoef[i,,k]
shows
constant vector.
order of the MAICE model.
a univariate time series.
number of instants in one period.
maximum lag of periods. Default is
integer. '
Periodic autoregressive model
(ni
) is defined
by
where ksw
is
set to '
The statistics AIC is defined by
M.Pagano (1978) On Periodic and Multiple Autoregressions. Ann. Statist., 6, 1310--1317.
H.Akaike, G.Kitagawa, E.Arahata and F.Tada (1979) Computer Science Monograph, No.11, Timsac78. The Institute of Statistical Mathematics.
data(Airpollution)
perars(Airpollution, ni = 6, lag = 2, ksw = 1)
Run the code above in your browser using DataLab