Test for seasonality in a time series based on joint significance seasonal dummies in a non-seasonal ARIMA model.
Usage
seasdum(x, freq = NA, autoarima = FALSE)
Arguments
x
time series
freq
Frequency of the time series
autoarima
Use automatic instead of a (0,1,1) ARIMA model?
Details
A RegARIMA model is estimated with (0,1,1)+Seasonal dummies if autoarima=FALSE (default) or (p,d,q)+Seasonal dummies if autoarima=TRUE, (p,d,q) selected by Hyndman-Khandakar algorithm with max(p)=max(q) <= 3. Then the tests checks whether the seasonal dummies are jointly different from zero, i.e. whether deterministic seasonality can be detected in the time series.
References
Hyndman, R. J. and Y. Khandakar (2008). Automatic Time Series Forecasting: The forecast Package for R. Journal of Statistical Software 27 (3), 1-22.
Maravall, A. (2011). Seasonality Tests and Automatic Model Identification in TRAMO-SEATS. Bank of Spain.