Learn R Programming

neverhpfilter (version 0.5-0)

USREC: Recession Indicators Series

Description

USREC NBER based Recession Indicators for the United States from the period following the peak through the trough.

Usage

data(USREC)

Arguments

Format

An xts object containing monthly observations of NBER-based Recession Indicators.

**Release:**

Recession Indicators Series (Not a press release)

**Seasonal Adjustment:**

Not Seasonally Adjusted

**Frequency:**

Monthly

**Units:**

Binary indicator (1 = recession, 0 = expansion)

**Date Range:**

1854-12-01 to 2025-07-01

Notes

This time series is an interpretation of U.S. Business Cycle Expansions and Contractions data provided by The National Bureau of Economic Research (NBER) at http://www.nber.org/cycles/cyclesmain.html.

The series is composed of dummy variables that represent periods of expansion and recession. A value of 1 indicates a recessionary period, while a value of 0 indicates an expansionary period.

The NBER identifies months and quarters of turning points without designating an exact date within the period that turning points occurred. For this time series, the recession begins the first day of the period following a peak and ends on the last day of the period of the trough.

Three methods of interpretation are used for converting peak/trough dates into shaded recession data:

  • Midpoint method — recession spans midpoints of peak and trough.

  • Trough method — recession spans from period following the peak through the trough (used for this series and in FRED).

  • Peak method — recession spans from peak through the period preceding the trough.

Examples

Run this code
data(USREC)
USREC["2007/2009"]
plot(USREC["1947/"], grid.col = "white", col = "red")

Run the code above in your browser using DataLab