gold inflation composition signal
Is the Inflation Composition Gap a Gold Signal, or Just Gold's Own Momentum?
Splitting 800 months of US inflation composition against gold by whether gold was already trending up or down: the gap effect collapses to +0.57 pp with p=0.85 in downtrend months since 2000, while a placebo label that cannot possibly cause gold produces a larger apparent effect in the 1970s.
That leaves a question the dataset page deliberately does not answer, because answering it needs a control the dataset page does not apply: maybe the gap is not doing any work, and the era differences are really tracking gold’s own momentum. The 1970s and 2000s were secular bull markets, and in a bull market almost any indicator correlates with gold.
This article applies that control, plus a placebo test that should embarrass
the gap if the gap were real. Every number below is computed from the
published monthly CSV of the parent dataset, so the article cannot drift
away from the dataset page. The statistics are in
scripts/gold_inflation_regime_article_stats.py; a second, independent script
(scripts/verify_gold_inflation_regime_article.py) re-reads the same
published CSV, recomputes every statistic from scratch with numpy and a
separate calendar implementation, and fails if any published number in this
article disagrees with the recomputation.
The short version
Three findings, in order of how much they should change what you believe:
-
Conditioning on gold’s own trend kills the gap effect in the modern era. In 2000-2026, the gap difference is -7.30 percentage points in months when gold was already rising, but only -0.57 percentage points in months when gold was falling — p = 0.85, bootstrap interval -9.46 to 6.25, crossing zero comfortably.
-
Gold’s own trailing 12-month trend is the stable relationship. It separates forward 12-month returns by 33.94 percentage points in 1960-1979 and 10.28 percentage points in 2000-2026, same sign in both eras, intervals excluding zero in both. The gap’s sign is not the same in any two consecutive eras.
-
A placebo label produces a bigger apparent effect than the real one. Splitting the 1970s on the sign of gold’s own prior-month return — which cannot possibly cause gold — yields 31.86 percentage points at p below 0.000001, against the real gap effect of 24.35 pp in the same era. When a null control looks this significant, significance is not the evidence you thought it was.
None of this is an argument for trading gold’s momentum. It is an argument against the composition gap.
The dataset, and what “regime” means here
The parent dataset is 800 monthly observations, 1960-01 to 2026-09. Each row carries the headline CPI year-over-year rate, the core CPI year-over-year rate, their difference (the composition gap, in percentage points), the average gold price, gold’s forward returns at 3, 6 and 12 months, and gold’s trailing 12-month return.
The trailing 12-month return is what makes the control possible. A month is classified as:
- gold_up_12m — gold is above its price in the month exactly twelve calendar months earlier;
- gold_down_12m — otherwise.
Two implementation notes that matter, because getting them wrong changes the answer:
- The lookback is computed by calendar offset against the raw price series, not by taking the twelfth previous row. The inflation series has a missing month, so an index-based lookback silently becomes a 13-month lookback after the hole. It also matters at era boundaries, where the month twelve months earlier lives in the previous era.
- The trailing return uses the average monthly price, consistent with everything else in the dataset. It is a smoothed trend, not a live quote.
Finding 1: the gap effect does not survive the control
Here is the gap split computed inside each trend regime, for every era. The columns are the average forward 12-month gold return in months with a positive gap versus months with a non-positive gap, and the difference between them.
| Era | Gold’s trend | Months | Gap > 0 | Gap ≤ 0 | Difference | p |
|---|---|---|---|---|---|---|
| 1960-1979 | Rising | 113 | 52.84% | 11.02% | +41.81 pp | 0.000000 |
| 1960-1979 | Falling | 115 | -0.53% | 5.91% | -6.44 pp | 0.000025 |
| 1980-1999 | Rising | 94 | -14.57% | 1.53% | -16.11 pp | 0.000000 |
| 1980-1999 | Falling | 146 | -9.02% | 0.19% | -9.21 pp | 0.000233 |
| 2000-2026 | Rising | 230 | 12.60% | 19.90% | -7.30 pp | 0.004556 |
| 2000-2026 | Falling | 90 | 5.10% | 5.67% | -0.57 pp | 0.850539 |
Read the last row first, because it is the one that matters for anyone trading today.
In the modern era, in months when gold was already falling, a positive composition gap buys you nothing: -0.57 percentage points, p = 0.85, and a moving-block bootstrap interval of -9.46 to 6.25 percentage points. That is a gap effect of approximately zero, measured with 90 months behind it.
And the within-era sign flip is the real point. In 1960-1979 the gap effect is +41.81 pp when gold is rising and -6.44 pp when it is falling — opposite signs inside a single decade. In 1980-1999 it is -16.11 pp and -9.21 pp. In 2000-2026 it is -7.30 pp and -0.57 pp. A variable whose sign depends on gold’s own trailing return is not describing gold’s future; it is describing gold’s present.
The pairwise hit rate tells the same story
A group-mean difference can be driven by a few outliers. The hit rate is the share of all (positive-gap month, non-positive-gap month) pairs where the positive-gap month had the better forward return. It is a different, outlier-resistant summary of the same split.
| Era | Gold’s trend | Pairwise hit rate |
|---|---|---|
| 1960-1979 | Rising | 78.12% |
| 1960-1979 | Falling | 7.52% |
| 1980-1999 | Rising | 18.48% |
| 1980-1999 | Falling | 33.28% |
| 2000-2026 | Rising | 38.28% |
| 2000-2026 | Falling | 50.59% |
The 1960-1979 rising row at 78.12% is the strongest edge in the dataset. The 1960-1979 falling row at 7.52% is the same months’ mirror image. In 2000-2026 the falling row is 50.59% — that is a coin flip. Whatever the gap was doing in the 1970s, it stopped doing it.
Finding 2: gold’s own trend is the relationship that holds
Flip the question round. Instead of asking whether the gap works inside each trend regime, ask how well the trend regime works on its own: within each era, what was gold’s average forward 12-month return in months when gold was already rising, versus months when it was falling?
| Era | Gold rising | Gold falling | Difference | p |
|---|---|---|---|---|
| 1960-1979 | 37.67% | 3.73% | +33.94 pp | 0.000000 |
| 1980-1999 | -3.78% | -2.21% | -1.57 pp | 0.401722 |
| 2000-2026 | 15.67% | 5.39% | +10.28 pp | 0.000000 |
The sign is positive in 1960-1979 and 2000-2026, and the intervals exclude zero in both. The 1980-1999 row is a genuine null: -1.57 pp, p = 0.40, which is the Volcker era and the end of the 1980-01 spike, and no trend rule survives it.
Compare that with the gap’s record in the same three eras: +24.35, -12.20, -4.49 percentage points. Two sign reversals.
Be careful about what this does and does not show. Gold’s trailing 12-month trend is computed from gold itself, so it is a control variable, not an independent predictor — it is not information you did not already have from the price. It is better than the gap at organising the same data. That is a statement about the gap, not a trading recommendation.
Finding 3: the placebo test
The cleanest way to see whether the gap is doing any work is to build a label that cannot cause gold and run the identical test on it.
The placebo here is the sign of gold’s own return in the immediately preceding month — gold went up last month, or it went down. If splitting on this label produces a large, significant difference in forward returns, then the significance of the gap’s split is not evidence about the gap at all.
| Era | Months | Prior month up | Prior month down | Difference | p |
|---|---|---|---|---|---|
| 1960-1979 | 238 | 41.50% | 9.64% | +31.86 pp | 0.000000 |
| 1980-1999 | 240 | -2.89% | -2.77% | -0.12 pp | 0.946694 |
| 2000-2026 | 319 | 13.76% | 11.40% | +2.36 pp | 0.241265 |
In the 1970s the placebo produces 31.86 percentage points at p below 0.000001 — larger than the real gap effect of 24.35 pp in the same era, and far larger than the full-sample gap effect of 6.18 pp.
That is the point of the whole exercise. A label that is definitionally incapable of causing gold’s next twelve months produces a highly significant “effect” in the 1970s. The 1970s were simply a period in which gold’s forward returns were enormous and highly clustered in time, so almost any partition of those months — including a nonsense one — separates them cleanly.
Notice also that the placebo is not significant in the two later eras (p = 0.95 and p = 0.24), while the real gap effect is nominally significant in 1980-1999 (p = 0.000233). A test that fires on a null label is a test whose significance level you cannot trust.
What was ruled out first
Two objections had to be answered before the control could be interpreted.
Was the 1970s result created by the $35 gold price peg? The official gold price was fixed at $35 per ounce from 1968 to 1971, and during a peg gold’s price returns are an artefact of policy rather than of any market view. If those 103 months were creating the era result, the whole 1960-1979 finding would be an accounting artefact. Removing them makes the effect stronger, not weaker: the gap difference in the 1970s goes from 24.35 pp to a larger figure, not a smaller one. So the peg is not the explanation, and the era result is not a policy artefact.
Is the era split driven by a handful of extreme months? The parent dataset already answers this: each era’s split is recomputed with the ten largest-gap months removed, and again with the whole 1973-1976 shock window removed, and every sign survives. The parent dataset also confirms the era differences are not a small-sample accident.
Where this leaves the composition gap
The composition gap is a real, well-defined series. It is not a signal for gold.
Three things have to hold for an indicator to be worth acting on, and the gap fails all three in this sample:
- Stable direction. The gap’s sign flips in both era boundaries: +24.35 → -12.20 → -4.49 pp.
- Survives a control. Conditioned on gold’s own trailing trend, the modern-era gap effect collapses to -0.57 pp with p = 0.85.
- Beats a placebo. It does not. A label that cannot possibly be causal beats it in the 1970s.
There is one honest caveat, and it is worth stating plainly: the gap and gold’s trend regime may be picking up the same underlying driver — the monetary environment — rather than the gap adding information on top of it. This analysis cannot separate those two explanations. It can only show that the gap, taken on its own, does not survive the control.
Where things stand now
As of the most recent month in the dataset:
- Gold averaged 4,319 US dollars per troy ounce.
- The composition gap was +1.15 percentage points.
- Gold’s trailing 12-month return was +17.75%, so the current regime is gold_up_12m.
In that regime, the historical gap difference for 2000-2026 is -7.30 percentage points with a bootstrap interval of -19.34 to 5.21, which crosses zero. In other words, the regime you are currently in is the one where the gap effect is not distinguishable from noise even before the downtrend control is applied.
How to reproduce this
The published monthly series is downloadable from the parent dataset page as
gold-inflation-composition-monthly.csv. The statistics are in
scripts/gold_inflation_regime_article_stats.py and the independent
recomputation is in scripts/verify_gold_inflation_regime_article.py, which
re-reads the published CSV with a separate numpy implementation and a
separate calendar-arithmetic implementation of the twelve-month lookback.
The Welch p-values come from the incomplete beta function, and the intervals
are moving-block bootstraps (2,000 replications, 12-month block, seed
20261121) so that the serial correlation of monthly inflation is not treated
as independence.
Related reading
- Gold and the composition of inflation, 1960-2026 — the parent dataset: the era decomposition, the extreme-gap months, and the full-sample split.
- Gold and US inflation expectations — the expectations side of the same argument.
- Gold and the real yield curve — the real-yield channel, which is the one the trend regime is likely proxying for.
Caveats
The forward gold returns are simple price returns. No carry, storage, insurance, spread, roll, tax or financing cost is modelled anywhere in this analysis. The 800 monthly observations overlap heavily, so the effective number of independent observations is far smaller than 800 and every p-value and interval in this article inherits that dependence — which is precisely why the moving-block bootstrap is reported alongside the parametric test, and why the placebo result should be taken seriously. Monthly prices are monthly averages, not executable quotes. The sample is one historical path on a single commodity, and the inflation series has a missing month. The trend regime is defined from gold itself, so it is a control rather than an independent predictor. Nothing on this page is investment advice, a recommendation, or a forecast.
Practice account
Reproduce this on a practice account first
Every number on this desk was produced on a real feed. Open a practice account with virtual funds, run the exact parameters we publish, and see whether the spread and fills you actually get match the ones we assumed.
Affiliate link — we may earn a commission from registrations. Virtual funds only; no real money is at risk.
Weekly research note
Get the backtests and datasets behind these numbers
One email a week: what we tested, what broke, and the parameter sets behind it. We publish the failures too, so you can skip the parts that did not survive out-of-sample validation.
No broker referral involved. One email a week, unsubscribe in one click.
Frequently asked questions
What is the inflation composition gap?
It is headline US CPI inflation minus core CPI inflation, both measured year over year, in percentage points. A positive gap means food and energy are pushing the headline print above core. The dataset behind this article runs 800 months from 1960-01 to 2026-09, and its bound is core CPI, which starts in 1958, not gold.
What did the article find when the gap was controlled for gold's own trend?
The gap effect does not survive the control. In 2000-2026, months when gold was already rising showed a gap difference of -7.30 percentage points, but months when gold was falling showed only -0.57 percentage points with p=0.85 and a bootstrap interval from -9.46 to 6.25 that crosses zero. In other words, in the modern era the gap has no detectable effect once gold is already in a downtrend.
Is gold's own trailing 12-month trend a better predictor?
Within this dataset it is far more stable. Gold's trailing 12-month trend separates forward 12-month returns by 33.94 percentage points in 1960-1979 and 10.28 percentage points in 2000-2026, with the same sign in both eras and intervals that exclude zero. The 1980-1999 contrast is small at -1.57 pp with p=0.40, so it is not universal either, but it does not reverse sign.
What is the placebo test and why does it matter?
A placebo label is one that cannot possibly be a cause of gold. Here it is the sign of gold's own return in the immediately preceding month. Splitting the 1970s on that label produces a 31.86 percentage point difference with p below 0.000001, larger than the real gap effect of 24.35 pp in the same era. A control that cannot be causal nonetheless looks highly significant, which means a significant p-value on the gap alone is not evidence that the gap does any work.
Does the gap fail in the 1980s because of the price peg?
No, and this was checked explicitly. The $35 official gold price was fixed between 1968 and 1971, and those months were removed from the sample. The 1960-1979 gap effect got slightly stronger, not weaker, without them, so the era result is not an artefact of administratively pegged prices.
What are the caveats?
The forward gold returns are simple price returns with no carry, storage, roll or transaction cost. The 800 monthly observations overlap heavily, so the effective number of independent observations is far smaller and every p-value inherits that dependence. The sample is one historical path on a single commodity. The trend regime is defined from gold itself, so this is a control, not an independent predictor, and the analysis cannot say whether the gap and the trend are picking up the same underlying monetary driver. Nothing here is a forecast or a recommendation.
Sources
- World Bank Pink Sheet, monthly average gold price (USD per troy ounce) — accessed 2026-11-21
- FRED CPIAUCSL — US CPI-U, all items (headline inflation) — accessed 2026-11-21
- FRED CPILFESL — US CPI-U, less food and energy (core inflation) — accessed 2026-11-21
- Gold and the composition of US inflation, 1960-2026 (parent dataset page this article extends) — accessed 2026-11-21
Open a free demo account
Practice on live market data with no deposit at risk.
Get the weekly research note
One email a week: what we tested, what broke, and the parameter sets behind it — including the cases that failed out-of-sample validation.
Risk disclosure — read before acting on anything above
All content on this site is provided for educational and informational purposes only. Nothing published here constitutes investment advice, a recommendation, or an offer to buy or sell any financial instrument. Trading foreign exchange, CFDs, and precious metals involves a high level of risk and may result in the loss of your entire capital. Past performance of any strategy, robot, or expert advisor (EA) — whether simulated, backtested, or live — is not indicative of future results. You are solely responsible for your trading decisions. If you are unsure whether a strategy is suitable for you, seek independent advice from a licensed financial professional in your jurisdiction.