Hamilton_table_2 | R Documentation |
Standard deviation of cyclical component and correlation with cyclical component of GDP for assorted macroeconomic series.
data("Hamilton_table_2")
A data.frame
containing 13 economic time series observations
of 5 variables:
Standard deviation of the cycle component,
computed with function yth_filter(x, output = "cycle")
.
Correlation of cycle.sd
with the cycle.sd of
100 * log(RealGDP)
.
Standard deviation of a random walk, computed by
rolling differencing the series by period h
, the same h
passed
to yth_filter(x, output = "cycle")
to compute cycle.sd
.
Correlation of random.sd
with the random.sd
of 100 * log(RealGDP)
.
Filtered series were based on the full sample available for that variable, while correlations were calculated using the subsample of overlapping values for the two indicators. Note that the regression residuals lose the first 11 observations and the random-walk calculations lose the first 8 observations.
Hamilton, James D. (2018). *Why You Should Never Use the Hodrick-Prescott Filter*, pg. 40. http://econweb.ucsd.edu/~jhamilto/hp.pdf
print(Hamilton_table_2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.