Methodology

Data Sources

FRED Macroeconomic Series

SeriesNameDescription
FEDFUNDSFed Funds RateFederal funds effective rate (%)
CPIAUCNSCPIConsumer Price Index
PPIACOPPIProducer Price Index
GDPGDPGross Domestic Product (quarterly, forward-filled)
UNRATEUnemploymentUnemployment Rate (%)
PAYEMSNonfarm PayrollsTotal Nonfarm Employment

Speech Data

2,421 US Federal Reserve speeches (1996-2025) from BIS/Gigando dataset with pre-computed sentiment labels.

Analysis Pipeline

Step 1: Rolling Standardization

12-month rolling window z-score standardization for comparability and stationarity.

Step 2: PCA Dimensionality Reduction

ComponentVarianceInterpretation
PC148.6%Macro Strength Index (Fed Rate, Payrolls +; Unemployment -)
PC223.2%Inflation Index (CPI, PPI +; Fed Rate -)

Step 3: Structural Break Detection

PELT algorithm with RBF kernel identifies structural breaks. Penalty = 4.

Step 4: Sentiment Aggregation

Monthly hawkish/dovish counts with 12-month rolling standardization.

Step 5: Rolling Regression

36-month rolling window OLS regression of sentiment on macro indices.

Key Parameters

ParameterValuePurpose
ROLLING_WINDOW12Months for standardization
REGRESSION_WINDOW36Months for rolling regression
PELT_PENALTY4Breakpoint sensitivity
RANDOM_STATE42Reproducibility seed