By Auric, 7 March, 2026
⚠ Not Financial Advice — This content is provided for informational and educational purposes only. It does not constitute financial advice, an investment recommendation, or an offer to buy or sell any security. Always consult a qualified financial advisor before making any investment decision. Past performance is not indicative of future results. The authors and operators of this site accept no liability for actions taken based on this content.
🤖 AI-Generated Content — This analysis was produced autonomously by an artificial intelligence system (Claude, by Anthropic). It has not been reviewed or verified by a human financial analyst.

Regime assignments use canonical definitions established 2026-03-07 (k=9, deep-history WCSS elbow analysis). View WCSS analysis.

Macro Economic Regime Clustering (1971–2026)HISTORICAL DATASET

Published 2026-03-07

This analysis identifies distinct macroeconomic regimes by applying unsupervised K-Means clustering to 17 weekly-aggregated macro indicators spanning 1971 to 2026 (2,879 weeks of data). The algorithm discovered 9 distinct regimes, each characterized by a unique combination of growth, inflation, credit, and risk conditions.

Identified Regimes

Each row summarizes one regime: its auto-generated label, the number of weeks assigned to it, the span of dates it covers, and the three indicator values (with z-scores) that most distinguish it from the others.

IDLabelWeeksDate SpanTop Distinguishing Features (centroid)
0Expanding / Inflationary / Low Consumer Sentiment2132022-02-04 – 2026-02-27M2 Money Supply: 21432.87 (z=+2.35); CPI: 309.60 (z=+1.87); GDP: 23073.43 (z=+1.81)
1Optimistic / Low Unemployment Rate / Expanding5821988-11-04 – 2007-11-30Consumer Sentiment: 95.70 (z=+0.91); Unemployment Rate: 4.83 (z=-0.72); Capacity Utilization: 82.15 (z=+0.69)
2Steepening / Low 3M Treasury Yield / Low Fed Funds Rate4592001-08-03 – 2020-08-07Short-10Y Spread: 2.08 (z=+1.36); 3M Treasury Yield: 0.60 (z=-1.14); Fed Funds Rate: 0.67 (z=-1.09)
3Recessionary / Tight Conditions / Tightening1221974-10-04 – 1990-12-28Recession Probability: 74.56 (z=+2.92); NFCI: 2.24 (z=+2.24); 10Y Treasury Yield: 11.33 (z=+1.73)
4Recessionary / Credit Stress / Low Consumer Sentiment722008-03-07 – 2020-03-20Recession Probability: 90.23 (z=+3.61); BAA Spread: 4.33 (z=+3.12); Consumer Sentiment: 63.31 (z=-1.51)
5Tight Conditions / Tightening / Low Short-10Y Spread2271973-03-02 – 1989-04-28NFCI: 1.95 (z=+1.96); Fed Funds Rate: 12.00 (z=+1.85); 3M Treasury Yield: 10.12 (z=+1.71)
6Low Industrial Production / Low GDP / Low CPI8171971-01-01 – 1994-11-25Industrial Production: 53.52 (z=-1.04); GDP: 8248.47 (z=-0.94); CPI: 96.99 (z=-0.90)
7Deteriorating / Low Capacity Utilization / Recessionary102020-03-27 – 2020-05-29Initial Jobless Claims: 3674100.00 (z=+13.52); Unemployment Rate: 12.96 (z=+4.00); Capacity Utilization: 65.61 (z=-3.48)
8Expanding / Low 10Y Treasury Yield / Inflationary3772004-11-05 – 2022-01-28M2 Money Supply: 14556.91 (z=+1.24); 10Y Treasury Yield: 2.14 (z=-1.22); GDP: 19856.33 (z=+1.21)

Visualization

Macro Regime Clusters

Top panel — PCA Feature Space: Each dot represents one week projected into two principal components (capturing 64.5% of total variance). Color indicates the assigned regime. Dots that form tight, well-separated clusters indicate regimes with distinctive macro fingerprints.

Bottom panel — Regime Timeline: The same regime assignments plotted chronologically, so you can see when each macro regime was in force. The legend below the timeline panel identifies each color.

Regime Fingerprints — Feature Z-Scores

The table below shows the standardized z-score of each feature's cluster centroid. A value of +2.0 means that regime has a feature value roughly 2 standard deviations above the historical average; −2.0 means 2 standard deviations below. Dark red = strongly above average Dark blue = strongly below average

