wasde-study / index.html
mattyxcakes's picture
Update footer text
f97d635 verified
Raw History Blame Contribute Delete
35.2 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>August WASDE Study — 1min microstructure and fundamentals</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@700;800&display=swap" rel="stylesheet">
<style>
/* Canva Brand Kit Rules - Sharp Rectangles (Zero Corner Rounding) */
:root {
--bg-ivory: #FFFFF0;
--text-onyx: #0F0F0F;
--blue-slate: #2C3E50;
--golden-orange: #F39C12;
--sage-green: #87A96B;
}
* {
border-radius: 0 !important; /* Strictly remove all rounded corners */
}
body {
background-color: var(--bg-ivory);
color: var(--text-onyx);
font-family: 'Inter', sans-serif;
font-weight: 400;
}
h1, .font-header {
font-family: 'Plus Jakarta Sans', sans-serif;
font-weight: 800;
color: var(--text-onyx);
}
h2, h3, .font-subheader {
font-family: 'Inter', sans-serif;
font-weight: 600;
color: var(--blue-slate);
}
.bg-ivory { background-color: var(--bg-ivory); }
.text-onyx { color: var(--text-onyx); }
.bg-blue-slate { background-color: var(--blue-slate); }
.text-blue-slate { color: var(--blue-slate); }
.border-blue-slate { border-color: rgba(44, 62, 80, 0.3); }
.bg-golden-orange { background-color: var(--golden-orange); }
.text-golden-orange { color: var(--golden-orange); }
.border-golden-orange { border-color: var(--golden-orange); }
.bg-sage-green { background-color: var(--sage-green); }
.text-sage-green { color: var(--sage-green); }
.tab-btn {
border-bottom: 3px solid transparent;
color: var(--blue-slate);
font-weight: 500;
transition: all 0.2s ease;
}
.tab-btn.active {
border-bottom-color: var(--golden-orange);
color: var(--text-onyx);
font-weight: 700;
}
.pill-supported { background-color: var(--sage-green); color: #FFFFFF; }
.pill-rejected { background-color: var(--blue-slate); color: #FFFFFF; }
.pill-scope { background-color: var(--golden-orange); color: var(--text-onyx); }
.pill-prereg { background-color: #E2E8F0; color: var(--text-onyx); }
.pill-retired { background-color: #CBD5E1; color: var(--text-onyx); }
</style>
</head>
<body class="min-h-screen flex flex-col antialiased">
<!-- Header -->
<header class="bg-white border-b border-blue-slate sticky top-0 z-30 shadow-sm">
<div class="max-w-7xl mx-auto px-6 py-5 flex flex-col md:flex-row md:items-center md:justify-between gap-4">
<div>
<h1 class="text-2xl md:text-3xl font-header tracking-tight">
August WASDE Study — 1min microstructure and fundamentals
</h1>
</div>
<div class="flex items-center gap-2 text-xs font-semibold">
<span class="bg-blue-slate text-white px-3 py-1">Private Dataset</span>
<span class="bg-sage-green text-white px-3 py-1">53 Events Panel</span>
</div>
</div>
</header>
<!-- Main Container -->
<main class="max-w-7xl mx-auto px-6 py-8 flex-1 w-full">
<!-- Stat Callout Cards (Total data inventory across all four data pillars) -->
<div class="grid grid-cols-2 md:grid-cols-4 gap-5 mb-8">
<div class="bg-white p-5 border border-blue-slate shadow-sm">
<div class="text-2xl md:text-3xl font-header text-onyx">1,256,807</div>
<div class="text-xs font-semibold text-blue-slate uppercase tracking-wider mt-1">1-Min CME Futures Bars</div>
</div>
<div class="bg-white p-5 border border-blue-slate shadow-sm">
<div class="text-2xl md:text-3xl font-header text-onyx">52 Reports</div>
<div class="text-xs font-semibold text-blue-slate uppercase tracking-wider mt-1">2006–2025 WASDE Archive</div>
</div>
<div class="bg-white p-5 border border-blue-slate shadow-sm">
<div class="text-2xl md:text-3xl font-header text-onyx">20 Years</div>
<div class="text-xs font-semibold text-blue-slate uppercase tracking-wider mt-1">USDA NASS Crop Progress</div>
</div>
<div class="bg-white p-5 border border-blue-slate shadow-sm">
<div class="text-2xl md:text-3xl font-header text-onyx">2,238,977</div>
<div class="text-xs font-semibold text-blue-slate uppercase tracking-wider mt-1">MBP-10 Order Flow Updates</div>
</div>
</div>
<!-- Navigation Tabs -->
<div class="border-b border-blue-slate mb-8 bg-white px-6 shadow-sm">
<nav class="flex space-x-8 overflow-x-auto" aria-label="Tabs">
<button onclick="showTab('findings')" id="tab-btn-findings" class="tab-btn active py-4 px-2 text-sm tracking-wide">
RESEARCH FINDINGS
</button>
<button onclick="showTab('figures')" id="tab-btn-figures" class="tab-btn py-4 px-2 text-sm tracking-wide">
FIGURES ATLAS (5 KEY FIGURES)
</button>
<button onclick="showTab('hypotheses')" id="tab-btn-hypotheses" class="tab-btn py-4 px-2 text-sm tracking-wide">
HYPOTHESES SCORECARD (H1–H23)
</button>
<button onclick="showTab('data')" id="tab-btn-data" class="tab-btn py-4 px-2 text-sm tracking-wide">
DATA ARCHITECTURE & INVENTORY
</button>
</nav>
</div>
<!-- Tab 1: Key Findings -->
<div id="tab-findings" class="space-y-5">
<div class="bg-white p-8 border border-blue-slate shadow-sm">
<h2 class="text-xl font-subheader mb-6 pb-3 border-b border-slate-200 uppercase tracking-wide">
Core Research Questions & Empirical Findings
</h2>
<div class="space-y-5">
<div class="p-5 bg-ivory border border-blue-slate">
<h3 class="font-subheader text-base mb-2">RQ1: Is information incorporated instantaneously at 12:00:00 ET, and is there any pre-release price anticipation?</h3>
<p class="text-sm text-onyx leading-relaxed">
<strong>Zero price anticipation</strong>. Across 43 releases (40 liquid), no bar strictly before 12:00 ET exceeds the post-release max |1-min r| in 11:50–12:10 ET (Spike Law 2a). Pre-noon drift sign-agrees with the release direction in only 6/11 Augusts (54.5% ≈ chance).
</p>
</div>
<div class="p-5 bg-ivory border border-blue-slate">
<h3 class="font-subheader text-base mb-2">RQ2: Does the options market ex-ante expected move forecast shock magnitude? How large is the Variance Risk Premium (VRP)?</h3>
<p class="text-sm text-onyx leading-relaxed">
ATM straddles price a <strong>4.04%</strong> average expected move on event eve. The initial 1-min shock |r₀| consumes only ~33% of the straddle value (<code class="bg-white px-1.5 py-0.5 border border-slate-300 font-mono text-xs">median |r0| / implied_move = 0.328</code>), proving a strong <strong>~3:1 VRP cushion</strong>. Linear correlation between expected move and |r₀| is zero (<code class="bg-white px-1.5 py-0.5 border border-slate-300 font-mono text-xs">r = -0.068</code>). IV crush ≤ -15% occurs in 4/11 Augusts (median crush = +0.9%).
</p>
</div>
<div class="p-5 bg-ivory border border-blue-slate">
<h3 class="font-subheader text-base mb-2">RQ3: Do market makers pull liquidity before release? How does follow-through differ by typology?</h3>
<p class="text-sm text-onyx leading-relaxed">
Quotes pull back dramatically even though prices show zero pre-event drift. Top-of-book depth collapses by <strong>85.8%</strong> at 11:59:59 ET (≤ 50% remaining depth in 10/11 Augusts). Thinner pre-event depth correlates (<code class="bg-white px-1.5 py-0.5 border border-slate-300 font-mono text-xs">r = -0.385</code>) with higher price impact per unit surprise. In stair-step absorption events, post-release trade volume (+1 to +10 min) is <strong>2.86×</strong> the 12:00 bar volume, compared to <strong>1.51×</strong> in spike-hold events.
</p>
</div>
<div class="p-5 bg-ivory border border-blue-slate">
<h3 class="font-subheader text-base mb-2">RQ4: Is the August WASDE shock corn-isolated or common-ag co-moving?</h3>
<p class="text-sm text-onyx leading-relaxed">
August WASDE shocks are <strong>heavily common-ag co-moving (R² = 91.0%)</strong> across corn, soybeans (ZS), and wheat (ZW), because August releases first survey estimates for both corn and soybeans simultaneously. In non-August months, R² drops to <strong>24.9%</strong> (corn idiosyncratic variance = 75.1%).
</p>
</div>
<div class="p-5 bg-ivory border border-blue-slate">
<h3 class="font-subheader text-base mb-2">RQ5: How strongly do pre-event crop condition ratings predict WASDE yield revisions?</h3>
<p class="text-sm text-onyx leading-relaxed">
Early August NASS Crop Progress condition ratings (Good + Excellent %) correlate strongly (<code class="bg-white px-1.5 py-0.5 border border-slate-300 font-mono text-xs">r = +0.860</code>) with the August WASDE yield revision across 2006–2025.
</p>
</div>
<div class="p-5 bg-ivory border border-blue-slate">
<h3 class="font-subheader text-base mb-2">RQ6: Why does 1-min direction persist at +60 min while daily returns resemble a coin flip?</h3>
<p class="text-sm text-onyx leading-relaxed">
At the 1-min scale, 6/7 strong Augusts hold spike sign at +60 min (median <code class="bg-white px-1.5 py-0.5 border border-slate-300 font-mono text-xs">|P₆₀| / |P₁₀| = 1.37</code>). At the daily close-to-close scale, hit rate is 55% (11/20, coin flip), and neither move size nor yield revision z-score separates daily continuations from reversals. Structural trading edges live <strong>intraday</strong>, not daily.
</p>
</div>
</div>
</div>
</div>
<!-- Tab 2: Figures Atlas -->
<div id="tab-figures" class="hidden space-y-6">
<div class="bg-white p-8 border border-blue-slate shadow-sm">
<h2 class="text-xl font-subheader mb-2 uppercase tracking-wide">Publication Figures Atlas</h2>
<p class="text-xs text-slate-600 mb-6">Select a figure below to inspect empirical charts and panel breakdown descriptions.</p>
<!-- Figure Selector Buttons -->
<div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-5 gap-3 mb-6">
<button onclick="selectFigure(1)" id="fig-btn-1" class="fig-btn bg-blue-slate text-white font-semibold p-3.5 text-xs text-left shadow-sm">
1. Monthly Context & Seasonality
</button>
<button onclick="selectFigure(2)" id="fig-btn-2" class="fig-btn bg-white border border-blue-slate text-blue-slate p-3.5 text-xs text-left hover:bg-slate-50 font-medium">
2. 11-Year August Trajectories
</button>
<button onclick="selectFigure(3)" id="fig-btn-3" class="fig-btn bg-white border border-blue-slate text-blue-slate p-3.5 text-xs text-left hover:bg-slate-50 font-medium">
3. NASS Progress vs Yield Revisions
</button>
<button onclick="selectFigure(4)" id="fig-btn-4" class="fig-btn bg-white border border-blue-slate text-blue-slate p-3.5 text-xs text-left hover:bg-slate-50 font-medium">
4. Follow-through Trade Volume
</button>
<button onclick="selectFigure(5)" id="fig-btn-5" class="fig-btn bg-white border border-blue-slate text-blue-slate p-3.5 text-xs text-left hover:bg-slate-50 font-medium">
5. Cross-Commodity Ag Co-Movement
</button>
</div>
<!-- Figure Container -->
<div class="bg-ivory p-6 border border-blue-slate text-center mb-6">
<img id="figure-img" src="reports/figures/fig_august_vs_months_v2.png" alt="Figure View" class="max-w-full h-auto mx-auto shadow-sm border border-slate-200">
</div>
<!-- Figure Writeup -->
<div id="figure-desc" class="p-5 bg-ivory border border-blue-slate text-sm text-onyx leading-relaxed">
<h3 class="font-subheader text-base mb-3">Figure 1 Breakdown</h3>
<ul class="list-disc pl-5 space-y-2">
<li><strong>Panel (a) Peak Spike by Month</strong>: Scatter plot of peak |1-min r| in 11:50–12:10 ET across 35 monthly WASDEs (+ 1 placebo). On 2023–25 alone, August median is 0.70%, but across the 11-year August extension (2015–25) August median is <strong>1.57%</strong> (highest of all months). Highlights clean placebo day (cancelled Oct 2025: 0.059%).</li>
<li><strong>Panel (b) All August WASDE Price Paths</strong>: 1-min normalized price paths P_norm (11:30 to 13:00 ET) for all 11 August WASDE releases (n=11).</li>
</ul>
</div>
</div>
</div>
<!-- Tab 3: Hypotheses Scorecard -->
<div id="tab-hypotheses" class="hidden space-y-4">
<div class="bg-white p-8 border border-blue-slate shadow-sm">
<div class="flex flex-col sm:flex-row sm:items-center sm:justify-between gap-4 mb-6 pb-3 border-b border-slate-200">
<div>
<h2 class="text-xl font-subheader uppercase tracking-wide">Comprehensive Hypotheses Scorecard (H1–H23)</h2>
<p class="text-xs text-slate-600 mt-0.5">23 Pre-Registered & Exploratory Hypotheses with Measured Evidence</p>
</div>
<div>
<select id="status-filter" onchange="filterHypotheses()" class="bg-ivory border border-blue-slate text-onyx text-xs px-3 py-2 font-medium">
<option value="ALL">All Statuses (23)</option>
<option value="SUPPORTED">SUPPORTED</option>
<option value="REJECTED">REJECTED</option>
<option value="SCOPE-DEPENDENT">SCOPE-DEPENDENT</option>
<option value="PRE-REGISTERED">PRE-REGISTERED</option>
</select>
</div>
</div>
<div class="overflow-x-auto">
<table class="w-full text-xs text-left text-onyx">
<thead class="text-xs uppercase bg-blue-slate text-white font-semibold">
<tr>
<th class="px-4 py-3 w-16">ID</th>
<th class="px-4 py-3 w-1/3">Hypothesis Statement</th>
<th class="px-4 py-3">Measured Evidence & Finding</th>
<th class="px-4 py-3 w-32 text-center">Status</th>
</tr>
</thead>
<tbody id="hypotheses-body" class="divide-y divide-slate-200">
<!-- Rows inserted dynamically via JS -->
</tbody>
</table>
</div>
</div>
</div>
<!-- Tab 4: Data Architecture -->
<div id="tab-data" class="hidden space-y-4">
<div class="bg-white p-8 border border-blue-slate shadow-sm">
<h2 class="text-xl font-subheader mb-2 uppercase tracking-wide">Data Architecture & Working Inventory</h2>
<p class="text-xs text-slate-600 mb-6">Multi-tiered market data schema and file organization in the private dataset store.</p>
<div class="overflow-x-auto">
<table class="w-full text-xs text-left text-onyx">
<thead class="text-xs uppercase bg-blue-slate text-white font-semibold">
<tr>
<th class="px-4 py-3">Data Layer</th>
<th class="px-4 py-3">Store Location</th>
<th class="px-4 py-3">Scope / Record Count</th>
<th class="px-4 py-3">Format / Partitioning</th>
</tr>
</thead>
<tbody class="divide-y divide-slate-200">
<tr class="hover:bg-ivory">
<td class="px-4 py-3.5 font-bold">1-Min MDP3 Futures Bars</td>
<td class="px-4 py-3.5 font-mono text-slate-700">data/cme_futures/bars_1m/</td>
<td class="px-4 py-3.5">1,256,807 1-min bars (ZCU/ZCZ 2015–2025)</td>
<td class="px-4 py-3.5">Hive Parquet (contract=/year=)</td>
</tr>
<tr class="hover:bg-ivory">
<td class="px-4 py-3.5 font-bold">MBP-10 Orderbook Depth</td>
<td class="px-4 py-3.5 font-mono text-slate-700">data/cme_futures/mbp10/</td>
<td class="px-4 py-3.5">2,238,977 order flow updates (66 sessions)</td>
<td class="px-4 py-3.5">Level-10 Book Parquets</td>
</tr>
<tr class="hover:bg-ivory">
<td class="px-4 py-3.5 font-bold">Cross-Commodity Spillovers</td>
<td class="px-4 py-3.5 font-mono text-slate-700">data/cme_futures/cross_commodity/</td>
<td class="px-4 py-3.5">38,378 1-min bars (ZS/ZW across 43 events)</td>
<td class="px-4 py-3.5">30-Min Window Parquets</td>
</tr>
<tr class="hover:bg-ivory">
<td class="px-4 py-3.5 font-bold">Options Settlements & Definitions</td>
<td class="px-4 py-3.5 font-mono text-slate-700">data/cme_futures/options/</td>
<td class="px-4 py-3.5">86 definition & settlement panels (OZC.OPT)</td>
<td class="px-4 py-3.5">CSV / Parquet</td>
</tr>
<tr class="hover:bg-ivory">
<td class="px-4 py-3.5 font-bold">Raw 1-Min Futures Drops</td>
<td class="px-4 py-3.5 font-mono text-slate-700">data/cme_futures/raw_csv/</td>
<td class="px-4 py-3.5">22 annual & seasonal CME drops</td>
<td class="px-4 py-3.5">CSV</td>
</tr>
<tr class="hover:bg-ivory">
<td class="px-4 py-3.5 font-bold">Summary Aggregates</td>
<td class="px-4 py-3.5 font-mono text-slate-700">data/summary/</td>
<td class="px-4 py-3.5">13 committed summary aggregate files</td>
<td class="px-4 py-3.5">Parquet / CSV</td>
</tr>
<tr class="hover:bg-ivory">
<td class="px-4 py-3.5 font-bold">USDA WASDE Fundamentals</td>
<td class="px-4 py-3.5 font-mono text-slate-700">events/wasde_fundamentals.csv</td>
<td class="px-4 py-3.5">52 reports (2006–2025), 312 fundamental metrics</td>
<td class="px-4 py-3.5">CSV</td>
</tr>
<tr class="hover:bg-ivory">
<td class="px-4 py-3.5 font-bold">USDA NASS Crop Progress</td>
<td class="px-4 py-3.5 font-mono text-slate-700">data/summary/event_forecast_framework.parquet</td>
<td class="px-4 py-3.5">20 crop years (2006–2025) national condition panels</td>
<td class="px-4 py-3.5">QuickStats API / Parquet</td>
</tr>
<tr class="hover:bg-ivory">
<td class="px-4 py-3.5 font-bold">Event Calendar & Manifest</td>
<td class="px-4 py-3.5 font-mono text-slate-700">events/wasde_calendar.csv, cme_pulls.csv</td>
<td class="px-4 py-3.5">53 verified events (+1 placebo)</td>
<td class="px-4 py-3.5">CSV</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</main>
<!-- Footer -->
<footer class="bg-white border-t border-blue-slate py-5 mt-auto">
<div class="max-w-7xl mx-auto px-6 text-center text-xs text-slate-600 font-medium">
August WASDE Study &bull; Hosted on Hugging Face Spaces
</div>
</footer>
<!-- JavaScript Logic -->
<script>
const hypothesesData = [
{ id: "H1", stmt: "August WASDEs produce the largest peak |1-min return| of any month.", ev: "REJECTED on core 2023–25 (Aug median 0.70% < Sep 1.43%); SUPPORTED on extended August sample 2015–2025, n=11 (median peak 1.57% > every other month; 2015 −5.90% = dataset max).", status: "SCOPE-DEPENDENT" },
{ id: "H2", stmt: "Late-peak events are continuation moves carrying dominant 12:00 impulse.", ev: "Impulse share (bars 0..5 |r| / window |r|) is 52.4–66.7% (all ≥ 50%) for all 7 late-peak events.", status: "SUPPORTED" },
{ id: "H3", stmt: "Quiet WASDEs (<0.35%) are true non-events with vol multiple ≈ 1.0.", ev: "Quiet events still run 2.0× window vol vs controls (3.0× at noon bar).", status: "REJECTED" },
{ id: "H4", stmt: "Placebo day 2025-10-09 shows no 12:00 ET spike.", ev: "Cancelled WASDE peak = 0.059% — below ALL 5 control session maxes (0.12–0.24%); vol multiple = 0.75×.", status: "SUPPORTED" },
{ id: "H5", stmt: "December-event illiquidity is expiry-driven (ZCZ in delivery month).", ev: "Dec events have 1/10/6 of 21 core bars vs 21/21 elsewhere; control sessions equally thin.", status: "SUPPORTED" },
{ id: "H6", stmt: "Post-WASDE vol normalizes fast: RV5 half-life < 10 min for strong events.", ev: "Strong-event half-lives 7–12 min, median 7 min.", status: "SUPPORTED" },
{ id: "H7", stmt: "ZCZ leads ZCU in the first minutes after release (xcorr lag +1).", ev: "Pooled xcorr peaks overwhelmingly at lag 0 (0.975); lag ±1 corrs are slightly negative (~−0.15).", status: "REJECTED" },
{ id: "H8", stmt: "Bar-OPEN labeling: info shock fully contained in 12:00 bar for strong events.", ev: "All strong events argmax at 12:00 on both vendor feeds; Spike Law 2a holds sample-wide.", status: "SUPPORTED" },
{ id: "H9", stmt: "Post-impulse direction persists: strong events keep r₀ sign at +60 min.", ev: "13/14 strong events agree; median |P₆₀| / |P₁₀| = 1.37.", status: "SUPPORTED" },
{ id: "H10", stmt: "Price discovery fast in variance, slow in path length (t80 ~ 35-40 min).", ev: "t80 range 34–43 min, median ~38 min.", status: "SUPPORTED" },
{ id: "H11", stmt: "August WASDE daily direction predicts +10-session return.", ev: "Daily hit rate 11/20 = 0.55 ≈ chance.", status: "REJECTED" },
{ id: "H12", stmt: "August daily shock scales with pre-event 20-session realized vol.", ev: "Pearson corr(|event_ret|, pre_rv20) = −0.087.", status: "REJECTED" },
{ id: "H13", stmt: "Daily trajectory set by move size in pre-vol units (move_z).", ev: "Move size does not separate continuations (2.22) from reversals (2.09). Circular proxy renamed.", status: "RETIRED" },
{ id: "H13b", stmt: "Daily trajectory set by TRUE fundamental surprise (yield revision z-score).", ev: "Median |rev_yield_z| continuation 0.406 (n=10) vs reversal 0.526 (n=4).", status: "REJECTED" },
{ id: "H14", stmt: "Pre-noon drift does not predict r₀ sign in 11-year August sample.", ev: "Sign-agreement rate = 6/11 (54.5% ≈ chance).", status: "SUPPORTED" },
{ id: "H15", stmt: "At 1-min scale, August strong events hold spike sign at +60 min.", ev: "6/7 strong Augusts hold sign at +60 min.", status: "SUPPORTED" },
{ id: "H16", stmt: "PRE-REGISTERED OOS: Aug 12, 2026 WASDE will be (i) vol-event, (ii) hold sign if strong, (iii) half-life ≤ 17 min.", ev: "Pending Aug 12, 2026 live release evaluation.", status: "PRE-REGISTERED" },
{ id: "H17", stmt: "Options expected move correlates with |r₀|, and median |r₀| / implied_move < 1 (VRP).", ev: "corr = −0.068 (REJECTED), but median |r₀| / implied_move = 0.328 < 1.0 (VRP SUPPORTED ~3:1).", status: "PARTIALLY SUPPORTED" },
{ id: "H18", stmt: "IV crush: ATM IV falls ≥ 20% in ≥ 8/11 Augusts.", ev: "IV crush ≤ -15% in only 4/11 Augusts (median crush = +0.9%).", status: "REJECTED" },
{ id: "H19", stmt: "Direction set by fundamental surprise vs consensus.", ev: "Pending user consensus survey sources.", status: "PROPOSED" },
{ id: "H20", stmt: "Quotes anticipate: 11:59 top-of-book depth ≤ 50% in ≥ 8/11 Augusts.", ev: "Top-of-book depth ratio ≤ 50% in 10/11 Augusts (90.9%). Median depth collapse = 85.8%.", status: "SUPPORTED" },
{ id: "H21", stmt: "Price impact per unit surprise decreases in pre-event depth.", ev: "corr(11:59 depth, impact_per_z) = −0.385.", status: "SUPPORTED" },
{ id: "H22", stmt: "Stair-step events show higher post-release trade volume follow-through than spike-hold.", ev: "Post-release trade volume ratio is 2.86× in stair-step vs 1.51× in spike-hold events.", status: "SUPPORTED" },
{ id: "H23", stmt: "Corn-specific share of shock is larger in August than in other months.", ev: "Common ag model co-explains 91.0% of corn variance in August vs 24.9% in non-August months.", status: "REJECTED" }
];
function showTab(tabId) {
['findings', 'figures', 'hypotheses', 'data'].forEach(t => {
document.getElementById('tab-' + t).classList.add('hidden');
document.getElementById('tab-btn-' + t).classList.remove('active');
});
document.getElementById('tab-' + tabId).classList.remove('hidden');
document.getElementById('tab-btn-' + tabId).classList.add('active');
}
const figuresData = {
1: {
img: "reports/figures/fig_august_vs_months_v2.png",
desc: `<h3 class="font-subheader text-base mb-3">Figure 1 Breakdown</h3>
<ul class="list-disc pl-5 space-y-2">
<li><strong>Panel (a) Peak Spike by Month</strong>: Scatter plot of peak |1-min r| in 11:50–12:10 ET across 35 monthly WASDEs (+ 1 placebo). On 2023–25 alone, August median is 0.70%, but across the 11-year August extension (2015–25) August median is <strong>1.57%</strong> (highest of all months). Highlights clean placebo day (cancelled Oct 2025: 0.059%).</li>
<li><strong>Panel (b) All August WASDE Price Paths</strong>: 1-min normalized price paths P_norm (11:30 to 13:00 ET) for all 11 August WASDE releases (n=11).</li>
</ul>`
},
2: {
img: "reports/figures/fig_august_paths_smallmult.png",
desc: `<h3 class="font-subheader text-base mb-3">Figure 2 Breakdown</h3>
<ul class="list-disc pl-5 space-y-2">
<li><strong>Spike-Hold (Red, n=6)</strong>: 2015 (r₀ = -5.90%), 2016 (-1.61%), 2017 (-2.88%), 2019 (-4.22%), 2021 (+3.94%), 2025 (-1.57%). Immediate 12:00 impulse holding or expanding sign at +60 min (<strong>H15 SUPPORTED</strong>).</li>
<li><strong>Stair-Step (Brown, n=4)</strong>: 2018 (-0.33%), 2020 (+0.16%), 2022 (+0.63%), 2023 (-0.05%). Multi-wave absorption over 5–10 minutes following release.</li>
<li><strong>Spike-Reverse (Blue, n=1)</strong>: 2024 (r₀ = -0.70%, P₆₀ = +1.51%). Initial downward spike reversed within 3 minutes to rally +1.51% at +60 min.</li>
</ul>`
},
3: {
img: "reports/figures/fig_fundamental_chain.png",
desc: `<h3 class="font-subheader text-base mb-3">Figure 3 Breakdown</h3>
<ul class="list-disc pl-5 space-y-2">
<li><strong>Panel (a) NASS Crop Condition vs WASDE Yield Revision</strong>: Early-August NASS Good + Excellent % rating vs August WASDE Corn Yield Revision in bu/ac (2006–2025, n=20). Linear regression fit (<code>r = +0.860</code>) shows strong predictive power of condition ratings for yield revisions.</li>
<li><strong>Panel (b) Yield Revision Z-score vs Realized 1-Min Shock r₀</strong>: August WASDE yield revision z-score vs initial 1-min log return r₀ (%). Positive yield revisions trigger downward price shocks (<code>r₀ < 0</code>) while negative yield revisions trigger upward price shocks (<code>r₀ > 0</code>).</li>
</ul>`
},
4: {
img: "reports/figures/fig_trade_footprint.png",
desc: `<h3 class="font-subheader text-base mb-3">Figure 4 Breakdown</h3>
<ul class="list-disc pl-5 space-y-2">
<li><strong>Panel (a) Follow-through Trade Volume Ratio</strong>: Post-release (+1 to +10 min) trade volume relative to 12:00 bar volume for Spike-Hold (n=6, median <strong>1.51×</strong>) vs Stair-Step (n=4, median <strong>2.86×</strong>) events (<strong>H22 SUPPORTED</strong>).</li>
<li><strong>Panel (b) Trade Execution Count Ratio</strong>: Post-release (+1 to +10 min) trade message count relative to 12:00 bar trade count for Spike-Hold (2.25× median) vs Stair-Step (3.46× median) events.</li>
</ul>`
},
5: {
img: "reports/figures/fig_cross_commodity.png",
desc: `<h3 class="font-subheader text-base mb-3">Figure 5 Breakdown</h3>
<ul class="list-disc pl-5 space-y-2">
<li><strong>Panel (a) August WASDE Cross-Commodity Lockstep</strong>: Realized Corn 1-min Return r₀ (%) vs Joint Soybean (ZS) & Wheat (ZW) Predicted Return across 11 August WASDEs (<code>R² = 91.0%</code>).</li>
<li><strong>Panel (b) Cross-Commodity Variance Decomposition (R²)</strong>: Variance explained by common ag complex in August WASDEs (<strong>91.0%</strong>) vs Non-August monthly WASDEs (<strong>24.9%</strong>). August releases drop first survey estimates for both corn and soybeans simultaneously (<strong>H23 REJECTED</strong>).</li>
</ul>`
}
};
function selectFigure(num) {
for (let i = 1; i <= 5; i++) {
const btn = document.getElementById('fig-btn-' + i);
if (i === num) {
btn.className = "fig-btn bg-blue-slate text-white font-semibold p-3.5 text-xs text-left shadow-sm";
} else {
btn.className = "fig-btn bg-white border border-blue-slate text-blue-slate p-3.5 text-xs text-left hover:bg-slate-50 font-medium";
}
}
document.getElementById('figure-img').src = figuresData[num].img;
document.getElementById('figure-desc').innerHTML = figuresData[num].desc;
}
function getPillClass(status) {
if (status.includes('SUPPORTED')) return 'pill-supported';
if (status.includes('REJECTED')) return 'pill-rejected';
if (status.includes('SCOPE')) return 'pill-scope';
if (status.includes('PRE-REGISTERED')) return 'pill-prereg';
return 'pill-retired';
}
function renderHypothesesTable(filter) {
const tbody = document.getElementById('hypotheses-body');
tbody.innerHTML = '';
hypothesesData.forEach(h => {
if (filter === 'ALL' || h.status.includes(filter)) {
const row = document.createElement('tr');
row.className = "hover:bg-ivory transition-colors";
row.innerHTML = `
<td class="px-4 py-3.5 font-mono font-bold text-blue-slate">${h.id}</td>
<td class="px-4 py-3.5 font-medium text-onyx">${h.stmt}</td>
<td class="px-4 py-3.5 text-slate-700">${h.ev}</td>
<td class="px-4 py-3.5 text-center">
<span class="px-2.5 py-1 font-bold text-[10px] tracking-wide uppercase ${getPillClass(h.status)}">
${h.status}
</span>
</td>
`;
tbody.appendChild(row);
}
});
}
function filterHypotheses() {
const val = document.getElementById('status-filter').value;
renderHypothesesTable(val);
}
// Initial render
renderHypothesesTable('ALL');
</script>
</body>
</html>