"seas"
object.## S3 method for class 'seas':
plot(x, outliers = TRUE, trend = FALSE,
main = "unadjusted and seasonally adjusted series", ...)residplot(x, outliers = TRUE, ...)
## S3 method for class 'seas':
monthplot(x, choice = c("seasonal", "irregular"), ...)
"seas"
, usually, a
result of a call to seas
."seasonal"
(default) or "irregular"
.plot
calls the plot method for class "seas"
.
It plots the adjusted and unadjusted series, as well as the
outliers. Optionally draws the trend series.residplot
plots the residuals and the outliers.
monthplot
calls the monthplot method for class
"seas"
. It plot the seasonal and SI component
periodwise. Like the default method `monthplot` can be used
for all frequencies.
Wiki page with a comprehensive list of R examples from the
X-13ARIMA-SEATS manual:
Official X-13ARIMA-SEATS manual:
seas
, for the main function.qs
, for diagnostical statistics.
m <- seas(AirPassengers)
plot(m)
plot(m, outliers = FALSE)
plot(m, trend = TRUE)
residplot(m)
residplot(m, outliers = FALSE)
monthplot(m)
# use standard R functions to analyze "seas" models
pacf(resid(m))
spectrum(diff(resid(m)))
plot(density(resid(m)))
qqnorm(resid(m))
Run the code above in your browser using DataLab