# Conditional downside risk with origin-vintage macroeconomic data

The full model’s average loss-probability error was 4.6% lower than the simple Bayesian baseline and 4.1% lower than the volatility-only model. These are exploratory historical results, not established prospective accuracy.

The requested test is 2000–2025. The matched comparison includes 175 months, 2011-04 through 2025-12, with 15 realized losses exceeding 5%. 137 requested months lack the complete current data or 60 preceding complete-case training months. Failed numerical fits: 0. Earlier price-only studies remain separate.

## Target and primary score

The event is SPY monthly adjusted total return strictly below −5%, defined from the preceding month’s last available close through the target month’s last close. The primary score is Brier = (predicted probability − event indicator)². Lower is better; it is not an accuracy percentage. Log score and distributional CRPS are additional checks. Ranges are nominal 90% posterior predictive intervals, not best/worst limits.

## Matched results

The full model’s mean 90% range width was 13.73 return points versus 13.35 for the baseline. Its interval score was 0.17857 versus 0.17551 (lower is better). A gain in the primary loss-probability score is not a uniform improvement in every metric.

| Model | Months | Brier ↓ | Log score ↓ | CRPS ↓ | 90% coverage |
|---|---:|---:|---:|---:|---:|
| Simple Bayesian return model | 175 | 0.07917 | 0.32495 | 0.02235 | 88.0% |
| Conditional risk: volatility only | 175 | 0.07877 | 0.30968 | 0.02226 | 88.6% |
| Conditional risk: all four inputs | 175 | 0.07554 | 0.30153 | 0.02200 | 91.4% |
| All inputs except inflation | 175 | 0.07913 | 0.31643 | 0.02220 | 88.6% |
| All inputs except interest rates | 175 | 0.07569 | 0.30004 | 0.02203 | 90.9% |
| All inputs except credit stress | 175 | 0.07526 | 0.29836 | 0.02202 | 90.3% |
| All inputs except volatility correction | 175 | 0.07627 | 0.31394 | 0.02247 | 91.4% |
| Historical loss-frequency reference | 175 | 0.08047 | 0.30266 | — | —% |

All models use the same completed training months and test dates. The loss-frequency reference has a Beta(1,1) prior and forecasts only the event probability, so no return-distribution score is defined for it. Ablations remove one risk input at a time; they are retained regardless of their scores.

## Data availability and definition

Every training-month feature comes from the archive available at that historical training origin. It is not reconstructed from the latest outer-fit archive. ALFRED vintages are requested one calendar day before the prior market close and the returned vintage headers are checked. Interest-rate observations additionally lag the close by at least seven calendar days. Missing archives remain missing.

Inputs:
- Recent volatility: log of the preceding 63-session SPY daily log-return standard deviation, bounded to [0.0005,0.2]. The known return normalizer is that standard deviation times sqrt(21).
- Inflation: year-on-year percentage change in CPIAUCSL using the most recent computable pair of CPI months twelve months apart in the same origin vintage. Values must be no more than 95 days old.
- Interest rates: average of the last 20 available daily effective federal funds rate (DFF) observations at least seven calendar days before the close.
- Credit/funding stress: average of the last 20 matching DCPF3M minus DTB3 observations, also at least seven days old. Both rates are quoted on a discount basis; the spread is in percentage points. This is a short-term funding proxy, not all credit risk.

ALFRED’s DCPF3M vintage metadata begins March 22, 2006, despite the series containing earlier observations in later archives. Earlier observations were not backfilled into earlier-origin records. Sixty complete training months move the start of the matched test into 2011. This prevents treating retrospectively retrieved history as proven available earlier.

Canonical JSON snapshots retain the exact date/value slices used by the protocol. The manifest records their hashes, raw response hashes and retrieval URLs. Raw multi-frequency export caches are retained locally; the downloadable source package contains canonical slices and a reproducer. Sources are public-domain BLS/Federal Reserve series with attribution. SPY adjusted prices remain revised vendor data.

