powered by
Fit a multivariate AR model by least squares method.
marlsq(y, lag = NULL)
An object of class "marlsq", which is a list with the following components:
"marlsq"
order of the MAICE model.
AIC of the MAR model with minimum AIC orders.
innovation covariance matrix.
AR coefficient matrices.
a multivariate time series.
highest AR order. Default is \(2 \sqrt{n}\), where \(n\) is the length of the time series y.
y
Kitagawa, G. (2020) Introduction to Time Series Modeling with Applications in R. Chapman & Hall/CRC.
# Yaw rate, rolling, pitching and rudder angle of a ship data(HAKUSAN) y <- as.matrix(HAKUSAN[, c(1,2,4)]) # Yaw rate, Rolling, Rudder angle z <- marlsq(y) z marspc(z$arcoef, v = z$v)
Run the code above in your browser using DataLab