seasonal (version 1.2.1)

qs: Diagnostical Statistics

Description

Functions to access some specific diagnostical statistics in a "seas" object. For universal import of X-13ARIMA-SEATS tables, use the series function. For accessing the .out file of X-13ARIMA-SEATS, use the out function. For diagnostical plots, see plot.seas.

Usage

qs(x)

spc(x)

fivebestmdl(x)

arimamodel(x)

transformfunction(x)

Arguments

x
object of class "seas"

Value

  • qs returns the QS statistics for seasonality of input and output series and the corresponding p-values.

    spc returns the content of the .spc file, i.e. the specification as it is sent to X-13ARIMA-SEATS. Analyzing the spc output is useful for debugging.

    fivebestmdl returns the five best models as chosen by the BIC criterion. It needs the automdl spec to be activated (default). If it is not activated, the function tries to re-evaluate the model with the automdl spec activated.

    arimamodel returns the structure of a the ARIMA model, a numerical vector of the form (p d q)(P D Q), containing the non-seasonal and seasonal part of the ARIMA model.

    transformfunction returns the transform function that has been applied.

References

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: http://www.census.gov/ts/x13as/docX13AS.pdf

See Also

seas for the main function.

series, for universal X-13 output extraction.

plot.seas, for diagnostical plots.

out, for accessing the full output of X-13ARIMA-SEATS.

Examples

Run this code
m <- seas(AirPassengers)

qs(m)
spc(m)
fivebestmdl(m)
arimamodel(m)
transformfunction(m)

# if no automdl spec is present, the model is re-evaluated
m2 <- seas(AirPassengers, arima.model = "(0 1 1)(0 1 1)")
spc(m2)           # arima overwrites the automdl spec
fivebestmdl(m2)   # re-evaluation with automdl

# universal output extraction (see ?series)
series(m, "identify.pacf")

# accessing the .out file (see ?out)
out(m)

Run the code above in your browser using DataCamp Workspace