Ratio-Metric A/B Test (Delta Method)
The delta-method ratio-metric test compares a ratio of sums, such as clicks per page view, between experiment arms using a variance that treats the randomisation unit, not each event, as the independent observation.
델타법 비율지표 검정은 페이지뷰당 클릭처럼 합계의 비율을 실험군 간에 비교할 때, 개별 이벤트가 아니라 무작위 배정 단위를 독립 관측으로 보는 분산을 쓰는 방법입니다.
Users are randomised but my metric is click-through rate per page view; how do I get a correct confidence interval when a user has many page views?
사용자 단위로 무작위 배정했는데 지표는 페이지뷰당 클릭률입니다. 한 사용자가 페이지뷰가 많을 때 올바른 신뢰구간은 어떻게 구하나요?
Sum the numerator and denominator per user, compute the ratio of means in each arm, and estimate its variance with the delta method using the variances and covariance of the user-level sums. Test the difference with a z test and form a CI for the relative lift too; the naive per-event variance usually understates the uncertainty.
When to use Ratio-Metric A/B Test (Delta Method)
- The metric is a ratio whose denominator is not the randomisation unit (per session, per page view, per order).
- Users contribute different numbers of events.
- You need a CI for the relative lift.
When to use something else
- The metric is already one value per randomised user; use a two-sample t test.
- There are few users per arm; consider a user-level bootstrap.
Assumptions and requirements
- Randomisation units are independent and each sits in one arm.
- Large-sample normality of the means.
- Denominators are non-negative with a positive total.
What the analysis reports
- Ratio per arm
- Difference and relative lift with delta-method CIs
- z test
- Naive per-event SE for comparison
How to report it
Click-through was [value] in treatment and [value] in control; the difference was [value] (delta-method SE = [value], 95% CI [value] to [value], p = [value]), a relative lift of [value]%.
Related methods
- Two-Proportion z Test
- CUPAC (Machine-Learning Predicted Covariate Adjustment)
- Bootstrap Confidence Interval
How this method is validated
이 방법의 검증 근거
- Independent computation. 1 reference test compares the results with direct computations (formulas, enumeration or simulation).
독립 계산. 직접 계산(식·열거·모의실험) 대조 참조 시험 1건 통과.
Tolerances are relative differences (absolute differences for values near zero). R comparisons and reference tests are re-run before each release of the analysis engine.
허용오차는 상대 차이입니다(0 근처 값은 절대 차이). R 대조와 참조 시험은 분석 엔진을 배포할 때마다 다시 돌립니다.
Run Ratio-Metric A/B Test (Delta Method) on Quorant
- Data you need
- a table (CSV or Excel) with an outcome variable, predictor (feature) columns, a treatment indicator and a unit (entity) ID
- Price
- 250 credits for one analysis up to 10,000 rows (complexity level 2); larger or wider data costs more. Optional methodologist review: 1200 credits.
- Checking
- Compared with independent computations
- Before you pay
- A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.