Geo-Experiment Design and Power Analysis

Summary

Geo-Based Regression (GBR), from Vaver & Koehler (2011), is the founding methodology for Google geo experiments. It randomly assigns non-overlapping geographic regions (“geos”) to treatment or control, injects an ad-spend differential in the treatment geos, and fits a single cross-sectional regression of each geo’s test-period response against its pretest-period response and its ad-spend differential. The coefficient on the spend differential is the return on ad spend (ROAS). A closed-form variance formula for that coefficient, combined with a simulation-based procedure over historical pretest data, lets an advertiser predict the confidence-interval half-width of ROAS before running the experiment — the design/power-analysis half of the geo-experiment toolkit that TBR complements with a low-geo-count alternative estimator.

Overview

A geo experiment partitions a region of interest (e.g., a country) into geos — non-overlapping areas small enough to be individually ad-targeted, but large enough that ad delivery and response-metric tracking are geographically accurate (postal codes are too small; the 210 U.S. Designated Market Areas, DMAs, are a standard choice). Each geo is randomly assigned to a control or treatment condition, and geo-targeted advertising realizes that assignment.

Every experiment has two periods (Figure 1 of the paper):

  • Pretest period — no campaign differences across geos; treatment and control geos operate at the same baseline.
  • Test period — the treatment geos’ campaigns are modified (spend increased or decreased), generating a nonzero ad-spend differential relative to control. The response metric may lag the spend change by a delay (e.g., offline sales take time to materialize after research/consideration), so the test period is extended by beyond the end of the spend change to capture the full effect.

GBR’s statistical power comes from replication across geos — more geos means a tighter confidence interval on the ROAS coefficient, exactly as more replicates tighten any regression estimate. This is the source of GBR’s one structural limitation: it needs tens or more geos to be well powered, which is why TBR was later developed for situations with only a handful of geos.

Main Content

The GBR linear model

GBR response model (Vaver & Koehler 2011, Eq. 1)

After the experiment, the results are analyzed with the cross-sectional regression, one observation per geo :

where is the aggregate response metric (e.g., offline sales, clicks) during the test period for geo , is the aggregate response metric during the pretest period for geo , and is the ad-spend differential — the difference between geo ‘s actual test-period ad spend and the spend that would have occurred without the experiment. The model is fit by weighted least squares with weights , which controls for the heteroscedasticity caused by geos of very different sizes.

and absorb seasonal differences in the response metric common to the pretest→test transition; , the coefficient of primary interest, is the return on ad spend (ROAS) — the incremental response generated per incremental dollar of ad spend.

Constructing the ad-spend differential

If there is no ad spend at all during the pretest period, is simply the treatment geo’s test-period spend. If spend is nonzero pretest and is then increased or decreased, the counterfactual (“what spend would have been without the experiment”) must be estimated. This uses a second, auxiliary linear model fit on the control geos only:

Ad-spend counterfactual model (Eq. 2)

fit by weighted least squares with weights , where are geo ‘s ad spend in the test and pretest periods. Because it is estimated only from control geos, whose campaigns are unmodified, this model characterizes the seasonal drift of ad spend absent any treatment effect, and its fitted value is the spend counterfactual.

The spend differential is then

— zero for control geos, since by construction they continue to operate at baseline. If instead the target aggregate spend change can be hypothesized directly (e.g., a planned budget change), can be prorated across treatment geos by their pretest response volume: for , otherwise.

Geo assignment and stratification

Geos are randomly assigned to treatment/control — randomization is what guards against hidden, unmeasured differences between geos being confounded with the treatment effect. Vaver & Koehler found that constraining the randomization improves precision: rank geos by pretest volume , partition the ranked list into groups of size (so the test fraction is ), and randomly select one geo from each group for treatment. This stratified assignment lowered the ROAS confidence-interval width by about 10% relative to unconstrained randomization in their data.

Variance of the ROAS estimate and the power/design procedure

Variance of (Vaver & Koehler 2011, Eqs. 4–5; derivation in Appendix)

For an experiment with geos, let and . Linear theory gives

where is the residual variance of the model, and is the (weighted) correlation between pretest response and spend differential across geos. The half-width of the two-sided 95% confidence interval for ROAS is .

This formula is the engine of a simulation-based design/power-analysis procedure that only needs historical geo-level pretest data (no live experiment):

  1. Carve a consecutive window of the historical response series into pseudo pretest and pseudo test periods whose lengths match the proposed experiment (e.g., 14 pretest days, 14 test days). Use the pseudo pretest window to estimate and weights .
  2. Randomly assign geos to treatment/control (with the size-stratified procedure above).
  3. Estimate or hypothesize for the pseudo test window (directly, or via the spend-counterfactual model / prorated ).
  4. Estimate from the reduced model (Eq. 7 — same as the full model but with the term dropped), fit on the pseudo pretest/test data.
  5. Plug into Eq. 4 to get for this random assignment; repeat over many random assignments, and over different pseudo-period windows obtained by circularly shifting the historical data by a random time offset, to avoid artifacts of one particular partition.
  6. The predicted CI half-width is , averaged over all the randomizations/shifts.

Circular shifting lets a limited pretest data set support power analyses for long hypothesized test periods, but reusing data points multiple times to build each pseudo-window makes the resulting CI-width estimate overly optimistic once the hypothesized experiment length exceeds the available historical window — a caution the paper demonstrates empirically (Figure 5: prediction tracks the realized confidence interval closely until this reuse point, then the two diverge).

Examples

Real experiment: paid-search click ROAS (Vaver & Koehler 2011 §4)

One Google advertiser ran a multi-week geo experiment with search ads shown in half of the (210 DMA) geos. Fitting Eq. 1 with successively longer windows of test-period data, the ROAS for clicks converged to incremental click per ad dollar — a cost per incremental click (CPIC) of $3, versus a naively reported CPC of $2.40 in AdWords (a 20% underestimate of the true incremental cost). The confidence interval was wide early in the test and narrowed quickly as more data accumulated, exactly as Eq. 4 predicts. Cumulative incremental clicks tracked cumulative incremental spend and then flattened the instant spend returned to baseline — for clicks, there is no lagged effect ().

A second response metric, offline sales, showed the opposite temporal pattern: cumulative incremental revenue kept climbing for some time after the spend differential returned to baseline before flattening, illustrating why the test period must be extended by a delay for metrics with a lagged behavioral response.

Design levers this procedure controls

Per the two design levers shared by GBR and TBR, GBR’s design/power analysis directly answers: (1) which geos go to treatment vs. control (via stratified randomization), (2) the size and sign of the spend differential (via the auxiliary spend model or a hypothesized ), and (3) how long the pretest/test/cooldown periods need to be to hit a target ROAS CI half-width — all before spending a dollar of incremental ad spend.

Connections

See Also