Interface to 'X12-ARIMA'/'X13-ARIMA-SEATS' and Structure for Batch Processing of Seasonal Adjustment

The 'X13-ARIMA-SEATS' <> methodology and software is a widely used software and developed by the US Census Bureau. It can be accessed from 'R' with this package and 'X13-ARIMA-SEATS' binaries are provided by the 'R' package 'x13binary'.

Build Status Coverage Status CRAN Downloads The R package x12 is used in combination with the X-12 ARIMA/X13-ARIMA-SEATS Seasonal Adjustment Program.

By default (since version 1.7.0) the x13binary R package is used to provide the binaries.

But a local/alternative version could also be used which can be downloaded from for Windows, Linux and as Source Code. After the installation the x13as.exe or the x13as executable should be on your system. The path to the executable is important it is set with the function x12path, e.g., x12path("d:/X12InstallationPath/x13as.exe") or x12path("/usr/bin/x13a").

X-13ARIMA-SEATS ( is the current version of the seasonal adjustment program of the US Census Bureau, it can also be used in connection with the R package x12, but at the moment the SEATS Spec is not included in the package at the moment, it is planned to include it in a future release.

On Mac OS X and Linux it is possible to compile x12a or x13as, the Makefile template 'makefile.lnx' has to be adapted and copied to Makefile afterwards 'make' should work to create the exexcutables.


--1.9.0 reading error from *.err.html / tests --1.7.0 R package x13binary is used by default, a different binary can still be used. --1.5.0 NA treatment was changed, the dat files will contain -99999 for missing values now (default value of X-12-ARIMA) --1.4.0 Bug concerning the span was fixed First version of parallelization for x12 on x12Batch objects introduced --1.3.0 Labeling of plot functions was improved ---1.2.0 x12work changed to not use sh or bat files (Suggestions by Peter Ellis) readSpc should be fixed according to the new names in x12Parameter spc,out,log,err will no longer be removed (only the gra directory) basic plot method for x12Batch data for X12-ARIMA is now save in .dat-Files ---1.1.0 Renaming X12 to x12 and the old x12 to x12work Various bug fixes concerning combination of parameters

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


1.9.3 by Alexander Kowarik, a year ago

Browse source code at

Authors: Alexander Kowarik <[email protected]> , Angelika Meraner

Documentation:   PDF Manual  

Task views: Official Statistics & Survey Methodology, Time Series Analysis, Official Statistics & Survey Statistics

GPL (>= 2) license

Imports stringr, methods

Depends on stats, utils, grDevices, x13binary

Suggests parallel, testthat

See at CRAN