## Bayesian conditional variance model

Let r_i be monthly SPY log growth and s_i the preceding 63-session daily volatility times sqrt(21). Set y_i = r_i/s_i. Let z_i contain the selected covariates, centered and scaled using preceding complete training records only, then clipped to ±5 standard deviations.

y_i | alpha, sigma², gamma ~ Normal(alpha, sigma² exp(2 z_i^T gamma))
alpha | sigma² ~ Normal(0, 10 sigma²)
sigma² ~ InvGamma(3,2)
gamma_j ~ Normal(0, 0.25²), independently

Conditional on gamma, w_i = exp(−2 z_i^T gamma), A = 0.1 + sum w_i, m = sum(w_i y_i)/A, a = 3+n/2 and b = 2 + [sum(w_i y_i²) − A m²]/2. Then alpha | sigma²,gamma,data ~ Normal(m,sigma²/A), and sigma² | gamma,data ~ InvGamma(a,b).

The log marginal posterior for gamma, up to a constant, is −sum(z_i^T gamma) − (1/2)log A − a log b − ||gamma||²/(2*0.25²). At current z*, the conditional predictive distribution is Student-t with df=2a, location s*m and scale s*sqrt[(b/a)(exp(2 z*^T gamma)+1/A)]. Integrating gamma yields the full posterior predictive mixture.

The risk effects change conditional variance. There are no fitted macroeconomic return-direction coefficients. Unknown intercept and variance remain integrated, and the effect parameters are fixed within each fit. Setting gamma absent recovers the same conjugate Bayesian baseline exactly. The known normalizer already adapts to recent volatility; the volatility coefficient is an additional correction.

Adaptive Gauss–Hermite quadrature integrates up to four effect parameters after centering on the posterior mode and local curvature. Orders 9 and 13 are compared, then 17 and 21 if needed. Successive results must agree within 0.0002 in tail probability, 0.002 in every effect’s posterior mean and 0.5% in predictive variance. These are numerical convergence diagnostics, not proof of forecast accuracy or real-world coverage. Failure dates are retained in the audit.

The primary loss probability integrates conditional Student-t CDFs directly. Predictive quantiles and CRPS use 16,384 common Sobol draws. Probability credible intervals draw actual model parameters and evaluate their conditional event probabilities; they are not quantiles of zero/one loss indicators. Exact conditional conjugacy does not make the numerical gamma integral exact; no MCMC is used.

## Comparisons and uncertainty

| Full model versus | Brier change | Six-month block 95% difference |
|---|---:|---:|
| Simple Bayesian return model | -4.6% | [-0.007027, -0.000812] |
| Conditional risk: volatility only | -4.1% | [-0.007338, -0.000248] |
| Historical loss-frequency reference | -6.1% | [-0.011617, +0.002120] |
| All inputs except inflation | -4.5% | [-0.008238, -0.000279] |
| All inputs except interest rates | -0.2% | [-0.000970, +0.000663] |
| All inputs except credit stress | +0.4% | [-0.000251, +0.000888] |
| All inputs except volatility correction | -1.0% | [-0.003309, +0.001951] |

Negative differences favor the full model. Circular calendar blocks of 6, 12 and 24 months are resampled 5,000 times, retaining missing-date masks and condition membership. All intervals are in the JSON. They do not correct for researcher selection or multiple comparisons. The years have been inspected before this design.

## Conditional checks and calibration

The full model did not improve in every condition: its Brier point estimate was slightly worse during lower recent volatility, and that subgroup interval spans no difference. The comparison with the constant loss-frequency reference is also uncertain. Fewer than twenty target events and previously inspected historical years limit claims.

Each raw input is compared with its expanding training median to define high/low states. The eight groups overlap. Each candidate is scored on the same dates within each group, including observed large losses. Calibration bins are frozen at 0–5%, 5–10%, 10–20%, 20–40% and 40–100% predicted risk. Each bin reports its sample size, predicted mean, event count and actual frequency. Small bins cannot establish calibration.

