# Exploratory world-context extension

SPY only; January 2000–December 2025. Four models, 312 origins, 1,248 comparisons. Earlier 1993–1999 data supplies initial training. No synthetic pre-inception TLT or GLD observations.

| Model | Months | 90% coverage | Mean range width (return percentage points) | CRPS, lower better |
|---|---:|---:|---:|---:|
| Simple Bayesian baseline | 312 | 90.1% | 15.11 | 0.02407 |
| Flexible historical distribution (DP) | 312 | 89.4% | 14.07 | 0.02392 |
| Prices + technology-heavy market | 312 | 90.1% | 14.98 | 0.02413 |
| Prices + archived world indicators | 312 | 90.7% | 15.29 | 0.02479 |

These are descriptive point estimates, not evidence of a reliable improvement. Narrowness is evaluated together with missed outcomes and proper scores. Models were developed after these years were available.

## Data and model limits

- US equities only: SPY is not a diversified world portfolio. NASDAQ Composite is a technology-heavy market proxy, not a measure of technological progress.
- One prior-year archive is frozen for each feature year. The following-month availability rule is inferred from provider version labels, not independently verified publication timestamps.
- Missing historical world indicators remain missing; current revised data never fill their backtest gaps.
- Vendor adjusted prices are revised history. The retrospective experiment was developed after all target years were available.
- A small set of proxies, not a simulation of the world economy.
- AI variables are not fitted: their historical sources and comparable measurement definitions are not yet validated.
- Missing world indicators use training-only centering plus explicit missing indicators. Some dates therefore have no internet signal.
- This mean-regression extension differs from the older variance-focused MCMC study.
- No event probabilities or causal effects are inferred. No fees, taxes, trading strategy or profit claim.
- Bayesian posterior uncertainty conditional on the specified model does not guarantee real-world coverage.

## How to reproduce

    python experiments/prepare_world_history.py
    python experiments/benchmark_world_history.py

See protocol.json for all priors, hashes and assumptions. A world-context model with missing annual inputs is not proof that internet adoption predicts returns. Economic productivity evidence is separate from investment forecasting evidence.




## Matched score comparisons

Negative CRPS differences favor the candidate. Block intervals are exploratory and do not establish out-of-sample validity after development on known history.

- dp_baseline minus bayes_baseline: -0.000147; paired block 95% interval [-0.0002979495640603528, 4.680292222639349e-06].
- market_technology minus bayes_baseline: 0.000064; paired block 95% interval [-0.0005814344312315479, 0.0006695880049606282].
- world_context minus market_technology: 0.000661; paired block 95% interval [1.0276762170757513e-05, 0.0015372293208740107].

# A changing-world model: implemented research and the next layer

This is an exploratory prototype, not a model of every part of the world or a
validated investment recommendation. Completed on November 28, 2026.

## What is implemented

- 312 monthly SPY forecast origins, January 2000–December 2025; 1993–1999 supplies initial training.
- Four specifications: an exact conjugate Bayesian baseline; a genuine Dirichlet-process (DP) distribution; a shrinkage Bayesian regression with recent price signals and NASDAQ-relative movements; and that regression with archived global internet-adoption and GDP-growth inputs.
- Every fit uses preceding observations. Covariate centering/scaling uses only the training sample, standardized inputs are clipped to +/-5, and missing observations have explicit indicators.
- 32 World Bank archives, chosen from prior-year releases. Archive availability is conservatively inferred from version-month labels; original publication times are not independently certified. Ambiguous archive labels are omitted.
- Archived global internet values are usable in 204 forecast months, starting January 2009. Earlier missing inputs are not set to zero or backfilled with today's revised figures. The model can still produce a distribution with explicit missing indicators.
- Exact conjugate parameter draws replace MCMC for these specifications. No MCMC approximation is needed here. This study is separate from the earlier five-model, variance-focused MCMC study.
- Monthly observed coverage, interval width, CRPS, interval score, median error and loss Brier score; yearly reports and paired six-month-block comparisons.

## Probability models actually fitted

Let r_i be monthly SPY log growth and s_i be the previous 63-session daily log
return sample standard deviation times sqrt(21), with daily volatility bounded
to [0.0005,0.2]. Set y_i=r_i/s_i. For the conjugate models:

    y_i | beta, sigma² ~ Normal(x_i' beta, sigma²)
    beta | sigma² ~ Normal(0, sigma² V0)
    sigma² ~ InvGamma(3,2)

V0 has diagonal entries 10 for the intercept and 0.04 for all other coefficients
(including missing indicators). The baseline has only an intercept. Posterior
parameters are Pn=V0^-1+X'X, Vn=Pn^-1, mn=Vn X'y, an=3+n/2,
bn=2+(y'y-mn'Pn mn)/2. The next normalized outcome follows a Student-t with
2an degrees of freedom, location x'mn, and scale sqrt(bn/an*(1+x'Vn x)).
Multiplying by the current s converts it to log growth. Posterior probability
uncertainty and market outcome uncertainty remain distinct. No mean dollar
wealth is reported.

