CUPED: make subscription A/B tests more precise
Understand CUPED with worked calculations: pre-experiment history, variance reduction, adjusted revenue, confidence intervals, and mobile testing limits.
Article summary
- CUPED removes some predictable variation using a pre-existing variable related to the outcome.
- In an idealised example, 36% lower variance means 20% lower standard error—not the same percentage.
- Adjusted revenue is an estimation device, not a replacement for collected payments in accounting.
- Existing users may provide useful history; newcomers at their first paywall often do not.
- Sound protocols, tracking integrity, and equally mature cohorts remain essential.
Summarize this article with
Your app already has subscribers, regular users, and months of data, yet revenue experiments remain noisy. A handful of annual purchases shift the mean while many users pay nothing during follow-up. Before seeking more traffic, ask whether some variation was predictable before the test.
CUPED uses pre-experiment information to reduce a metric’s variance. It can improve precision without creating users or shortening the time needed to observe renewals. All numerical examples here are fictional, not firstapp client results.
1. Why experiment revenue is noisy
Some users buy nothing, some monthly, and a few annually. Randomisation makes groups comparable on average over repeated experiments, not identical in every realised test.
By chance, B might include more users who already spent heavily. Some observed advantage can reflect that initial difference. Raw results remain useful; CUPED estimates the difference while accounting for a selected historical predictor. It reduces an identified noise source rather than manufacturing a winner.
Newsletter
Once a week.
Last issue
We opened 10 apps to see how they sell a subscription.
+534 people read us each week
2. What is CUPED?
CUPED stands for Controlled-experiment Using Pre-Experiment Data. Its simple form adjusts test outcomes using information known before exposure. The original paper by Deng, Xu, Kohavi, and Walker explains the adjustment and variance reduction.
| Component | Example |
|---|---|
| Population | Existing non-subscribers eligible for premium |
| Assignment | Random, persistent A/B allocation |
| Outcome Y | Revenue net of refunds within 30 days of assignment |
| Historical X | Usage or spending measured before assignment |
| Target effect | Difference in mean Y estimated using the planned adjustment |
X need not be the same revenue measure as Y: prior usage may predict it. Its definition and calculation must fit the analysis plan.
3. Calculate a CUPED adjustment
Adjusted outcome = Y − θ × (X − mean X).
Y is the test outcome; X is historical information. In the simple theoretical model, optimal θ is covariance(X,Y) divided by variance(X). Use a common coefficient and centring reference across groups, with appropriate estimation and uncertainty handling.
A two-group example
Assume the following means, with consistently defined monetary X and an illustrative θ of 0.8—not a reusable app setting:
| Measure | A | B |
|---|---|---|
| Historical mean X | €4 | €4.20 |
| Observed test mean Y | €5 | €5.35 |
| Centring mean X | €4.10 | €4.10 |
| Adjusted mean | €5.08 | €5.27 |
A: 5 − 0.8 × (4 − 4.10) = €5.08. B: 5.35 − 0.8 × (4.20 − 4.10) = €5.27.
The raw €0.35 difference becomes €0.19 adjusted, removing part associated with the initial imbalance. B still generated €5.35 observed mean revenue. Adjustment changes the estimator, not actual receipts.
4. Separate variance, precision, and duration
With one covariate and an optimal coefficient in a simple model, residual variance relates to 1 − ρ², where ρ is correlation with the outcome. These are mathematical illustrations, not client measurements:
| Assumed correlation | Variance remaining | Standard error remaining |
|---|---|---|
| 0.2 | 96% | About 98% |
| 0.6 | 64% | 80% |
| 0.8 | 36% | 60% |
At 0.6 correlation, variance falls 36%, standard error 20%, because standard error depends on the square root of variance. Under comparable assumptions this can reduce required sample size for a given power. Actual benefit depends on historical coverage, model, metric, and population.
Statistical traffic savings do not make day-30 revenue observable at day 10, or remove recruitment-period and behavioural coverage requirements.
5. A narrower interval does not mean B wins
Using illustrative standard errors and normal 95% intervals:
| Analysis | Estimated B − A | Standard error | Approximate interval |
|---|---|---|---|
| Raw | +€0.35 | €0.20 | −€0.042 to +€0.742 |
| Adjusted | +€0.19 | €0.16 | −€0.124 to +€0.504 |
Adjusted precision improves, but both decreases and increases remain compatible. CUPED has not created a winner. Reporting only a favourable p-value would hide how estimation changed.
Show raw and prespecified adjusted results, uncertainty, and the historical variable’s rationale. Economic importance also matters.
6. When is CUPED relevant to an app?
Investigate when existing users have potentially predictive history: former-payer resubscription offers, premium presentation to established free users, subscriber-feature experiments, or retention interventions linked to earlier activity.
A first-open paywall often has little individual history. Missing history is not zero consumption. Missing-data variants or other pre-treatment covariates require evaluation, not zero-filling plus a claimed power gain. GrowthBook’s CUPED and post-stratification documentation also illustrates why implementation details matter when tools use related labels.
7. Build history without looking forward
For assignment on the 10th at 15:00, a seven-day historical feature must end before exposure—not be recalculated three days later using treatment-affected behaviour. With rolling entry, cut-offs can be individual; one calendar interval may not precede everyone’s assignment.
Document unit ID, assignment time, historical bounds, calculation version, and outcome window. Check whether missing-history users are newer, on another platform, or affected by tracking faults. Excluding them changes the conclusion’s population.
Subscription billing schedules matter: seven-day history may poorly predict a future annual payment despite technically complete data.
8. Set the protocol before analysis
| Decision | What must be verifiable |
|---|---|
| Population | Users and cohorts covered by the conclusion |
| Metric | Outcome and defined denominator |
| History | Pre-exposure information, window, and coverage |
| Estimation | Adjustment, coefficient, uncertainty calculation |
| Missing data | Planned handling and affected-user checks |
| Timing | Recruitment, maturity, stopping rule |
| Diagnostics | Identity, assignment, events, group consistency |
Historical evaluation or A/A checks can examine the procedure, but do not validate every future experiment. Trying many adjustments after seeing results and choosing the winning one adds selection that must be accounted for.
9. What CUPED cannot repair
Regression cannot fix misinstrumented screens, unstable assignment, or purchases linked to the wrong person. SRM checks investigate some imbalances; paywall test sizing addresses traffic, effect size, and power.
CUPED complements them. It neither validates every measurement choice nor legitimises stopping at the first favourable result.
firstapp’s role
In onboarding and subscription-offer work such as Wilo, Ainoha, and Leets, the business decision comes before the method. Advanced analysis helps only when data, tools, and team resources support correct implementation. Our subscription app Growth support connects this reasoning to product variants; statistical adjustment is scoped with those responsible for analysis.
FAQ
Does CUPED work without historical data?
Classic CUPED requires useful pre-experiment information. Without individual history, benefit may be limited. Other covariates or methods have their own assumptions.
Does CUPED halve sample size?
Not generally. Gains depend on predictor–outcome relationships, coverage, and estimator. Another company’s result is not a promise for your app.
Must we already have run A/B tests?
No. Ordinary product usage can supply history. Quality, pre-exposure availability, and predictive relevance matter.
Is adjusted revenue additional money earned?
No. It estimates treatment effects; actual receipts remain those recorded by billing systems.
Can we enable CUPED after a non-significant result?
Clearly labelled exploration can be informative. Selecting an adjustment because it makes results favourable differs from prespecification; confirmatory decisions must account for that selection.
Does CUPED replace equal cohort maturity?
No. A 30-day outcome requires equivalent follow-up. Adjustment cannot compensate for an unaddressed maturity difference.