powered by
Estimate all ARMA models within the user-specified maximum order by maximum likelihood method.
armafit2(y, ar.order, ma.order)
minimum AIC.
AR and MA orders of minimum AIC model.
innovation variance of all models.
log-likelihood of all models.
AIC of all models.
AR and MA coefficients of all models.
a univariate time series.
maximum AR order.
maximum MA order.
Kitagawa, G. (2020) Introduction to Time Series Modeling with Applications in R. Chapman & Hall/CRC.
# Sunspot number data data(Sunspot) y <- log10(Sunspot) armafit2(y, ar.order = 5, ma.order = 5)
Run the code above in your browser using DataLab