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 (2005–2026)MODERN DATASET

Published 2026-03-07

This analysis identifies distinct macroeconomic regimes by applying unsupervised K-Means clustering to 22 weekly-aggregated macro indicators spanning 2005 to 2026 (1,105 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 Sentiment2042022-02-11 – 2026-03-06CPI: 310.67 (z=+1.76); Retail Sales: 602709.98 (z=+1.72); GDP: 28251.82 (z=+1.68)
1Optimistic / Low Unemployment Rate / Expanding0No occurrences in this datasetCapacity Utilization: 75.64 (z=+0.00); M2 Money Supply: 13343.34 (z=+0.00); Fed Balance Sheet: 4238813.48 (z=+0.00)
2Steepening / Low 3M Treasury Yield / Low Fed Funds Rate4402005-01-07 – 2020-08-28M2 Money Supply: 9096.01 (z=-0.80); GDP: 15442.62 (z=-0.78); CPI: 219.20 (z=-0.76)
3Recessionary / Tight Conditions / Tightening0No occurrences in this datasetCapacity Utilization: 75.64 (z=+0.00); M2 Money Supply: 13343.34 (z=+0.00); Fed Balance Sheet: 4238813.48 (z=+0.00)
4Recessionary / Credit Stress / Low Consumer Sentiment892007-12-07 – 2020-03-20Recession Probability: 75.14 (z=+2.89); NFCI: 1.27 (z=+2.83); HY OAS: 11.30 (z=+2.39)
5Tight Conditions / Tightening / Low Short-10Y Spread0No occurrences in this datasetCapacity Utilization: 75.64 (z=+0.00); M2 Money Supply: 13343.34 (z=+0.00); Fed Balance Sheet: 4238813.48 (z=+0.00)
6Low Industrial Production / Low GDP / Low CPI0No occurrences in this datasetCapacity Utilization: 75.64 (z=+0.00); M2 Money Supply: 13343.34 (z=+0.00); Fed Balance Sheet: 4238813.48 (z=+0.00)
7Deteriorating / Low Capacity Utilization / Recessionary102020-03-27 – 2020-05-29Initial Jobless Claims: 3674100.00 (z=+8.63); Unemployment Rate: 12.50 (z=+3.23); Industrial Production: 87.16 (z=-2.80)
8Expanding / Low 10Y Treasury Yield / Inflationary3622014-10-17 – 2022-05-13Consumer Sentiment: 90.71 (z=+0.88); 10Y Treasury Yield: 2.06 (z=-0.81); IG OAS: 3.12 (z=-0.81)

Visualization

Macro Regime Clusters

Top panel — PCA Feature Space: Each dot represents one week projected into two principal components (capturing 61.0% 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.68+0.00-0.78+0.00-0.92+0.00+0.00+0.14+0.23
Unemployment Rate-0.86+0.00+0.64+0.00+0.53+0.00+0.00+3.23-0.51
CPI+1.76+0.00-0.76+0.00-0.88+0.00+0.00+0.26+0.14
Fed Funds Rate+1.24+0.00-0.11+0.00-0.21+0.00+0.00-0.85-0.49
Initial Jobless Claims-0.39+0.00+0.07+0.00+0.29+0.00+0.00+8.63-0.17
Retail Sales+1.72+0.00-0.76+0.00-0.99+0.00+0.00-0.11+0.20
Consumer Sentiment-1.16+0.00+0.03+0.00-1.05+0.00+0.00-0.31+0.88
Recession Probability-0.29+0.00-0.29+0.00+2.89+0.00+0.00+2.19-0.26
Industrial Production+0.53+0.00-0.36+0.00-1.09+0.00+0.00-2.80+0.48
3M Treasury Yield+1.34+0.00-0.14+0.00-0.37+0.00+0.00-0.84-0.47
2Y Treasury Yield+1.22+0.00-0.12+0.00-0.20+0.00+0.00-1.07-0.46
10Y Treasury Yield+0.87+0.00+0.23+0.00+0.43+0.00+0.00-2.03-0.81
2s10s Spread-1.12+0.00+0.48+0.00+0.86+0.00+0.00-0.53-0.15
3m10y Spread-1.28+0.00+0.41+0.00+0.95+0.00+0.00-0.50+0.00
VIX-0.08+0.00-0.13+0.00+1.76+0.00+0.00+2.53-0.30
HY OAS-0.52+0.00-0.06+0.00+2.39+0.00+0.00+1.16-0.26
IG OAS+0.68+0.00-0.00+0.00+1.86+0.00+0.00-0.79-0.81
NFCI-0.07+0.00-0.27+0.00+2.83+0.00+0.00+0.78-0.35
5Y Breakeven Inflation+0.75+0.00+0.14+0.00-1.15+0.00+0.00-2.11-0.25
Fed Balance Sheet+1.36+0.00-0.74+0.00-1.10+0.00+0.00+0.83+0.38
M2 Money Supply+1.53+0.00-0.80+0.00-0.99+0.00+0.00+0.74+0.34
Capacity Utilization+0.18+0.00-0.14+0.00-1.28+0.00+0.00-2.38+0.45

Methodology

Data Sources

Indicators are loaded from pre-fetched S3 Parquet files collected via the Financial Modeling Prep (FMP) API and the FRED (St. Louis Fed) API. The following categories are used:

  • FMP Economic Indicators — GDP, Unemployment Rate, CPI, Federal Funds Rate, Initial Jobless Claims, Retail Sales, Consumer Sentiment, Smoothed US Recession Probabilities, Industrial Production Index
  • Treasury Yields & Spreads — 3-month, 2-year, and 10-year yields; derived 2s10s and 3m10y term-spread series
  • Market Volatility — CBOE VIX (implied vol of S&P 500 options)
  • FRED Series — ICE BofA HY OAS, IG OAS, Chicago Fed NFCI, 5-Year Breakeven Inflation, Federal Reserve Balance Sheet (WALCL), M2 Money Supply, Capacity Utilization

Sector performance data and the market risk premium snapshot were excluded. Bitcoin (BTCUSD) was excluded due to absent pre-2010 data.

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 22 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 22 features into two dimensions for the scatter plot. PC1 and PC2 together capture 61.0% of total variance (40.9% + 20.0%).

Comments