Start studying
Module 9 · Sampling and Inference Module contents
Module 9  ·  Card 12 / 16intermediate

Type I and Type II Errors

A Type I error is rejecting a null hypothesis that is actually true, which is a false alarm.

A Type II error is failing to reject a null hypothesis that is actually false, which is a missed effect.

For example, launching a new page that does nothing is a Type I error, and dropping a page that works is a Type II error.

The significance threshold sets the Type I error rate, so testing at 0.05 accepts false alarms in 5% of tests where the null is true.

Lowering one error rate raises the other unless the sample grows, so the threshold is a trade-off.

Learn in depth ↓
Module 09 · Sampling and Inference · 16 concepts
In depth  /  15 lines

Type I and Type II Errors, in more detail

Every test can go wrong in 2 opposite ways, and naming them helps decide which is worse in a given case.

A Type I error is a false positive: acting on an effect that is not there.

A Type II error is a false negative: missing an effect that is there.

The Type I error rate is set directly by the significance threshold, called alpha.

With alpha at 0.05, about 5% of tests where the null is true still come out significant.

The Type II error rate, called beta, depends on the sample size, the true size of the effect and the noise in the data.

Medical screening is an everyday example: a false alarm worries a healthy patient, and a miss leaves an illness untreated.

Which error is worse depends on cost: a false alarm on a cheap change matters less than one on a costly rebuild.

Lowering alpha to 0.01 cuts false alarms but makes real effects harder to detect.

The only way to cut both at once is more data, or less noise in it.

The share of false alarms among significant results is a different number from alpha and can be much higher.

When few of the ideas being tested are real, many of the significant results can be false alarms.

In practice, teams choose both acceptable error rates before a test starts, based on the cost of each mistake.

Writing down the cost of each error first keeps the choice of threshold from being arbitrary.

The common misconception is that a 5% threshold means only 5% of significant findings are wrong, when that share can be far higher.

Want the full technical article? Wikipedia ↗
Test yourself

One question on this card. Every option explains itself once you pick, right or wrong.

Question 1
A team launches a new feature after a test shows a significant lift, but the feature actually has no effect. What happened?
Sampling and Inference

16 concepts in this module, then a graded test with every answer explained.

Study this module →
↑↓ move↵ openesc close