scripts/export_results.py from a full run, so every number here comes from the run itself. Re-run that script after a new run; do not edit this file by hand.
- Results from commit:
d690489(batch study),d690489(model); exported 2026-11-25. - Links: Dashboard (live and replay) · Docs site (tour of the code) · Dataset · Model · GitHub · Hugging Face
- Significance marks below: ** p < 0.05, * p < 0.10, from the test clustered by event date (each event date counts once), at 95% confidence.
1. The data
- 38 US-listed retailers (7 online, 31 store), plus SPY as the market, daily from 2016 to 2025: 98,046 stock-days in
clean/master.parquet(2,514 trading days). - Events: US Thanksgiving, Black Friday, Cyber Monday, Amazon Prime Day, Halloween, Chinese New Year. 2,242 event windows with a CAR (one per retailer and event occurrence; 59 occurrences).
- The stream scored 95,190 stock-days (the first 120 trading days of each stock only build its baseline).
- Attention: daily Wikipedia pageviews of each company (real users, no bots). GDELT news and the Census retail sales are out of scope (decision 0012).
2. Is the stream right?
Three independent computations of the same numbers must agree: the streaming job (day by day, with state, late data), a direct numpy recomputation (scripts/check_streaming.py), and the batch event study (src/eventstudy/car.py, the answer key; scripts/compare_stream_batch.py).
The full output of each check is in
checks/.
3. Do retail stocks move abnormally around events?
Mean cumulative abnormal return (CAR) over trading days -5 to +5, with its 95% confidence interval and the clustered p-value.
What stands out (p < 0.10):
- Halloween, online minus store: -4.5% (p = 0.022, 10 event dates, 380 windows)
- all events, store: +1.1% (p = 0.033, 49 event dates, 1519 windows)
- Halloween, online: -3.6% (p = 0.044, 10 event dates, 70 windows)
- Chinese New Year, online minus store: +2.7% (p = 0.059, 9 event dates, 342 windows)
- all events, all retailers: +0.9% (p = 0.063, 49 event dates, 1862 windows)
- Black Friday, store: +2.5% (p = 0.094, 10 event dates, 310 windows)
- US Thanksgiving, store: +2.5% (p = 0.094, 10 event dates, 310 windows)
4. Is the effect changing? Trends and a 2026 forecast
Each year’s average CAR regressed on the year; the forecast extends that line to 2026 with a 95% prediction interval (where one year’s value should fall).
The intervals are wide: ten yearly values cannot pin down next year’s CAR. Read the forecast as the trend, not a prediction of the market.
5. Attention: does Wikipedia move with the events?
Inside event windows, attention spikes (views ≥ 3.0 sd above their recent level) are 1.5× as common, and abnormal returns (|z| ≥ 1.96) 1.1× as common.
6. The big-move model (Spark MLlib)
Predicts whether tomorrow’s |abnormal return| will be at least 1.96 times its usual size. Fitted on 2016–2023, chosen on the validation year, tested once on 2024–2025 (a purged time split). Model: gbt (maxDepth=3).
Base rate: 5.2% of test stock-days are big moves. Top inputs: month, log_vol_ratio, abs_mkt_ret, ar_sd, days_to_event.
Around Black Friday in the test years, big moves peak on day -3 (28% of retailers, against 5.2% on an ordinary day), and the model flags most on day -2. It mostly reacts to a burst of big moves rather than anticipating the first one.
7. Charts
Average cumulative abnormal return from day −5 to +5, per event, with its 95% confidence band (clustered by event date).






8. Limitations
- One-factor market model (S&P 500 only); a Fama-French model could change individual CARs.
- About ten occurrences per event: the trends and the 2026 forecasts have wide intervals.
- The retailers share each event date, so the evidence is the number of event dates, not windows; the clustered test accounts for this, and some p-values are near 0.05–0.10.
- Many tests at once (events × groups): a few p < 0.05 results are expected by chance alone.
- The big-move model ranks days (ROC-AUC ~0.69) but is not calibrated and is not a trading strategy.
- Wikipedia is the only attention measure; GDELT and retail sales are future work (decision 0012).