Diagnosing Metric Changes
A structured approach to 'why did this number move?': checking data, decomposing the metric, segmenting and ruling out causes.
Intermediate · about 5 hours · difficulty 3/5
Learn first: Unit Economics and Revenue Metrics, Exploratory Data Analysis
"Why did revenue drop 8% yesterday?" is the question analysts get most often and the one where structure pays off most. Work through the causes in order rather than guessing.
1. Is it real?
- Check for data issues first: late-arriving data, a broken pipeline, tracking changes, timezone shifts, duplicate loads.
- Compare with a second source (billing vs events).
- Check seasonality and calendar: day of week, holidays, pay cycles, a promotion last year.
2. Decompose the metric
Break it into a metric tree: revenue = visitors × conversion rate × average order value. Find which factor moved. Then decompose that factor further (visitors = organic + paid + direct...).
3. Segment
Slice the moving component by device, country, channel, platform, app version, new vs returning. If the drop is concentrated in one segment, you are close to the cause.
4. Internal and external events
Line up releases, experiments, pricing changes, outages, marketing campaigns, competitor moves and news on the same timeline.
5. Mix vs rate effects
An average can fall because each segment worsened (rate effect) or because the mix shifted toward a lower-value segment (mix effect, a relative of Simpson's paradox). Compute both.
6. Conclude and size
State the likely cause, how much of the change it explains, confidence, and what to do next.
Pitfall: stopping at the first plausible story. Check whether it explains the full size of the change. You are ready to move on when you can take a metric drop and produce a one-page diagnosis following these steps.
Key concepts
- Ruling out data issues
- Seasonality and calendar effects
- Metric trees and decomposition
- Segment drill-downs
- Event timelines
- Mix vs rate effects
- Anomaly detection alerts
Mini project
Simulate a daily revenue dataset with a hidden drop caused by one device and country, then hand it to a friend or write a diagnosis walking through each of the six steps.
Check yourself
Average order value fell but every country's AOV rose. What happened?
Free resources
- Simpson's paradox (Wikipedia)
- Kaggle Learn (Kaggle)