Department of Labor Logo United States Department of Labor
Dot gov

The .gov means it's official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you're on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Using R in Seasonal Adjustment Production of Official Statistics

Brian Monsell

Abstract

This paper details my work at the Bureau of Labor Statistics in two areas - developing R packages for use in seasonal adjustment production, and evaluating several methods of seasonal adjustment for weekly time series. The packages I’m developing extract seasonal adjustment diagnostics from the output of the seasonal package, duplicate the functionality of the TERROR utility produced by Agustin Maravall, and generate diagnostic plots used by analysts at BLS. In addition, I have examined the use of R routines developed at the Federal Reserve Board (implementing the Cleveland method) and the creators of JDemetra+ (implementing a canonical decomposition of a fractional airline model) and compared them to the current method at use at BLS.