Skip to content

Latest commit

 

History

History
32 lines (21 loc) · 562 Bytes

README.md

File metadata and controls

32 lines (21 loc) · 562 Bytes

ez-shocks

Adapted from Jurado, Ludvigson, Ng (2015) using code supplied by Serena Ng at:

Generate macro uncertainty

  1. Clean and suitably transform data.
import_data.m
  1. Estimate number of latent factors in data and extract via PCA. Forecast macro variables and save prediction errors.
factors_forecast.m
  1. Estimate latent stochastic volatility in prediction errors
svydraws.R
svfdraws.R
  1. Compute uncertainty in variables and build aggregate index
uncertainty.m