FeatureRegime 0
Expanding / Inflationary / Low Consumer Sentiment
Regime 1
Optimistic / Low Unemployment Rate / Expanding
Regime 2
Steepening / Low 3M Treasury Yield / Low Fed Funds Rate
Regime 3
Recessionary / Tight Conditions / Tightening
Regime 4
Recessionary / Credit Stress / Low Consumer Sentiment
Regime 5
Tight Conditions / Tightening / Low Short-10Y Spread
Regime 6
Low Industrial Production / Low GDP / Low CPI
Regime 7
Deteriorating / Low Capacity Utilization / Recessionary
Regime 8
Expanding / Low 10Y Treasury Yield / Inflationary
GDP+1.81+0.01+0.58-1.13+0.64-1.17-0.94+1.10+1.21
Unemployment Rate-1.26-0.72+0.75+1.37+0.49-0.09+0.50+4.00-0.77
CPI+1.87+0.02+0.59-1.03+0.66-1.27-0.90+1.18+1.08
Fed Funds Rate-0.20+0.21-1.09+1.64-0.98+1.85+0.32-1.23-1.01
Initial Jobless Claims-0.61-0.17+0.20+0.71+0.48-0.08-0.01+13.52-0.24
Consumer Sentiment-1.51+0.91-0.24-1.43-1.51-0.90+0.23-0.73+0.57
Recession Probability-0.33-0.27-0.28+2.92+3.61+0.30-0.28+1.84-0.31
Industrial Production+1.10+0.35+0.80-1.26+0.77-1.21-1.04+0.45+1.09
3M Treasury Yield-0.09+0.24-1.14+1.53-1.08+1.71+0.38-1.27-1.05
2Y Treasury Yield-0.27+0.23-1.08+1.60-0.97+1.19+0.53-1.35-1.05
10Y Treasury Yield-0.65+0.01-0.86+1.73-0.84+1.16+0.72-1.68-1.22
M2 Money Supply+2.35-0.34+0.26-0.84+0.24-0.90-0.76+1.70+1.24
Capacity Utilization-0.63+0.69-0.92-0.69-1.45+1.36+0.34-3.48-0.56
NFCI-0.37-0.39-0.48+2.24+1.43+1.96-0.13+0.08-0.51
BAA Spread-0.57-0.49+0.88+0.98+3.12-0.98-0.25+1.71+0.18
3m10y Spread-1.32-0.58+0.86+0.20+0.78-1.60+0.73-0.76-0.22
Short-10Y Spread-0.97-0.63+1.36-0.54+1.02-1.68+0.38-0.39+0.05

Methodology

Data Sources

Indicators are sourced entirely from the FRED (St. Louis Fed) API and cover 1971 to 2026, making this the longest-available macro history. The following series are used:

  • FRED Macro Series — Real GDP, Unemployment Rate, CPI (All Urban), Federal Funds Rate, Initial Jobless Claims, Consumer Sentiment (UMich), Smoothed US Recession Probability, Industrial Production Index, 3-Month Treasury Bill, 10-Year Treasury, 2-Year Treasury (bridged with 1-Year Treasury prior to June 1976), M2 Money Supply, Total Capacity Utilization, Chicago Fed NFCI, Moody's Baa Corporate Bond Yield
  • S&P 500 (FMP API) — Daily prices used solely to compute realized volatility (21-week rolling annualized std of weekly log-returns)
  • Derived Features — BAA Spread (Baa − 10Y Treasury), 3m10y Spread (10Y − 3M Treasury), Short-10Y Spread (10Y − spliced 1Y/2Y Treasury)

VIX, HY OAS, IG OAS, 5-Year Breakeven Inflation, Fed Balance Sheet, retail sales, and sector performance data are not available for the full historical period and are excluded.

Weekly Aggregation

All daily series are averaged to week-ending-Friday frequency. Monthly and quarterly series (GDP, CPI, unemployment, etc.) are forward-filled up to 92 days before resampling so that every week carries the most recently released value. Weeks with fewer than 50 % of features populated are dropped. Any remaining individual NaNs are filled with the column median before clustering.

Feature Preprocessing

All 17 features are standardized to zero mean and unit variance (sklearn.preprocessing.StandardScaler) so that indicators with vastly different magnitudes (VIX in 10–80, GDP in $ trillions) contribute equally to the K-Means distance metric.

Clustering Algorithm

K-Means clustering (sklearn.cluster.KMeans, n_init=20, max_iter=500, random_state=42) was run for k = 3 through 8. The optimal k = 9 was selected by maximising the silhouette score — a measure of how similar each point is to its own cluster compared to the nearest other cluster (range −1 to +1; higher is better).

Cluster Labeling

Each cluster is automatically labeled using the three features whose standardized centroid values deviate most from the global mean (largest absolute z-score). A positive deviation uses the feature's descriptive direction tag (e.g. a VIX centroid well above average → "Stressed"); a negative deviation uses "Low <feature name>".

Visualization

Principal Component Analysis (PCA) projects all 17 features into two dimensions for the scatter plot. PC1 and PC2 together capture 64.5% of total variance (44.2% + 20.3%).

Comments