static | R Documentation |
In a 'static' call, the default automatic procedures in the model call are substituted by the choices they made.
static(
x,
coef = FALSE,
x11.filter = FALSE,
test = TRUE,
fail = FALSE,
evaluate = FALSE
)
x |
an object of class |
coef |
logical. If |
x11.filter |
logical. X-11 only. if |
test |
logical. By default the static call is executed and compared to
the input call. If the final series is not identical, a message is
returned. If |
fail |
logical. If |
evaluate |
logical. If |
If evaluate = TRUE
, the call is evaluated. The call can be copy/pasted
to a script and used for further manipulations or future evaluation of the
same model.
By default, the static call is tested. It is executed and compared to the input call. If the final series is not identical, a message is returned.
If coef = TRUE
, the coefficients are fixed as well. If
x11.filter = TRUE
, the X-11 moving averages are fixed as well.
Object of class "call"
. Or an object of class "seas"
if evaluate = TRUE
.
Vignette with a more detailed description: http://www.seasonal.website/seasonal.html
Comprehensive list of R examples from the X-13ARIMA-SEATS manual: http://www.seasonal.website/examples.html
Official X-13ARIMA-SEATS manual: https://www2.census.gov/software/x-13arima-seats/x13as/windows/documentation/docx13as.pdf
stats::getCall()
to extract the actual call.
seas()
for the main function of seasonal.
m <- seas(AirPassengers)
getCall(m) # default call
static(m) # static call
static(m, test = FALSE) # much faster
static(m, evaluate = TRUE) # returns an object of class "seas"
m <- seas(AirPassengers, x11 = "")
static(m, x11.filter = TRUE) # also fixes the X-11 filter (with a warning)
static(m, coef = TRUE) # also fixes the coefficients
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.