Specials are used on the right-hand side of the formula of X13(),
TRAMOSEATS(), REGARIMA() or TRAMO(),
e.g. X13(y ~ transform(fun = "Log") + xreg(strike)).
Each one records a call to a function of rjd3toolkit that is applied to
the base specification (the spec argument).
Specials
spec(x): base specification (name or specification object); equivalent to thespecargument ofX13(),TRAMOSEATS(),REGARIMA()orTRAMO().basic(...): arguments passed torjd3toolkit::set_basic().transform(...): arguments passed torjd3toolkit::set_transform().estimate(...): arguments passed torjd3toolkit::set_estimate().automodel(...): arguments passed torjd3toolkit::set_automodel().outlier(...): arguments passed torjd3toolkit::set_outlier().add_outlier(...): arguments passed torjd3toolkit::add_outlier()(e.g.type = "AO", date = "2020-04-01").easter(...): arguments passed torjd3toolkit::set_easter().tradingdays(...): arguments passed torjd3toolkit::set_tradingdays().arima(...): arguments passed torjd3toolkit::set_arima().ramp(...): arguments passed torjd3toolkit::add_ramp().usrdefvar(...): arguments passed torjd3toolkit::add_usrdefvar().x11(...): arguments passed torjd3x13::set_x11()(X-11 decomposition parameters; use withX13()only).seats(...): arguments passed torjd3tramoseats::set_seats()(SEATS decomposition parameters; use withTRAMOSEATS()only).benchmarking(...): arguments passed torjd3toolkit::set_benchmarking()(use withX13()orTRAMOSEATS()only).xreg(..., regeffect = NULL, group = "r", lag = 0, coef = NULL): user-defined regressors taken from columns of the tsibble and added to the context. By default (regeffect = NULL), the regressors are only added to the context (with thegroup="r"). Ifregeffectis equals to"Undefined","Trend","Seasonal","Irregular","Series"or"SeasonallyAdjusted"then variable is also added to the specification using therjd3toolkit::add_usrdefvar()function with the parameterslagandcoeff. Ifregeffect = "Calendar", then the variable is added to the specification using therjd3toolkit::set_tradingdays()function.
Precedence
The base spec is applied first, then the specials in a fixed order (basic,
transform, estimate, automodel, outlier, add_outlier, easter, tradingdays,
arima, ramp, usrdefvar, benchmarking, x11, seats), then xreg(). Later
settings override earlier ones. A special that does not apply to the method
(e.g. x11() in TRAMOSEATS()) is ignored with a warning.