Bell Statistics

What kind of metric is this?

Metrics fall into three statistical shapes: binary outcomes that either happened or did not, counts of how many times something occurred, and continuous quantities that can take any value. Which one you have decides the test, the variance and the sample size.

Also called
binary metric, count metric, continuous metric, metric taxonomy, types of metric
Allon Korem

Written by Allon Korem

Chief Executive Officer

Last updated

In plain English

Before choosing a test, classify the metric. A binary outcome happened or it did not: converted, churned, clicked. A count records how many times: sessions per user, articles read, support tickets raised. A continuous quantity can take any value in a range: revenue, time on page, load latency. The three behave differently enough that treating them alike is the source of a good deal of quietly wrong analysis.

The most useful thing the classification buys you is knowing where the variance comes from. For a binary metric, variance is fully determined by the rate — p(1 − p) and nothing else — which is why no separate estimate is needed and why a z-test applies. It also means the noise is not something you can reduce by measuring more carefully; at a 3% conversion rate the coefficient of variation is about 5.7, and that is a property of the metric rather than of your instrumentation. Continuous metrics are the opposite: their variance has to be estimated from the data, which is what the t-distribution exists to account for.

Counts sit awkwardly between the two and are the most frequently mishandled. They are non-negative, usually skewed, and their variance tends to grow with their mean rather than staying fixed. The classical model is Poisson, where variance equals the mean — but real product counts are almost always overdispersed relative to that, because users differ enormously in how much they do anything. Sessions per user is not Poisson; it is a mixture of very light and very heavy users, and applying Poisson assumptions understates the variance and produces confidence intervals that are too narrow.

The sample-size consequences are large and worth internalising. A binary metric at a low base rate is far noisier than its tidy appearance suggests, and detecting a 5% relative lift on a 3% conversion rate takes roughly 100,000 users per arm. A continuous metric with a long right tail — revenue per user, where a handful of customers dominate — can need more still, which is why revenue is so often relegated to a secondary metric despite being what the business runs on.

One practical move follows from all this. Converting a skewed continuous metric into a binary one — "spent more than £50" rather than "amount spent" — throws away magnitude information and frequently produces a more sensitive test, because it removes the tail that was driving the variance. Whether that trade is worth making depends on whether the business question is about how many customers cross a threshold or about total revenue, and that is a decision to make before the test rather than after seeing which version was significant.

The formula

One variance expression per type. Almost everything about which test applies and how much traffic it needs follows from these three lines.

Binary
Var = p ( 1 − p )

Determined entirely by the rate. Nothing to estimate, which is why proportions get a z-test — see conversion rate.

Count (Poisson)
Var = λ = mean

The classical model, and usually optimistic. Real product counts are overdispersed because users differ in activity level.

Count (overdispersed)
Var = μ + μ² / k

Negative binomial. The extra term is the user-to-user heterogeneity Poisson ignores, and it is rarely small.

Continuous
Var = σ², estimated from the sample

Has to be measured, which is what the t-distribution's heavier tails account for — see the two-sample t-test calculator.

Comparable noisiness
CV = σ / μ

Binary at p = 0.03 gives 5.68; revenue per user often exceeds 10. Sample size scales with the square of this.

Worked example

A team can measure the same checkout change three ways: as a binary conversion (did the user purchase), as a count (number of items purchased), or as a continuous amount (revenue per user). They want to detect a 5% relative improvement at 80% power and need to know what each choice costs in traffic.

Binary: conversion rate
3.0%, CV = 5.68
Count: items per user
mean 0.048, variance 0.19 (overdispersed)
Continuous: revenue per user
mean £2.10, SD £24.60, CV = 11.7
Required n — binary
≈ 101,000 per arm
Required n — count
≈ 129,000 per arm
Required n — revenue
≈ 428,000 per arm

The same business question costs 101,000 users per arm as a conversion metric and 428,000 as a revenue metric — a factor of four.

Revenue is the metric the business actually cares about and the one it can least afford to test on. At this traffic the conversion version reads in about three weeks and the revenue version in three months, by which point the answer is no longer useful. That gap is why conversion is so often the primary and revenue a guardrail, and it is a compromise rather than a preference. Two things are worth checking before accepting it. First, whether the revenue tail can be tamed: capping at a sensible percentile typically cuts the required sample substantially and changes the question only slightly. Second, whether conversion and revenue actually move together for this kind of change — if the variant converts more people at lower basket values, optimising conversion is optimising against the business, and only the slower metric would ever reveal it.

Common misconceptions

A conversion rate is a simple metric, so it does not need much traffic.
Low-rate binary metrics are among the noisiest things you can measure. At a 3% rate the coefficient of variation is about 5.7, and the required sample scales with its square. The tidiness of a percentage hides the fact that most users contribute a zero, which is exactly what makes the average unstable.
Counts can be analysed like any other numeric metric.
Their variance grows with their mean and real product counts are overdispersed — sessions per user is a mixture of very light and very heavy users, not a Poisson process. Applying Poisson assumptions understates the variance and yields confidence intervals that are too narrow, with nothing in the output signalling a problem.
Turning a continuous metric into a binary one loses information, so it is always worse.
It discards magnitude and often gains sensitivity, because it removes the tail that was driving the variance. Whether the trade is right depends on the question: if you care how many customers cross a threshold, the binary version is a better match anyway. What matters is choosing before the test, not after seeing which version reached significance.

Frequently asked questions

Which test goes with which metric type?
Binary metrics get a two-proportion z-test, or a chi-square test when laid out as a table. Continuous metrics get a Welch t-test, or a rank-based test such as Mann-Whitney when the distribution is badly skewed. Counts are usually handled with a t-test at experiment sample sizes, since the central limit theorem is doing the work, or with a negative binomial model when the overdispersion needs modelling explicitly.
Why is revenue per user so much harder to test on?
Because most users contribute zero and a small number contribute enormously, which gives it a coefficient of variation often above 10 — against roughly 5.7 for a 3% conversion rate. Since sample size scales with the square of that quantity, revenue can need four or five times the traffic for the same relative effect. Capping the extreme values usually reduces the requirement substantially and is worth doing with a threshold fixed in advance.
What is overdispersion and how do I know if I have it?
It means the variance of a count exceeds what a Poisson model predicts, which for Poisson is that variance equals the mean. Check by computing both on your data: if the variance is several times the mean, you have it, and in product analytics you almost always do because users differ so much in activity. The practical consequence is that Poisson-based intervals are too narrow, so use a negative binomial model or bootstrap the interval instead.

Related terms

  • Conversion rate

    Three arbitrary choices wearing a percentage sign — and the reason two teams report different rates for the same week.

  • Primary metric

    The one number the decision hangs on — nominated before the data arrives, which is the entire point.

  • Ratio metric

    When the denominator is random too, the ordinary standard error is wrong — and the interval it produces is too narrow.

  • Variance

    Spread in squared units — awkward to read, and the quantity every sample-size formula is built on.

Calculate it

  • Chi-square test

    Test a contingency table of counts for association — any number of rows and columns.

  • Two-sample t-test

    Compare the average of two independent groups — plan the sample size, then test the result.

Knowing the term is the easy part

Applying it to a live measurement problem is the part that goes wrong. If you are designing an experiment, reading a result you do not trust, or trying to work out what your marketing actually caused, that is the work we do.

References