Problem
Almost every A/B test metric is either a count metric or a ratio metric, and the names are confusing. Ratio metrics are harder to work with because their denominator is random. An analyst who misses the difference may analyze a per-session metric as if sessions were the randomized units.
Example from the article: with users as the randomization unit, revenue per user and clicks per user are count metrics, while revenue per session and clicks per page view are ratio metrics.
Solution in brief
Compare the unit of analysis with the unit of randomization. If they are the same, the metric is a count metric and the sample mean estimates it. If the unit of analysis is finer, the metric is a ratio of two per-unit means.
Questions this case answers
- How to classify an experiment metric and pick its estimator when the unit of analysis differs from the unit of randomization
- How to tell whether an A/B test metric is a count metric or a ratio metric?
- How to estimate a per-session or per-page-view metric when users are the randomization unit?
- How to know which A/B metrics need extra care in estimation and variance?
Tools and methods
- Sample mean — estimator for count metrics.
- Ratio of sample means — estimator for ratio metrics.
Google or a one-time email code. No password.