GDPC1 {neverhpfilter}R Documentation

Gross Domestic Product

Description

GDPC1 Real Gross Domestic Product

Usage

data(GDPC1)

Format

An xts object of Real Gross Domestic Product.

Notes

Real gross domestic product is the inflation adjusted value of the goods and services produced by labor and property located in the United States.

For more information see the Guide to the National Income and Product Accounts of the United States (NIPA) - https://www.bea.gov/resources/methodologies/nipa-handbook.

BEA Account Code: A191RX

Source

U.S. Bureau of Economic Analysis https://fred.stlouisfed.org/data/GDPC1.txt

Examples

data(GDPC1)
log_RGDP <- 100*log(GDPC1)

gdp_cycle <- yth_filter(log_RGDP, h = 8, p = 4, output = c("cycle", "random"), family = gaussian)

main <- "Log of Real GDP cycle and random walk"
plot(gdp_cycle, grid.col = "white", legend.loc = "topright", main = main)

[Package neverhpfilter version 0.4-0 Index]