## First prospective forecast

Forecast ID: macro-risk-v1.1-december-2026-early. Issued: 2026-11-28T21:30:22.959287+00:00. Information cutoff: 2026-11-27. Completed training outcomes through 2026-10-30. Status: awaiting outcome. Target is the December 2026 calendar-month SPY return, ending December 31, relative to the November 30 close.

This forecast was issued before November’s final trading session. Its information gap differs from the historical month-end forecasts, so it must be reported separately. The November 30 starting close is not known at issue time. Forecast file SHA-256: 2c21c95c6a763d58075fbcdb04d22e1c1057e72a0d11e434b9a21924b3cd2846. The hash detects changes; public publication/Google Docs history supplies the contemporaneous record. The script refuses to overwrite a changed sealed forecast.

| Forecast model | Probability of loss >5% | 90% parameter credible interval | 90% return range |
|---|---:|---:|---:|
| Simple Bayesian return model | 13.0% | 10.3%–16.0% | -7.8% to 11.1% |
| Conditional risk: volatility only | 10.3% | 7.7%–13.3% | -6.8% to 9.6% |
| Conditional risk: all four inputs | 8.2% | 4.5%–12.5% | -6.1% to 9.4% |

The first run could not issue a full forecast because the latest CPI level lacked its prior-year comparison month. A documented data-derivation correction uses the most recent computable published year-on-year pair; no model, prior or score rule was changed, and pre-correction results are retained.

No realized result has been entered, no trading action is implied, and no daily automatic refresh has been installed. Revisions to adjusted prices and the forecast’s early timing must be disclosed when its outcome is eventually scored. The full inference and all baselines must be recorded before any outcome is revealed.

## Limitations

- Historical years have been inspected previously; a new specification is exploratory, not a new holdout.
- ALFRED date-level vintage availability is not a certified intraday release timestamp.
- Complete-case history can shorten the requested test period; unavailable years are never backfilled with current revised data.
- CP-minus-Treasury spread is a short-term funding/credit proxy, not a broad credit-risk measurement.
- Conditional observation shocks are Normal; integrating uncertain mean, variance and risk effects yields a Student-t mixture, not a fitted jump process.
- Scale effects are associations, not causal effects of policy, inflation or war.
- No fees, taxes, investment strategy, automatic trading or validated retirement forecasts.
- Block intervals do not correct for researcher selection or multiple comparisons.
- Future forecasts require manual data refresh unless separately automated.

The model has not replaced investment or retirement calculations. Inflation and interest rates are observed US conditions, not a simulation of world evolution. No event probability, causal intervention effect, geopolitical forecast or AI-specific coefficient is estimated.

## Reproduce

    python experiments/benchmark_macro_risk.py
    python experiments/export_macro_risk.py

Canonical snapshots are already included. Skip the preparation command when reproducing the frozen run: newly downloaded ZIP response packaging can change raw-response hashes even when observations agree. experiments/prepare_macro_risk.py documents the original acquisition; a refreshed data acquisition requires an explicitly versioned protocol.

Use the pinned NumPy/SciPy environment documented in research_tools/requirements_world.txt. Snapshot, source, specification and code hashes are in the manifest and protocol. A source change requires explicitly versioning the frozen benchmark protocol. All numerical failures and requested-date omissions remain available.

## Primary data references

- ALFRED vintage methodology: https://alfred.stlouisfed.org/help
- CPI: U.S. Bureau of Labor Statistics, via https://fred.stlouisfed.org/series/CPIAUCSL
- Federal funds rate: Federal Reserve Board, via https://fred.stlouisfed.org/series/DFF
- AA financial commercial paper rate and vintage history: https://alfred.stlouisfed.org/series?seid=DCPF3M
- Treasury bill rate: Federal Reserve Board, via https://fred.stlouisfed.org/series/DTB3
