Software:X-13ARIMA-SEATS

From HandWiki
Short description: Statistical algorithms for time series data analysis
X-13ARIMA-SEATS
Developer(s)U.S. Census Bureau
Stable release
3.0 (Windows) / June 15, 2020; 3 years ago (2020-06-15)
Operating systemWindows, Linux/Unix
TypeStatistical software
LicensePublic domain[1] (in the US; and copyright granted elsewhere)[2]
Websitewww.census.gov/data/software/x13as.html

X-13ARIMA-SEATS, successor to X-12-ARIMA and X-11, is a set of statistical methods for seasonal adjustment and other descriptive analysis of time series data that are implemented in the U.S. Census Bureau's software package.[3] These methods are or have been used by Statistics Canada, Australian Bureau of Statistics, and the statistical offices of many other countries.[4][5]

X-12-ARIMA can be used together with many statistical packages, such as SAS in its econometric and time series (ETS) package, R in its (seasonal) package,[6] Gretl or EViews which provides a graphical user interface for X-12-ARIMA, and NumXL which avails X-12-ARIMA functionality in Microsoft Excel.[7] There is also a version for MATLAB.[8]

Notable statistical agencies presently[when?] using X-12-ARIMA for seasonal adjustment include Statistics Canada,[9] the U.S. Bureau of Labor Statistics[10] and Census and Statistics Department (Hong Kong).[11] The Brazilian Institute of Geography and Statistics uses X-13-ARIMA.[12]

X-12-ARIMA was the successor to X-11-ARIMA; the current version is X-13ARIMA-SEATS.[13]

X-13-ARIMA-SEATS's source code can be found on the Census Bureau's website.[1]

Methods

The default method for seasonal adjustment is based on the X-11 algorithm. It is assumed that the observations in a time series, [math]\displaystyle{ Y_{t} }[/math], can be decomposed additively,

[math]\displaystyle{ \begin{align} \textit{Y}_{t} &= {T}_{t} + {S}_{t} + {I}_{t} \end{align} }[/math]

or multiplicatively,

[math]\displaystyle{ \begin{align} \textit{Y}_{t} &= {T}_{t} \times {S}_{t} \times {I}_{t}. \end{align} }[/math]

In this decomposition, [math]\displaystyle{ T_{t} }[/math] is the trend (or the "trend cycle" because it also includes cyclical movements such as business cycles) component, [math]\displaystyle{ S_{t} }[/math] is the seasonal component, and [math]\displaystyle{ I_{t} }[/math] is the irregular (or random) component. The goal is to estimate each of the three components and then remove the seasonal component from the time series, producing a seasonally adjusted time series.[14]

The decomposition is accomplished through the iterative application of centered moving averages. For an additive decomposition of a monthly time series, for example, the algorithm follows the following pattern:

  1. An initial estimate of the trend is obtained by calculating centered moving averages for 13 observations (from [math]\displaystyle{ t-6 }[/math] to [math]\displaystyle{ t+6 }[/math]).
  2. Subtract the initial estimate of the trend series from the original series, leaving the seasonal and irregular components (SI).
  3. Calculate an initial estimate of the seasonal component using a centered moving average of the SI series at seasonal frequencies, such as [math]\displaystyle{ t-24, t-12, t, t+12, t+24 }[/math]
  4. Calculate an initial seasonally adjusted series by subtracting the initial seasonal component from the original series.
  5. Calculate another estimate of the trend using a different set of weights (known as "Henderson weights").
  6. Remove the trend again and calculate another estimate of the seasonal factor.
  7. Seasonally adjust the series again with the new seasonal factors.
  8. Calculate the final trend and irregular components from the seasonally adjusted series.

The method also includes a number of tests, diagnostics and other statistics for evaluating the quality of the seasonal adjustments.

Copyright and conditions

The software is US government work, and those are in the public domain (in the US); for this software copyright has also been granted for other countries; the "User agrees to make a good faith effort to use the Software in a way that does not cause damage, harm, or embarrassment to the United States/Commerce."[2]

See also

References

  1. 1.0 1.1 "X-13ARIMA-SEATS Download Page (Unux/Linux Version) - X-13ARIMA-SEATS Seasonal Adjustment Program - US Census Bureau". https://www.census.gov/srd/www/x13as/x13down_unix.html. 
  2. 2.0 2.1 "Disclaimer". https://www.census.gov/srd/www/disclaimer.html. 
  3. "X-13ARIMA-SEATS Seasonal Adjustment Program". United States Census Bureau. https://www.census.gov/data/software/x13as.html. 
  4. "Time Series Analysis: Seasonal Adjustment Methods". November 14, 2005. https://www.abs.gov.au/websitedbs/d3310114.nsf/51c9a3d36edfd0dfca256acb00118404/c890aa8e65957397ca256ce10018c9d8!opendocument. 
  5. "Seasonally adjusted data – Frequently asked questions". 19 May 2015. https://www.statcan.gc.ca/eng/dai/btd/sad-faq. 
  6. "seasonal: R Interface to X-13-ARIMA-SEATS version 1.8.2 from CRAN" (in en). https://rdrr.io/cran/seasonal/. 
  7. "Implementation of the X-11 Seasonal Adjustment Method". https://v8doc.sas.com/sashtml/ets/chap21/sect21.htm. 
  8. "X-13 Toolbox for Seasonal Filtering" (in en). https://www.mathworks.com/matlabcentral/fileexchange/49120-x-13-toolbox-for-seasonal-filtering. 
  9. "Seasonal adjustment and trend-cycle estimation". https://www150.statcan.gc.ca/n1/pub/12-539-x/2009001/seasonal-saisonnal-eng.htm. 
  10. "BLS Handbook of Methods, Appendix A. Seasonal Adjustment Methodology at BLS". http://www.bls.gov/cpi/cpisahoma.htm. 
  11. "Statistics - by Subject". https://www.censtatd.gov.hk/hkstat/sub/sc30.jsp. 
  12. Nas Contas Trimestrais ibge.gov.br
  13. "X-13ARIMA-SEATS Seasonal Adjustment Program - US Census Bureau". https://www.census.gov/srd/www/x13as/. 
  14. Findley, David F.; Monsell, Brian C.; Bell, William R.; Otto, Mark C.; Chen, Bor-Chung (1998), "New Capabilities and Methods of the X-12-ARIMA Seasonal Adjustment Program", Journal of Business and Economic Statistics 16, https://www.census.gov/ts/papers/jbes98.pdf 

External links