Bell Statistics

What is a Type I error?

A Type I error is a false positive: the test reports an effect when there is none. Its long-run rate is the significance level you chose, so at the conventional five per cent, one experiment in twenty with nothing happening will still declare a winner.

Notation
α
Also called
false positive, type 1 error, alpha error
Allon Korem

Written by Allon Korem

Chief Executive Officer

Last updated

In plain English

A test can be wrong in two ways, and this is the one the whole apparatus of significance testing was built to control. A Type I error is announcing an effect that is not there. Its rate is set directly by the significance level: choose alpha = 0.05 and, across experiments where the null hypothesis is true, five per cent will produce a significant result anyway. That is not a flaw in the method — it is the price, stated in advance.

The cost of a false positive is unusually easy to underestimate because it arrives late and disguised. A false negative shows up immediately as a flat result and a dropped idea. A false positive ships. It gets built on, it becomes the justification for the next three experiments, and the lift never appears in the quarterly numbers — at which point the conversation is about attribution rather than about the test that started it. Most experimentation programmes that lose credibility lose it this way.

The rate is almost always higher than the number in the spec, and never because someone edited alpha. Testing several metrics multiplies the chances; that is multiple comparisons. Checking daily and stopping on the first green reading does the same across time — a fortnight of peeks turns 5% into roughly 25%. Slicing a null result by country, device and new-versus-returning until something appears is the same arithmetic again. Each of these is a way of taking more shots at the target while charging for one.

There is a second, quieter distortion. Because a false positive has to clear the significance threshold, the ones that survive are the results noise happened to inflate — so a spurious winner does not merely exist, it typically reports an impressive effect size. Combine that with low statistical power and it gets worse: when a test can barely detect real effects, a larger share of the things that do reach significance are noise, and all of them are overstated.

The defences are unglamorous and they work. Nominate one primary metric before the test starts and treat the rest as diagnostics. Fix the sample size in advance, or use sequential testing that is designed to be monitored. Correct when you genuinely must test a family of hypotheses. And treat a surprising win the way you would treat a surprising bug report: replicate it before you build on it. A cheap A/A test or a holdback is a small price for not spending a quarter on noise.

The formula

The rate itself is a definition rather than a derivation. What is worth computing is how quickly it inflates once a test is looked at more than once.

Definition
α = P( reject H₀ | H₀ true )

A long-run frequency across hypothetical repetitions, not the probability that a particular significant result is wrong.

Family-wise error over m independent tests
FWER = 1 − (1 − α)^m

3 metrics gives 0.14, 5 gives 0.23, 10 gives 0.40. The reason a single primary metric is worth more than any correction.

Bonferroni correction
α_each = α / m

Crude and always valid. Holm's step-down procedure controls the same rate with more power and is strictly better — see the chi-square test calculator for the count-data case.

False discovery rate
FDR = E[ false positives / total positives ]

Benjamini-Hochberg controls this rather than the family-wise rate. The right target when screening many metrics, where some false positives are acceptable if most findings hold.

Worked example

An experiment on a new onboarding flow reports a flat primary metric: activation is 22.1% against 22.0%, p = 0.74. Before closing it out, the analyst breaks the result down by acquisition channel, device, and new versus returning — nine segments in total — and finds that paid-social users on iOS activated 4.1 points higher, p = 0.03.

Primary metric
flat, p = 0.74
Segments examined
9
Nominal alpha per segment
0.05
P(at least one false positive)
1 − 0.95⁹ = 0.37
Bonferroni threshold
0.05 / 9 = 0.0056

p = 0.03 does not clear the corrected threshold of 0.0056. With nine segments there was a 37% chance of finding something at least this significant with nothing happening at all.

This is the single most common route to a Type I error in a product organisation, and it rarely feels like cheating — the analyst was being thorough. But the segments were chosen after seeing the data, and the effective number of chances is larger than nine once you count the segmentations that were considered and abandoned. The finding is not worthless: it is a hypothesis. The correct next step is to run a new experiment targeted at paid-social iOS users, powered for a four-point effect, and let that one decide. Building the roadmap on the segment result skips the only step that could have told you it was real.

Common misconceptions

Alpha of 0.05 means 5% of our significant results are false positives.
It means 5% of tests where nothing is happening produce a significant result. What share of your wins are false also depends on how often your ideas work. If one in ten does something, and power is 80%, roughly a third of your significant results will be false positives even with alpha held at 0.05.
We only ran one test, so our false-positive rate is 5%.
One test means one hypothesis, examined once, on one metric. Daily monitoring, several metrics and post-hoc segment slicing each multiply the number of chances the data had to clear the threshold. Count the opportunities rather than the experiments — that count is what sets the real rate.
A false positive is harmless because we would notice when the lift does not materialise.
Almost nobody does. By the time quarterly numbers come in, the shipped change is entangled with a dozen others and no one can attribute the gap to a specific experiment — which is exactly how a spurious result survives to justify the next three. A holdback group is the only cheap way to keep that check available.

Frequently asked questions

Which is worse, a Type I or a Type II error?
It depends entirely on what each costs you. Shipping something that does nothing wastes engineering time and pollutes the record used to plan future work; missing a real improvement costs the improvement. The conventional 5% and 20% encode a belief that the false positive is four times worse, which suits a mature product with many candidate ideas and fits an early-stage one much less well.
How do I reduce false positives without losing sensitivity?
Reduce the number of chances rather than tightening the threshold. One pre-registered primary metric, a fixed sample size looked at once, and no post-hoc segmentation will do more than any correction, and none of them cost power. When a family of hypotheses genuinely has to be tested together, Holm dominates Bonferroni at the same error rate. Tightening alpha is the last resort because it trades directly against power.
What is an A/A test and does it help here?
An A/A test splits traffic between two identical experiences and should therefore find nothing. Run enough of them and the share reporting significance should sit near your alpha; if it runs much higher, something in the assignment, logging or analysis is broken. It is the cheapest available audit of whether your platform's stated error rate is the real one.

Related terms

  • Multiple comparisons

    Test enough things and something will look significant — the arithmetic, and the four fixes.

  • Null hypothesis

    The assumption every test argues against, and the reason you can never prove two things are the same.

  • P-value

    How surprising your data would be if there were no effect — and the four things it is constantly mistaken for.

  • Sequential testing

    How to look at a running test without breaking it — and what peeking costs when you do not.

  • Significance level

    The false-positive rate you agree to in advance — a budget, and one most teams overspend.

  • Statistical significance

    A verdict about evidence, not about importance — and the difference is where most bad decisions live.

  • Type II error

    The false negative — invisible by nature, which is why nobody counts how many good ideas it kills.

Calculate it

  • A/B test sample size

    Size a two-proportion experiment before you launch, then read the lift and its interval once it lands.

  • Chi-square test

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

  • One-proportion z-test

    Test one observed rate against a fixed target — an SLA, a benchmark, a contractual floor.

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.