R6 class for ARMA(p, q) model
Version 1.0.2
stats::arima() which is wrapped in the method fit.
controllist, to contain custom control parameters.
model_namecharacter(1), standard model name.
arOrderinteger(1), Autoregressive order.
maOrderinteger(1), Moving-Average order.
ordernamed numeric vector of size 2. Orders of the ARMA model: the first element is the arOrder, while the second the maOrder.
interceptnamed integer(1), intercept of the model.
phinamed numeric vector of size arOrder, AR parameters. If arOrder = 0, the parameter is zero.
thetanamed numeric vector of size maOrder, MA parameters. If maOrder = 0, the parameter is zero.
coefficientsnamed numeric vector of size arOrder + maOrder + 1. The first element ie sthe intercept, then the ARMA parameters.
std.errorsNumeric named vector, standard errors of the intercept and ARMA parameters.
sigma2integer(1), std.errors of the residuals.
Anumeric matrix of size (arOrder + maOrder) x (arOrder + maOrder). See the function ARMA_companion_matrix for more details.
bnumeric vector of size arOrder + maOrder. See the function ARMA_vector_b for more details.
tidyTibble with estimated parameters and standard errors.
new()Initialize an ARMA model
ARMA_modelR6$new(arOrder = 1, maOrder = 1, include.intercept = FALSE)filter()Filter the time-series and compute fitted values and residuals. See the function ARMA_filter for more details.
next_step()Next step function. See the function ARMA_next_step for more details.
expectation()Forecast expected value. See the function ARMA_expectation for more details.
variance()Forecast variance. See the function ARMA_variance for more details.
update()Update the model's parameters