IDEAS home Printed from https://ideas.repec.org/a/jss/jstsof/v062i02.html
   My bibliography  Save this article

Seasonal Adjustment with the R Packages x12 and x12GUI

Author

Listed:
  • Kowarik, Alexander
  • Meraner, Angelika
  • Templ, Matthias
  • Schopfhauser, Daniel

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.

Suggested Citation

  • Kowarik, Alexander & Meraner, Angelika & Templ, Matthias & Schopfhauser, Daniel, 2014. "Seasonal Adjustment with the R Packages x12 and x12GUI," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 62(i02).
  • Handle: RePEc:jss:jstsof:v:062:i02
    DOI: http://hdl.handle.net/10.18637/jss.v062.i02
    as

    Download full text from publisher

    File URL: https://www.jstatsoft.org/index.php/jss/article/view/v062i02/v62i02.pdf
    Download Restriction: no

    File URL: https://www.jstatsoft.org/index.php/jss/article/downloadSuppFile/v062i02/x12_1.6.0.tar.gz
    Download Restriction: no

    File URL: https://www.jstatsoft.org/index.php/jss/article/downloadSuppFile/v062i02/x12GUI_0.13.0.tar.gz
    Download Restriction: no

    File URL: https://www.jstatsoft.org/index.php/jss/article/downloadSuppFile/v062i02/v62i02.R
    Download Restriction: no

    File URL: https://libkey.io/http://hdl.handle.net/10.18637/jss.v062.i02?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    References listed on IDEAS

    as
    1. Zeileis, Achim & Grothendieck, Gabor, 2005. "zoo: S3 Infrastructure for Regular and Irregular Time Series," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 14(i06).
    Full references (including those not matched with items on IDEAS)

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Yoshiki Nakajima & Naoya Sueishi, 2022. "Forecasting the Japanese macroeconomy using high-dimensional data," The Japanese Economic Review, Springer, vol. 73(2), pages 299-324, April.

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Malte Willmes & Katherine M Ransom & Levi S Lewis & Christian T Denney & Justin J G Glessner & James A Hobbs, 2018. "IsoFishR: An application for reproducible data reduction and analysis of strontium isotope ratios (87Sr/86Sr) obtained via laser-ablation MC-ICP-MS," PLOS ONE, Public Library of Science, vol. 13(9), pages 1-15, September.
    2. Bouras V. David & Wesseh Wollo, 2020. "Oligopoly Power, Cross-Market Effects and Demand Relatedness: An Empirical Analysis," European Journal of Economics and Business Studies Articles, Revistia Research and Publishing, vol. 6, September.
    3. Nicholas John Tierney & Dianne Cook & Tania Prvan, 2020. "brolgar: An R package to BRowse Over Longitudinal Data Graphically and Analytically in R," Monash Econometrics and Business Statistics Working Papers 43/20, Monash University, Department of Econometrics and Business Statistics.
    4. Michael Berlemann & Julia Freese & Sven Knoth, 2020. "Dating the start of the US house price bubble: an application of statistical process control," Empirical Economics, Springer, vol. 58(5), pages 2287-2307, May.
    5. Jiří Sedláček, 2013. "Using R in Finance [Využití R v oblasti financí]," Český finanční a účetní časopis, Prague University of Economics and Business, vol. 2013(4), pages 145-163.
    6. Stübinger, Johannes & Endres, Sylvia, 2017. "Pairs trading with a mean-reverting jump-diffusion model on high-frequency data," FAU Discussion Papers in Economics 10/2017, Friedrich-Alexander University Erlangen-Nuremberg, Institute for Economics.
    7. Judith M. Ament & Robin Freeman & Chris Carbone & Anna Vassall & Charlotte Watts, 2020. "An Empirical Analysis of Synergies and Tradeoffs between Sustainable Development Goals," Sustainability, MDPI, vol. 12(20), pages 1-12, October.
    8. Anota, Amélie & Savina, Marion & Bascoul-Mollevi, Caroline & Bonnetain, Franck, 2017. "QoLR: An R Package for the Longitudinal Analysis of Health-Related Quality of Life in Oncology," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 77(i12).
    9. Ohana-Levi, Noa & Munitz, Sarel & Ben-Gal, Alon & Netzer, Yishai, 2020. "Evaluation of within-season grapevine evapotranspiration patterns and drivers using generalized additive models," Agricultural Water Management, Elsevier, vol. 228(C).
    10. Percebois, Jacques & Pommeret, Stanislas, 2019. "Storage cost induced by a large substitution of nuclear by intermittent renewable energies: The French case," Energy Policy, Elsevier, vol. 135(C).
    11. Ferstl, Robert & Hayden, Josef, 2010. "Zero-Coupon Yield Curve Estimation with the Package termstrc," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 36(i01).
    12. Golyandina, Nina & Korobeynikov, Anton & Shlemov, Alex & Usevich, Konstantin, 2015. "Multivariate and 2D Extensions of Singular Spectrum Analysis with the Rssa Package," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 67(i02).
    13. Chris Heaton & Natalia Ponomareva & Qin Zhang, 2020. "Forecasting models for the Chinese macroeconomy: the simpler the better?," Empirical Economics, Springer, vol. 58(1), pages 139-167, January.
    14. Thelma Dede Baddoo & Zhijia Li & Yiqing Guan & Kenneth Rodolphe Chabi Boni & Isaac Kwesi Nooni, 2020. "Data-Driven Modeling and the Influence of Objective Function Selection on Model Performance in Limited Data Regions," IJERPH, MDPI, vol. 17(11), pages 1-26, June.
    15. Hansin Bilgili & Chwen Sheu, 2022. "A Bibliometric Review of the Mathematics Journal," Mathematics, MDPI, vol. 10(15), pages 1-17, July.
    16. Perpiñán Lamigueiro, Oscar, 2012. "solaR: Solar Radiation and Photovoltaic Systems with R," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 50(i09).
    17. Georgia Papacharalampous & Hristos Tyralis & Demetris Koutsoyiannis, 2018. "Univariate Time Series Forecasting of Temperature and Precipitation with a Focus on Machine Learning Algorithms: a Multiple-Case Study from Greece," Water Resources Management: An International Journal, Published for the European Water Resources Association (EWRA), Springer;European Water Resources Association (EWRA), vol. 32(15), pages 5207-5239, December.
    18. Shrub, Yuliya & Rieger, Jonas & Müller, Henrik & Jentsch, Carsten, 2022. "Text data rule - don't they? A study on the (additional) information of Handelsblatt data for nowcasting German GDP in comparison to established economic indicators," Ruhr Economic Papers 964, RWI - Leibniz-Institut für Wirtschaftsforschung, Ruhr-University Bochum, TU Dortmund University, University of Duisburg-Essen.
    19. Golyandina, Nina & Korobeynikov, Anton, 2014. "Basic Singular Spectrum Analysis and forecasting with R," Computational Statistics & Data Analysis, Elsevier, vol. 71(C), pages 934-954.
    20. Nikolaus Umlauf & Georg Mayr & Jakob Messner & Achim Zeileis, 2011. "Why Does It Always Rain on Me? A Spatio-Temporal Analysis of Precipitation in Austria," Working Papers 2011-25, Faculty of Economics and Statistics, Universität Innsbruck.

    More about this item

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:jss:jstsof:v:062:i02. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Christopher F. Baum (email available below). General contact details of provider: http://www.jstatsoft.org/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.