Published by the Foundation for Open Access Statistics Editors-in-chief: Bettina Grün, Torsten Hothorn, Rebecca Killick, Edzer Pebesma, Achim Zeileis    ISSN 1548-7660; CODEN JSSOBK
Authors: Alexander Kowarik, Angelika Meraner, Matthias Templ, Daniel Schopfhauser
Title: Seasonal Adjustment with the R Packages x12 and x12GUI
Abstract: The X-12-ARIMA seasonal adjustment program of the US Census Bureau extracts the different components (mainly: seasonal component, trend component, outlier component and irregular component) of a monthly or quarterly time series. It is the state-of-the- art technology for seasonal adjustment used in many statistical offices. It is possible to include a moving holiday effect, a trading day effect and user-defined regressors, and additionally incorporates automatic outlier detection. The procedure makes additive or multiplicative adjustments and creates an output data set containing the adjusted time series and intermediate calculations.
The original output from X-12-ARIMA is somehow static and it is not always an easy task for users to extract the required information for further processing. The R package x12 provides wrapper functions and an abstraction layer for batch processing of X-12-ARIMA. It allows summarizing, modifying and storing the output from X-12-ARIMA within a well-defined class-oriented implementation. On top of the class-oriented (command line) implementation the graphical user interface allows access to the R package x12 without requiring too much R knowledge. Users can interactively select additive outliers, level shifts and temporary changes and see the impact immediately.
The provision of the powerful X-12-ARIMA seasonal adjustment program available directly from within R, as well as of the new facilities for marking outliers, batch processing and change tracking, makes the package a potent and functional tool.

Page views:: 5452. Submitted: 2013-07-30. Published: 2014-12-25.
Paper: Seasonal Adjustment with the R Packages x12 and x12GUI     Download PDF (Downloads: 13936)
x12_1.6.0.tar.gz: R source package Download (Downloads: 242; 152KB)
x12GUI_0.13.0.tar.gz: R source package Download (Downloads: 205; 48KB)
v62i02.R: R example code from the paper Download (Downloads: 290; 3KB)

DOI: 10.18637/jss.v062.i02

This work is licensed under the licenses
Paper: Creative Commons Attribution 3.0 Unported License
Code: GNU General Public License (at least one of version 2 or version 3) or a GPL-compatible license.