📊 Module 2: Event Stack Analyzer

Stack multiple events of the same type to see average ADIZ patterns before/after that event type

How it works: Select events (e.g., "all US destroyer transits"), align them at day 0, then average the ADIZ response across all instances. This reveals typical patterns you can't see in the regular visualizer where events occur on different dates.

Filter Events to Analyze

📊 Analyzing events...

📊 Summary Statistics

REACTION TIMING (When Does It Happen?)

Peak Occurs On ℹ️ On average, which day after the event sees the highest ADIZ? Day 0 = immediate, Day 3 = delayed reaction.

Day --

Avg Time to Peak ℹ️ Average days until each event reaches its maximum ADIZ. Shows how quickly reactions develop.

-- days

Peak Day ADIZ ℹ️ Average ADIZ count on the peak day. This is the typical highest point of the response curve.

--

REACTION SEVERITY (How Big Is The Response?)

Baseline ADIZ ℹ️ Average ADIZ in the 30 days BEFORE events. This is the "normal" level before the event occurs.

--

Post-Event ADIZ ℹ️ Average ADIZ in the 7 days AFTER events. Shows the immediate response level.

--

Avg Increase ℹ️ Average increase from baseline to post-event. Example: "+15" means China sent 15 MORE aircraft on average after this event type.

--

ADDITIONAL METRICS

Events Analyzed ℹ️ Number of events matching your filters that were stacked and averaged together.

--

Avg Peak ℹ️ Average highest ADIZ count seen anywhere in the window (not just on peak day). Shows maximum response across all days.

--

Median Peak ℹ️ Middle peak value (50th percentile). Less affected by extreme outliers like Pelosi visit. Shows "typical" response.

--

Average ADIZ Response Pattern (Mean ± Std Dev)

How to read this chart:
X-axis: Days before/after event (0 = event day). Example: Ship transit on Oct 10, Jan 20, and Mar 15 are ALL aligned at day 0.
Y-axis: ADIZ incursion count (average across all N stacked events).
Blue line: Average ADIZ response across all instances of this event type.
Shaded area: ± standard deviation (shows variability). Wide band = inconsistent, narrow = consistent.
Green line: Event date (day 0) - everything is aligned here.

Why this matters: Unlike the visualizer (which shows events on calendar dates), this stacks events on top of each other to reveal the typical pattern for this event type. You can see if ADIZ spikes immediately, if there's a pre-event buildup, or if effects persist for days/weeks.

🔥 Highest Peak Events

📉 Lowest Peak Events