Chapter 12 — Postmortem Report: Capstone

Coincidence or Causation?

16 min

One last check before the autopsy

The year is 2184. At Vault-9, Kotomarket’s black box has been opened, eleven cases have been investigated, and the postmortem report comes next. But QUERY stops at the archive door.

QUERY: “Before you write ‘because of,’ answer one question. You know the promo was followed by a collapse in . How do you know the first caused the second? I checked. Repeatedly. ‘After’ does not mean ‘therefore.’”

Here is a fact from case #6: the “first month for $0.01” promo launched in July 2183. M1 retention for before the launch was about 60%; starting with the July cohort, it was about 25%. The tempting conclusion is obvious: “The promo crushed retention.” A causal conclusion requires at least three things:

  1. There is an association. The numbers before and after the launch differ, and the gap is large. ✓
  2. The cause comes before the effect. The promo launched in July, and M1 retention then fell for the July cohort and the cohorts that followed. ✓
  3. Plausible alternative explanations have been checked. ✗ No one has checked them yet.

The first two points make the causal hypothesis plausible. Without the third, you cannot tell whether the change came from the promo, coincidence, a common cause, or another change happening at the same time.

Three alternatives an analyst must consider

1. Seasonality. Perhaps cats travel with their owners during July vacations and trips out of town, so pet-food subscriptions naturally have lower retention during those months. To check seasonality, compare the same period across different years: July with July, for example. Kotomarket has only one year of data, so seasonality has not been ruled out. The report should say that explicitly.

2. Customer mix. The promo ran in different places from Kotomarket’s usual traffic sources: coupon aggregators and discount channels. In that case, the same customers are not changing their behavior; the customer population itself is changing. Check this by comparing retention within comparable channels and by comparing each channel’s share before and after the promo. If retention barely changes within channels while the overall metric falls, the customer-mix hypothesis becomes more plausible. The problem may then lie in where and to whom the “$0.01” offer was shown rather than in the offer itself; adjusting the channels may make more sense than immediately canceling the promo.

