About
Treasury Yield Observatory
A developing empirical research instrument on how well monthly changes in the 10-year U.S. Treasury yield can be predicted, and how that changes across economic environments.
Research question
How well can we predict monthly changes in the 10-year U.S. Treasury yield, and how does predictive performance change across different economic and financial environments?
The longer-term aim is to study the relative predictive importance of inflation expectations, monetary policy, fiscal conditions, global capital flows, financial-market structure, oil prices and geopolitical uncertainty, and how that importance shifts over time. This first release establishes the data foundation and baseline models that later analysis will build on.
Why monthly changes in long-term yields
The 10-year Treasury yield is a benchmark for mortgage rates, corporate borrowing and the discounting of long-lived assets. Its level moves slowly and is dominated by long trends; its month-to-month changes are where news about inflation, policy, fiscal supply and risk appetite shows up. Changes are also a much harder and more honest forecasting target: a model can fit the level of a trending series well while knowing nothing useful about where it goes next.
Target and forecast timing
The target is the change in the monthly average of the daily 10-year constant-maturity yield (FRED series DGS10), from month t to month t+1, in basis points:
Δyt+1 = 100 × (yt+1 − yt)
A month's value for a daily series is the arithmetic mean of all trading-day observations in that calendar month. The month-end close is the last trading-day observation. Non-trading days, which FRED reports as ".", are dropped, never filled.
The forecast for month t+1 is made at the end of month t. Daily market series are used through the last trading day of month t. Macro series use only releases dated on or before the last calendar day of month t: actual ALFRED release dates where vintages are used, and an audited publication-lag rule otherwise. The scheduled job runs a few days into month t+1, because FRED posts daily yields one business day late, but it never uses information dated after the origin.
Because the target is a change in averages, part of it is mechanically predictable: if yields moved as a random walk from the month-end close, next month's average would be expected to equal that close. The "random walk from month-end" benchmark captures exactly this, and it is the benchmark the models must beat.
Data
All data are public and retrieved from the Federal Reserve Bank of St. Louis FRED and ALFRED APIs, which redistribute official series from the Federal Reserve Board, the Bureau of Labor Statistics, the Bureau of Economic Analysis, the Treasury and other sources. Every retrieval is stored unchanged with its retrieval time and a content hash, so each published result can be traced to the exact data behind it.
Macroeconomic data are revised after publication. Where ALFRED holds the full vintage history, each forecast uses the values as they were published on the forecast date. Where it does not, the current values are used with a publication lag, and that lag has been checked against ALFRED's release dates for the years where vintages exist.
The modeling sample begins with forecasts made at the end of 1981-10. The binding constraint is the Monthly Treasury Statement deficit series, which starts in October 1980 and is used as a trailing twelve-month sum.
Treasury yields
| Series | Used as | Timing | Since |
|---|---|---|---|
10-year Treasury yieldDGS10 daily, % |
Monthly mean of trading days (target) and month-end close. | Known by month-end Daily, one business day after the trading date. |
1962 |
2-year Treasury yieldDGS2 daily, % |
Monthly mean and month-end close. | Known by month-end Daily, one business day after the trading date. |
1976 |
Monetary policy
| Series | Used as | Timing | Since |
|---|---|---|---|
3-month Treasury bill rateDTB3 daily, % |
Monthly mean and month-end close. | Known by month-end Daily, one business day after the trading date. |
1954 |
Effective federal funds rateDFF daily, % |
Monthly mean of all reported days. | Known by month-end Daily, one business day after the reference date. |
1954 |
Inflation
| Series | Used as | Timing | Since |
|---|---|---|---|
Consumer Price Index, all items (NSA)CPIAUCNS monthly, Index 1982-1984=100 |
Year-over-year percent change computed within the vintage available at each origin. | Real-time vintages Monthly, around the middle of the following month. |
1913 |
Core CPI, less food and energy (NSA)CPILFENS monthly, Index 1982-1984=100 |
Year-over-year percent change. | 1-month publication lag Monthly, around the middle of the following month. |
1957 |
Inflation expectations
| Series | Used as | Timing | Since |
|---|---|---|---|
Michigan 1-year inflation expectationsMICH monthly, % |
Monthly survey value (final release). | 1-month publication lag Monthly. Preliminary mid-month and final near month-end. |
1978 |
Labor market
| Series | Used as | Timing | Since |
|---|---|---|---|
Unemployment rateUNRATE monthly, % |
Level and 3-month change, within the vintage available at each origin. | Real-time vintages Monthly, usually the first Friday of the following month. |
1948 |
Nonfarm payroll employmentPAYEMS monthly, Thous. of Persons |
3-month annualised log growth, within the vintage available at each origin. | Real-time vintages Monthly, usually the first Friday of the following month. |
1939 |
Real activity
| Series | Used as | Timing | Since |
|---|---|---|---|
Industrial production indexINDPRO monthly, Index 2017=100 |
12-month and 3-month annualised log growth, within each origin's vintage. | Real-time vintages Monthly, around the middle of the following month. |
1919 |
Credit conditions
| Series | Used as | Timing | Since |
|---|---|---|---|
Moody's Baa corporate bond yieldBAA monthly, % |
Spread over the 10-year Treasury monthly mean for the same month, and its monthly change, using the latest month available at the origin. | 1-month publication lag Monthly, published in the first days of the following month. |
1919 |
Oil
| Series | Used as | Timing | Since |
|---|---|---|---|
WTI crude oil spot priceWTISPLC monthly, $ per Barrel |
1-month and 12-month log change. | 1-month publication lag Monthly, typically a few weeks after month-end. |
1946 |
Fiscal conditions
| Series | Used as | Timing | Since |
|---|---|---|---|
Federal surplus or deficit (monthly)MTSDS133FMS monthly, Mil. of $ |
Trailing 12-month sum, expressed as a percent of nominal GDP (positive = deficit). | 1-month publication lag Monthly, around the eighth business day of the following month. |
1980 |
Nominal GDPGDP quarterly, Bil. of $ |
Used only as the denominator of the deficit ratio. Latest quarter available at the origin. | 1-month publication lag Quarterly; advance estimate about one month after the quarter ends. |
1947 |
Considered and not used yet
- PCE price index (headline and core)
PCEPI / PCEPILFE - Heavily revised, and ALFRED vintages begin only in 2000. Using them would mean either shortening the sample by two decades or backtesting on revised data. CPI covers the same inflation family in real time.
- Seasonally adjusted CPI
CPIAUCSL / CPILFESL - Revised annually for new seasonal factors. The NSA series with year-over-year changes avoid that.
- 10-year breakeven inflation
T10YIE - Available only from 2003, and derived from TIPS, which were illiquid in their early years. A strong candidate for an extended, post-2003 specification.
- CBOE VIX
VIXCLS - Available only from 1990. Candidate for an extended specification.
- Broad trade-weighted dollar index
DTWEXBGS - Available only from 2006, and the predecessor index was discontinued.
- Economic policy uncertainty index
USEPUINDXM - Available only from 1985, and news-based indices can change retroactively as source archives change. Deferred.
- Geopolitical risk index (Caldara and Iacoviello)
GPR - Not on FRED; distributed as a spreadsheet from the authors' site. Deferred until a stable machine-readable source is wired in.
- Chicago Fed National Financial Conditions Index
NFCI - Re-estimated every week, so historical values change after the fact. The Baa spread is used instead.
- Kim-Wright 10-year term premium
THREEFYTP10 - A model estimate built partly from the target yield itself, and re-estimated over time.
- Federal debt outstanding
GFDEBTN - Quarterly, slow-moving, and published with a lag. The trailing deficit captures the flow of new supply.
- Treasury International Capital foreign holdings
TIC - Published with a six-to-seven-week lag, revised, and distributed outside FRED in several formats. Deferred until the core pipeline is established.
- 30-year Treasury yield
DGS30 - Not published from February 2002 to February 2006, which breaks the series.
- FRED monthly aggregates of the daily series
GS10 / TB3MS / FEDFUNDS / BAA10YM - The project computes monthly means from the daily data itself, so one convention applies throughout.
Models
Two designs answer different questions, and their results are kept separate.
- Frozen model. Fitted once on forecasts made 1981-10 to 2012-12 and never retrained. It shows how well relationships estimated in an earlier environment carry into later ones.
- Adaptive model. Retrained every month on an expanding window of all earlier data, with hyperparameters re-tuned each time using only that data. It shows what can be learned when the model is allowed to update.
Each design chooses between two deliberately simple algorithms: a ridge regression (with median imputation and standardisation fitted inside each training window) and a shallow histogram gradient-boosting model. The choice is made on the validation period, 2004-01 to 2012-12, never on the test period. Three benchmarks run alongside: no change, the historical mean, and the random walk from month-end.
Evaluation protocol
- Splits are chronological and were fixed before any model was fitted to the real data: training 1981-10–2003-12, validation 2004-01–2012-12, test from 2013-01 onward. Observations are never shuffled.
- A forecast made at the end of month t is trained only on targets observed by then.
- Reported metrics are out-of-sample test results only: mean absolute error and root mean squared error in basis points, the share of months with the correct direction, and RMSE relative to the random-walk benchmark.
- Differences from the benchmark are tested with a Diebold–Mariano test. Small differences, and anything within the short five-year subperiods, should not be read as meaningful without that evidence.
- Historical test predictions were generated retrospectively, using the data vintages available at each date. From the first live month onward, each new forecast is recorded when it is made and never altered.
Prediction is not causation
This is a predictive study. A variable that improves forecasts may be a proxy for something else, may matter only in some periods, or may predict yields because markets react to the same news. Nothing on this site identifies the causal effect of any factor on Treasury yields.
Limitations
- Revised data. Real-time vintages are used where available, but a few series rely on audited publication-lag rules and today's values. Nominal GDP, used only to scale the deficit, is revised by a few percent of its level.
- Backtests are not track records. Even with real-time data, the historical predictions were produced in 2026 by a design chosen with knowledge of the economics literature. Only live forecasts are free of hindsight.
- Small samples. Monthly data give roughly 540 usable observations since 1981, and far fewer within any one regime.
- Missing releases. Some data were never published, such as October 2025 CPI during the federal government shutdown. Features that depend on them are left missing, not filled in.
- Narrow information set. Breakeven inflation, volatility, the dollar, foreign holdings and geopolitical risk are excluded from this release, mostly because their histories are short.
Research agenda
- Extended specifications with post-2003 market data such as breakeven inflation.
- Attribution of predictive importance over time, and whether it shifts across regimes.
- Treasury supply and foreign demand from Treasury and TIC data.
- Monitoring of public explanations for yield moves, kept separate from the numerical results.
Who makes it
Cem Karaman builds and maintains this project. Monthly research notes on the blog are written by hand from the published results; the update pipeline publishes numbers only and never writes interpretation.