Data Analysis
A question, a public dataset, the code, and the answer, with every figure reproducible.
Data Analysis is the core of this site: one question, one public dataset, the code, and the answer, with every figure reproducible from the CSV and script the note ships. Most of the series come from FRED, and each note says which series and dates it used and what the data cannot tell you.
The nine notes fall into three groups. Rates and the economy: every 10-year minus 2-year inversion since 1976, dated with depth, duration and what followed; the Sahm rule, recomputed and checked against the real-time series and NBER dates, including the 2024 trigger with no recession; the real fed funds rate decade by decade since 1955; the mortgage spread over the 10-year, every survey week since 1971; and M2 and inflation, with the lags and the limits. Markets: VIX closes above 30, counted year by year since 1990, and correlation instability between rates, equities and the dollar, with a simulation that separates a real regime change from sampling noise. Testing honestly: an event study around 199 FOMC announcements, where three of twenty tests looked significant and none survived a Bonferroni correction, and month-of-year effects, where a 5 percent false discovery rate keeps 4 of 60 tests, all of them gasoline.
If you are new here, start with the inversion note, which shows the method plainly on a question most readers already know. The statistics behind the last two notes are explained in Methods, and the scripts for pulling the series in Data Sources.
-
Month-of-year effects in market data, under a false discovery rate
Sixty month-of-year tests on the Nasdaq, Treasuries, oil, gasoline and natural gas: 10 pass at p < 0.05, and a 5% false discovery rate keeps 4, all gasoline.
-
An event study around 199 FOMC announcements, honestly scored
Rates, VIX and the Nasdaq in a five-day window around every FOMC statement since 2003, with permutation tests, a multiple-testing correction, and what survives it.
-
Correlation instability: rates, equities, and the dollar since 2006
Rolling 126-day correlations between the 10-year yield, equities, and the dollar, with a simulation that separates a real regime change from sampling noise.
-
The 10-year minus 2-year spread since 1976: every inversion, dated
Every inversion of the 10-year minus 2-year Treasury spread since the 2-year series began in 1976, with dates, depth, duration, and what followed, from FRED.
-
VIX regimes: how often the index closes above 30, by year since 1990
VIX closes above 20, 30 and 40 for every year since 1990, plus every episode of closes above 30 with its dates, counted from FRED through November 2026.
-
Sahm rule from FRED data: unemployment and recessions since 1960
The Sahm rule recomputed from the unemployment rate in Python and checked against the real-time series and NBER dates, including the 2024 trigger with no recession.
-
Mortgage rates and the 10-year Treasury: the spread since 1971
The 30-year fixed mortgage rate minus the 10-year Treasury yield, every survey week since 1971, by decade and year, with the widest and narrowest weeks.
-
M2 and inflation since 1960: what the data shows and what it does not
Twelve-month M2 growth against CPI inflation from 1960 to July 2026: lagged correlations by period, the 2021 peak, the 2023 contraction, and the limits.
-
Fed funds versus CPI since 1955: the real rate, decade by decade
The fed funds rate minus inflation by headline CPI, core CPI, PCE and core PCE, decade by decade since 1955, with months below zero and the latest reading.