Here we document the technical details behind GrowthBook CUPED variance estimates. We first describe the mean or binomial case, and then summarize the ratio-metric extension.Documentation Index
Fetch the complete documentation index at: https://growthbook-preview.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Mean or Binomial Metric
We use the notation below and describe the approach in terms of revenue, though the same setup applies to any mean or binomial metric.- Let and denote post-exposure outcomes for control and treatment.
- Let and denote pre-exposure outcomes for control and treatment.
- Let ar{Y}_C, ar{Y}_T, ar{X}_C, and ar{X}_T denote the corresponding sample means.
- Let and denote the control and treatment sample sizes.
- Let denote the CUPED adjustment coefficient estimated from the pooled relationship between pre- and post-exposure values.
Absolute Effect
For absolute inference, the CUPED estimate is the difference in adjusted means: Using the usual variance algebra for a linear transformation, the variance is the sum of the adjusted treatment and control variances: where V_{adj,C} = rac{\sigma^2_{Y,C} + heta^2 \sigma^2_{X,C} - 2 heta\sigma_{XY,C}}{N_C} V_{adj,T} = rac{\sigma^2_{Y,T} + heta^2 \sigma^2_{X,T} - 2 heta\sigma_{XY,T}}{N_T}Relative Effect
For relative inference, GrowthBook reports lift relative to control: \hat{\Delta}_R = rac{ ilde{Y}_T - ilde{Y}_C}{ar{Y}_C} GrowthBook estimates the variance of relative lift with the delta method. Conceptually, this treats the relative effect as a smooth function of the sample means and propagates uncertainty from the joint covariance matrix of [ar{Y}_T, ar{X}_T, ar{Y}_C, ar{X}_C].Ratio Metric
For ratio metrics, GrowthBook applies the same idea to numerator and denominator components. The implementation:- builds sample means for the numerator and denominator in treatment and control,
- applies CUPED adjustments to the relevant components,
- forms the absolute or relative ratio effect, and
- uses the multivariate delta method to estimate the corresponding variance.

