armafit2 | R Documentation |
Estimate all ARMA models within the user-specified maximum order by maximum likelihood method.
armafit2(y, ar.order, ma.order)
y |
a univariate time series. |
ar.order |
maximum AR order. |
ma.order |
maximum MA order. |
aicmin |
minimum AIC. |
maice.order |
AR and MA orders of minimum AIC model. |
sigma2 |
innovation variance of all models. |
llkhood |
log-likelihood of all models. |
aic |
AIC of all models. |
coef |
AR and MA coefficients of all models. |
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.