3. Concurrent changes. During the same months, payments broke in Meowfield (case #5), the free-shipping threshold was raised, and a competitor launched its own subscription. Any of these events could have contributed to the decline.

Language that separates an analyst from a headline

Don’t write thisWrite this instead
The promo crushed retentionAfter the promo launched, retention for new cohorts fell from 60% to 25%
Faster delivery increases Faster delivery is associated with higher LTV
The drop in GMV was caused by ordersThe 11.7% drop in GMV decomposes into orders −13.3% and average order value (AOV) +1.8%

That third row is more than a wording detail: GMV = orders × AOV is an arithmetic identity. The percentages do not add here; the factors multiply. In this example, 0.867 × 1.018 − 1 = −0.117394, so GMV fell by about 11.7%. Decomposition shows where the change occurred, but it does not explain why it occurred. It locates the change without identifying its cause.

Nine city-spheres arranged in two loose groups; ghostly arrows from the naive comparison fade as a matched pair of spheres is connected by a sharp bridge of light.
Kotomarket’s nine cities.
City income is a confounder: it affects both access to fast delivery and customer LTV. Solid arrows show the causal relationships assumed in this example; the dashed arrow at the bottom shows the observed association between fast delivery and LTV, which could be mistaken for a direct causal effect without further analysis.

Confounder: a third cause

A confounder is a third factor that affects both the suspected “cause” and the “outcome.” It can create or distort the association you observe between them: the data may suggest that one affects the other even when a third factor explains some or all of the gap.

Consider an example from the Kotomarket archive. In cities with one-day delivery, average customer is $39.00; in cities with three-day delivery, it is $26.00. The gap is $12.60. A product manager concludes: “Let’s speed up delivery everywhere. We’ll raise LTV by more than twelve dollars.”

There is a problem with that conclusion: fast delivery is not assigned at random. Kotomarket introduces it where there is a warehouse and enough purchasing power, so wealthier cities are more likely to get it. Higher income can make fast delivery more likely while also increasing LTV. Part of the observed gap may therefore come from income differences rather than delivery speed.

Checking without an experiment

Here are four techniques you can use when you do not have an experiment:

  1. Stratification — compare fast- and slow-delivery cities within groups that have similar income. If the gap remains, delivery may still contribute to the difference; if it nearly disappears, income explained most of the original gap. In the exercise below, a weighted average of the within-group gaps reduces $12.60 to about $0.91.
  2. Look at the trend, not one point. Kotomarket’s had already started falling in March (case #3). Because the decline began before the promo, the promo cannot be the only cause.
  3. List alternatives explicitly and state what data would rule them out. “I can’t rule out seasonality: we have less than a year of history” is a sound analytical conclusion.
  4. Use causal language carefully. If something is still a hypothesis, call it a hypothesis.

Stratification only accounts for factors you thought of, that exist in the data, and that you actually used to split the data. Unknown and unmeasured differences between groups remain. Even after stratification, the conclusion is still a hypothesis, although it has been tested more carefully.

What A/B adds

An experiment addresses the main weakness of an observational comparison. Assignment to groups is random, so on average it is unrelated to known, unknown, or unmeasured baseline factors. The groups do not have to end up perfectly identical; random imbalances can still occur. If the experiment is run correctly and the groups differ only in the intervention, the difference in outcomes estimates the intervention’s effect, while a confidence interval for the difference measures the uncertainty in that estimate.

Kotomarket once got a similar comparison by accident. In July 2183, a rollout bug meant that about 10% of new registrations did not receive the promo. For this exercise, assume the bug split registrations randomly: everyone came from the same traffic source and the same month, and receiving the promo did not depend on user characteristics. That produced a comparison close to an A/B test. The second exercise in this lesson examines it.

Kotomarket’s nine cities. First compare the “fast” and “slow” cities without adjustment, then repeat the comparison within income groups. Watch what happens to the gap.
python · pandas
Practice: write the code
Test whether city income confounds the association “fast delivery → high LTV.” Calculate the naive LTV gap between fast- and slow-delivery cities, weighted by customers, then calculate the same gap within income groups and find the share of the original gap explained by city income.
python · pandas
Practice: write the code
Random holdout from July 2183: because of a rollout bug, some new registrations did not receive the promo. Calculate retention in both groups, the difference in proportions, its standard error, and the 95% confidence interval for the difference. Then see how much of the overall 35 pp decline can be attributed to the promo itself.
python
Check yourself
After the promo launched, M1 retention for new cohorts fell from 60% to 25%. There is less than a year of data, and no experiment was run. Which wording is appropriate for the report?
Check yourself
The naive LTV gap between fast- and slow-delivery cities is $12.60; within groups with similar income, it falls to about $0.91. What can you conclude from this comparison?
Key takeaways
  • “After” does not mean “therefore.” A causal conclusion requires an association, the cause to precede the effect, and plausible alternative explanations to be ruled out. The first two are usually easier to check; ruling out alternatives takes most of the work.
  • Three default suspects: seasonality, customer mix, and concurrent changes during the same period.
  • A confounder is related to both the suspected cause and the outcome, so it can distort the association you observe between them. In our example, city income is related to both delivery speed and .
  • Stratification is a basic technique when you do not have an experiment: after splitting cities by income level, the gap shrank from $12.60 to $0.91. But stratification only accounts for the factors used to define the strata, so it cannot prove causality.
  • What A/B adds: random assignment makes groups comparable on average, including on unknown factors. The holdout estimated that the promo reduced by about 14 pp out of the overall 35 pp decline.
  • Language is part of the method: “associated with,” “we observe,” and “working hypothesis.” Use “caused” only when the evidence supports a causal claim.

Now that you know how to avoid blaming the wrong suspect, you can put all eleven cases on one board.