**Have a Question?**

**Phone:** +1 (888) 427-9486

+1 (312) 257-3777

Contact Us

# X-12-ARIMA

Seasonal adjustment is a statistical method for removing the seasonal component of a time series when analyzing non-seasonal trends. It is normal to report seasonally adjusted data for unemployment rates to reveal the underlying trends in labor markets. Many economic phenomena have seasonal cycles, such as agricultural production and consumer consumption (e.g. greater consumption leading up to Christmas). It is necessary to adjust for this component in order to understand what underlying trends are in the economy; thus, official statistics are often adjusted to remove seasonal components.

Different statistical research groups have developed different methods of seasonal adjustment, including the United States Census Bureau's X12 ARIMA, the Bank of Spain's TRAMO^{i}/SEATS^{i}, and STAMP, developed by a group led by S. J. Koopman. Each group provides software supporting their particular methods.

NumXL supports the modeling methodology for **X12 ARIMA in Excel**. X-12-ARIMA^{i} is the software produced, distributed and maintained by the United States Census Bureau.

Using the X-12 functionality in NumXL, you can reference the input data in the spreadsheet, specify the different options (e.g. prior adjustment, outlier treatment, etc.) of X12 ARIMA in Excel through an intuitive wizard, and display the seasonal-adjusted time series or forecast in Excel.

Behind the scenes, NumXL translates the user’s options into native X12 ARIMA scripts, runs the program and avails the outputs (e.g. seasonal adjusted trend, seasonal factor, irregulars, forecast) through a set of worksheet functions. Nevertheless, the user can view/access the generated input and output files using the NumXL wizard.

## regARIMA^{i} Model

The X12 ARIMA in Excel software comes with extensive time series modeling and model selection capabilities for linear regression models with ARIMA errors (regARIMA models).

The ARIMA models, as discussed by Box and Jenkins (1976), are frequently used for seasonal time series. A general multiplicative seasonal ARIMA model for a time series can be written:

Where:

- is the Lag
^{i}or the Backshift operator - is the seasonal period
- is the nonseasonal autoregressive (AR) model component
- is the seasonal autoregressive (AR) model component
- is the nonseasonal moving average (MA) model component
- is the seasonal moving average (MA) model component
- is the non-seasonal differencing operator of order d
- is the seasonal differencing operator of order D and seasonal period (s)

## Notes

- It is common to replace by deviations from the mean:

Where:

- operator yields a stationary time series.

A natural extension for the ARIMA model results from the use of a time-varying mean function modelled via linear regression effects.

Where:

- is the (dependent) time series
- are regression variables observed concurrently with
- are the regression parameters
- The time series of regression errors is assumed to follow the earlier ARIMA model:

As a result, the general regARIMA model supported by the program X12 ARIMA in Excel is:

## Files Examples

## References

- Hamilton, J .D.; Time Series Analysis , Princeton University Press (1994), ISBN 0-691-04289-6
- Tsay, Ruey S.; Analysis of Financial Time Series John Wiley & SONS. (2005), ISBN 0-471-690740