Customers & growth · Conversion rate optimization
Statistical analysis framework
Best for Startup to Growth
Use it when
Test results swing too much to read, or a metric is counted per page view while users are randomized, and you need correct variances before sizing or judging tests.
Skip it when
- You need the sample size, significance level and verdict for a test. Use Statistical significance framework, which takes this sheet as an input.
- You need the whole test run from plan and launch to the ship decision. Use A/B testing framework.
- You need to know what a whole channel adds beyond what would happen anyway. Use Incrementality testing.
- The test metrics are not yet defined or tied to a business goal. Use Conversion goal hierarchy first.
What to apply first and what to use instead are listed below.
Inputs
- Metric definitionsEach test metric with its numerator, denominator and the unit it is counted per, such as user, session, page view or order, from the metric spec.
- Randomization unitWhat the testing tool assigns at random, such as user, cookie or account, from the test setup.
- Unit-level dataValues per unit for each metric during the test and in a pre-test window, such as the seven to 28 days before each user's first exposure, from the data warehouse.
- Outlier ruleA cap per metric, either a high percentile or a known business maximum, agreed before launch.
- Test planPrimary metric, smallest lift worth detecting and error rates, from Statistical significance framework.
Steps
- Compare each metric's counting unit with the randomization unit, and mark every ratio metric where they differ, such as clicks per page view in a user-randomized test.
- Estimate variance at the randomization unit, using the delta method for each marked ratio metric so page views are not treated as independent.
- Cap extreme unit values at the agreed level in both groups alike, and record how many units were capped.
- Choose a pre-test covariate for each key metric, usually the same metric in the pre-test window, and confirm it was measured before assignment.
- Apply the pre-test adjustment, then record R squared and the traffic multiplier, which is one divided by one minus R squared.
- Hand the adjusted variances to sample sizing and the significance readout, and flag metrics where the adjustment gained little.
Output
A variance sheet for each test that shows how every metric's variance was estimated, capped and adjusted, ready for sizing and the significance readout.
- Metric and counting unit
- Randomization unit
- Variance method (simple or delta method)
- Cap and number of units capped
- Pre-test covariate and window
- R squared and traffic multiplier
- Adjusted standard error
Done when
- Every metric lists its counting unit next to the randomization unit.
- Every ratio metric whose unit differs from the randomization unit uses the delta method.
- Caps were set before launch and applied to both groups.
- Every adjusted metric uses a covariate measured before assignment, with its R squared shown.
- The sample size and the readout use the variances from this sheet.
Measure
Each quarter, track the median run length of tests on your key metrics and the share reaching a clear result, against your own previous quarters. Keep the traffic multiplier per metric. The analysis works when run lengths shorten or more tests reach a clear result, while the share of shipped winners whose gain holds after launch stays level.
Hypothetical example
Fernhill, a recipe site, randomizes by user but judges tests on clicks per page view. Its analyst had treated each page view as independent, which made intervals too narrow. With the delta method, the standard error grows by a third. Revenue per user has a few huge orders, so values are capped at the 99.9th percentile, which touches 40 users. Each user's clicks in the 28 days before exposure give an R squared of 0.36 and a traffic multiplier of about 1.56. The next test's planned run falls from five weeks to just over three.
Common mistakes
- Treating page views or sessions as independent when users were randomized. Estimate variance per user with the delta method.
- Choosing or changing the cap after seeing results. Set it before launch and apply it to both groups.
- Using a covariate that the test itself could change. Use only data from before each user's first exposure.
- Expecting the same gain for every metric and every user. Report the multiplier per metric, and keep users with no history in the analysis.
Sources
- Applying the Delta method in metric analytics: A practical guide with novel ideas · Alex Deng, Ulf Knoblich, Jiannan Lu, 2018
- Deep Dive Into Variance Reduction · Laura Cosgrove, Jen Townsend, Jonathan Litz, 2022
- CUPED · Statsig, 2025
Show all 4 sources
- Winsorization · Statsig, 2025
By company stage
Apply first
Nothing. You can start here.
Use instead
- Statistical significance framework
You need the sample size, significance level and verdict for a test. Use Statistical significance framework, which takes this sheet as an input.
- A/B testing framework
You need the whole test run from plan and launch to the ship decision. Use A/B testing framework.
- Incrementality testing
You need to know what a whole channel adds beyond what would happen anyway. Use Incrementality testing.
- Conversion goal hierarchy
The test metrics are not yet defined or tied to a business goal. Use Conversion goal hierarchy first.
Where it sits
Open the conversion rate optimization roadmapRecommended resources
No sponsored resources on this framework yet. Sponsored listings would be labelled here, never in search.
Progress is not saved until you have an account. Create a free account