Geo Pilots with Difference-in-Differences: Counterfactuals and Lift
Estimate a geo pilot with a documented counterfactual, distinguish baseline and counterfactual lift, and assess parallel trends, spillovers and clustered uncertainty.
The short answer
Subtract the control group’s change from the treated group’s change on a predefined outcome scale. A causal interpretation requires the control change to represent the treated group’s unobserved change without the pilot, plus suitable no-spillover and composition assumptions. Similar pre-trends support that argument but cannot prove it.
Key takeaways
- Choose the outcome scale before testing parallel trends.
- Do not treat similar pre-trends as proof.
- Label baseline versus counterfactual lift.
- Account for regional clustering and serial dependence.
- Evaluate economic uncertainty and generalization.
Direct answer: Subtract the control group’s change from the treated group’s change on a predefined outcome scale. A causal interpretation requires the control change to represent the treated group’s unobserved change without the pilot, plus suitable no-spillover and composition assumptions. Similar pre-trends support that argument but cannot prove it.
Define the counterfactual before choosing controls
The World Bank discussion of difference-in-differences identifies the parallel-path assumption: absent treatment, average changes would have matched. Choose whether this means absolute currency changes, normalized-index changes or log changes; these are different assumptions.
Inspect several relevant pre-periods, seasonality, customer composition and market shocks. A competitor closure in control regions alone can invalidate the comparison. A shared shock is removed only to the extent that its effect is comparable on the chosen scale. Matching pre-trends does not guarantee comparable future shocks.
Use the correct lift denominator
In a hypothetical normalized-index design, both groups start at 100; the treated group rises to 118 and control to 106. The difference-in-differences estimate is 12 index points. It equals 12% of the treated pre-period baseline, but 12/106 = 11.3208% of the estimated untreated post-period counterfactual. Label the denominator.
With treated baseline sales of $500,000 per week and a valid normalized-trend assumption, predicted untreated sales are $530,000 and observed treated sales are $590,000. Estimated incremental sales are $60,000. At an assumed 40% incremental contribution ratio, this yields $24,000 before a $20,000 weekly campaign cost, or $4,000 modeled net contribution.
Compare a compatible break-even threshold
The campaign needs $50,000 incremental sales to cover its weekly cost. This is 10% of pre-period baseline or 9.4340% of the $530,000 post-period counterfactual. Compare like denominators. A naive 18% before-and-after calculation gives $16,000 net contribution, four times the model estimate; neither figure should be called a known true causal result.
The observed point estimate only narrowly clears the threshold. Report its uncertainty and the consequences of model violations. Include stock availability, discounts, returns and other incremental costs rather than assume headline gross margin is the correct contribution ratio.
Respect the assignment unit and time dependence
Weekly observations within a region are often correlated. Resampling individual weeks as independent can understate uncertainty. Use inference appropriate to the geographic assignment, serial dependence and number of regions; very few regions can make standard approximations unreliable.
Randomize regions when feasible, even if individuals cannot be randomized. Predefine the duration and analysis. Do not extend a test solely until it produces a favorable result. For staggered rollout or varying effects over time, use a method appropriate to those features rather than mechanically applying a two-period estimator.
Decide what the pilot establishes
Examine placebo periods, alternate defensible controls and sensitivity to differential trends. These checks can reveal fragility but do not prove the identifying assumption. Record spillovers, anticipation and changes in measurement.
A local result need not generalize to other regions, seasons or a national campaign. Stage rollout around operational capacity and continued measurement, with an explicit decision rule tied to incremental contribution and downside.
Continue the analysis
Your checklist
- Document controls and counterfactual assumptions.
- Review differential shocks and spillovers.
- Calculate both lift denominators clearly.
- Use design-appropriate uncertainty.
- Prespecify analysis and rollout decisions.
Sources & further reading
- World Bank: Difference-in-differences assumptions
The control change must represent the untreated counterfactual change; pre-period checks do not establish the unobserved post-treatment path.