Prism Data Lab

Every analysis here ships its dataset and the code that produced every figure. Nothing on this site is investment advice.

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.