For the nonparametric comparator:

    G ~ DP(alpha G0), alpha=20
    y_i | G ~ G
    G0 = Student-t(df=7), rescaled to unit variance
    G | data ~ DP(alpha+n, (alpha G0 + sum delta_yi)/(alpha+n))

The DP's negative-half-line mass has a Beta posterior with parameters
alpha/2 + number(y<0), alpha/2 + number(y>=0). Predictive draws combine historical
normalized observations and new draws from G0. A DP here is flexible about the
shape of monthly moves; it does not by itself learn a causal effect of technology.

## Conditional scenarios currently supported

The public January-2024 example changes specified inputs to the already-fitted
world regression and recalculates its exact predictive range. It is an archived
sensitivity test, not a live forecast or a causal intervention. A reference case
adds no extra shock; it still includes uncertainty and the crisis observations
in the training data. It is not an estimate conditional on the absence of war,
recession or other news.

An added price loss is user-assumed, not learned from an event label. An optional
uncertainty multiplier changes conditional noise while retaining parameter
uncertainty: predictive scale² = s²(bn/an)(multiplier² + x'Vn x). Merely selecting
an event cannot supply its probability or impact. Values beyond observed ranges
are extrapolation. Feature clipping is disclosed and prevents extreme inputs
from masquerading as supported precision.

## Proposed world-state layer (not yet fitted)

We want a small state vector for technology adoption, productive capacity,
economic growth, inflation/rates and geopolitical conditions. A general design is:

    z[t+1] = A z[t] + f(z[t]) + B u[t] + eta[t]
    returns[t+1] = mu(z[t]) + L(z[t]) epsilon[t+1]
    posterior predictive = integral p(returns | z,parameters,u) p(z,parameters | data)

u is a stated scenario path. Setting u=0 adds no intervention; unknown future
shocks and parameter uncertainty must still be integrated. A nonlinear GP or
Bayesian regime mixture is a candidate, not an implemented claim. Diffusion
curves, distributed lags and hierarchical sector effects must be compared with
simpler alternatives before they enter the production forecasts.

## AI: measured separately, not fitted yet

Candidate sources are the US Census BTOS (business adoption), Stanford AI Index
(investment and adoption summaries), and carefully versioned capability/compute
datasets. NASDAQ prices are not AI progress, and chip sales are not AI adoption.
The Census AI question starts in 2023 and changes in November 2025; comparable
units, question definitions and release dates must be retained. Sources from
2026 may describe 2025, but must not enter a 2025 forecast before publication.
Missing earlier AI measurements must stay missing. We do not have a comparable
26-year AI-adoption series and do not report an AI coefficient or AI-return effect.

Source inventory:
- https://www.census.gov/hfp/btos/data_downloads
- https://www.federalreserve.gov/econres/notes/feds-notes/monitoring-ai-adoption-in-the-u-s-economy-20260403.html
- https://hai.stanford.edu/ai-index/2025-ai-index-report

## Industrial-evolution evidence and its proper use

1. Electrification: Fiszbein, Lafortune, Lewis and Tessada, NBER WP 28076, revised April 2024. Their 1890–1940 manufacturing analysis reports productivity gains and heterogeneous employment responses. This cautions against assuming every sector gains in the same way or at the same speed. https://www.nber.org/papers/w28076
2. Computers: Brynjolfsson and Hitt, Computing Productivity, 527 US firms over 1987–1994. Larger longer-horizon associations are consistent with complementary organizational investment; they do not establish a universal immediate return on IT. https://dspace.mit.edu/entities/publication/948b8b1e-9737-4f3d-96b0-b550dba38694
3. Fast internet: Hjort and Poulsen, AER 2019. Variation in cable arrivals and network proximity across 12 African countries supports estimates of employment and firm-activity changes in that setting. It is not evidence of a predictable global equity premium. https://www.nber.org/papers/w23582
4. AI: Brynjolfsson, Li and Raymond, NBER WP 31161 (November 2023 version; published QJE 2025) reports about 14% more issues resolved per hour among 5,179 customer-support workers, with heterogeneous effects. Do not replace this estimate with a different published-version figure without checking the version. https://www.nber.org/papers/w31161
5. A counterexample: METR's early-2025 randomized study of 16 experienced open-source developers across 246 tasks found slower completion with the tested AI tools. This does not generalize to every job or future tool. https://metr.org/Early_2025_AI_Experienced_OS_Devs_Study-paper.pdf

These studies motivate measured adoption, complementary investment, skills and
sector exposure as candidate drivers. They are not pooled into a common effect
size and do not validate our financial model. No company profit, fund return or
user wealth claim follows mechanically from productivity improvements.

## Acceptance criteria for a better model

Prefer narrower distributions only alongside adequate held-out calibration and
better proper scores. Compare against the same baseline on the same dates; retain
every failure and crisis period. Keep tests by year and regime, then freeze the
model and record genuinely future forecasts. A nominal 90% interval is expected
to miss sometimes. All 312 historical outcomes are already known to the researchers,
so changing a model after inspection creates a new exploratory specification,
not a new untouched test. No finite historical sample proves a future guarantee.
