Type I and Type II Errors Formula

Type i and type ii errors are type I error (): rejecting H_0 when it is actually true (false positive).

The Formula

α=P(reject H0H0 true)\alpha = P(\text{reject } H_0 \mid H_0 \text{ true}), β=P(fail to reject H0H0 false)\beta = P(\text{fail to reject } H_0 \mid H_0 \text{ false})

When to use: Think of a medical test. Type I error: the test says you have a disease when you don't (false alarm). Type II error: the test says you're healthy when you actually have the disease (missed detection). A smoke alarm that goes off when there's no fire is a Type I error; one that stays silent during a real fire is a Type II error. You can't eliminate both—reducing one tends to increase the other.

Quick Example

Court trial analogy: Type I: Convict an innocent person (reject true H0)\text{Type I: Convict an innocent person (reject true } H_0\text{)} Type II: Acquit a guilty person (fail to reject false H0)\text{Type II: Acquit a guilty person (fail to reject false } H_0\text{)}

Notation

α=P(Type I error)=P(reject H0H0 true)\alpha = P(\text{Type I error}) = P(\text{reject } H_0 \mid H_0 \text{ true}). β=P(Type II error)=P(fail to reject H0H0 false)\beta = P(\text{Type II error}) = P(\text{fail to reject } H_0 \mid H_0 \text{ false}). Power =1β= 1 - \beta.

What This Formula Means

Type I error (α\alpha): rejecting H0H_0 when it is actually true (false positive). Type II error (β\beta): failing to reject H0H_0 when it is actually false (false negative).

Think of a medical test. Type I error: the test says you have a disease when you don't (false alarm). Type II error: the test says you're healthy when you actually have the disease (missed detection). A smoke alarm that goes off when there's no fire is a Type I error; one that stays silent during a real fire is a Type II error. You can't eliminate both—reducing one tends to increase the other.

Formal View

α=P(reject H0H0 true)\alpha = P(\text{reject } H_0 \mid H_0 \text{ true}); β=P(fail to reject H0Ha true)\beta = P(\text{fail to reject } H_0 \mid H_a \text{ true}); Power =1β= 1 - \beta

Worked Examples

Example 1

medium
Define Type I and Type II errors. A court uses 'innocent until proven guilty.' Identify which type of error corresponds to (a) convicting an innocent person, (b) acquitting a guilty person.

Answer

(a) Convicting innocent = Type I error. (b) Acquitting guilty = Type II error.

First step

1
Type I error (false positive, α\alpha): reject H0H_0 when H0H_0 is true; probability = α\alpha

See the full worked solution + why-it-works coaching

SetupKey insightWhy it worksCommon pitfallConnection

Unlock answer keys One Family plan — every worked solution, all subjects

Example 2

hard
A medical test has α=0.05\alpha = 0.05 and β=0.20\beta = 0.20 (Power = 0.80). If the true disease rate is 5% in the population: (a) in 100 truly diseased patients, how many will be missed? (b) In 1000 truly healthy patients, how many will get false positives?

Example 3

medium
A test has α=0.05\alpha = 0.05 and power 0.800.80 for a specific alternative. (a) Find β\beta. (b) Among 100 truly different samples, roughly how many will the test miss?

Common Mistakes

  • Swapping Type I and Type II - Type I rejects a TRUE null (false alarm), Type II misses a FALSE null (missed detection).
  • Believing you can shrink both errors at once for fixed sample size - lowering α\alpha raises β\beta; only more data shrinks both.
  • Calling a correct rejection an error - rejecting a false null is power (1β1-\beta), the desired outcome, not a mistake.

Why This Formula Matters

Every hypothesis test trades these two errors off against each other, so choosing α\alpha is really choosing how much false-positive risk you'll accept at the cost of false negatives. Students who can't tell the two apart can't reason about why you can't just set α\alpha to zero, or why a 'significant' result might still be a false alarm. Recognizing it by "Am I classifying a wrong decision by comparing what the test concluded against what is actually true?" — rather than by familiar numbers — is what lets a student tell it apart from power of a test and p-value and significance level α\alpha in a mixed problem set.

Frequently Asked Questions

What is the Type I and Type II Errors formula?

Type I error (α\alpha): rejecting H0H_0 when it is actually true (false positive). Type II error (β\beta): failing to reject H0H_0 when it is actually false (false negative).

How do you use the Type I and Type II Errors formula?

Think of a medical test. Type I error: the test says you have a disease when you don't (false alarm). Type II error: the test says you're healthy when you actually have the disease (missed detection). A smoke alarm that goes off when there's no fire is a Type I error; one that stays silent during a real fire is a Type II error. You can't eliminate both—reducing one tends to increase the other.

What do the symbols mean in the Type I and Type II Errors formula?

α=P(Type I error)=P(reject H0H0 true)\alpha = P(\text{Type I error}) = P(\text{reject } H_0 \mid H_0 \text{ true}). β=P(Type II error)=P(fail to reject H0H0 false)\beta = P(\text{Type II error}) = P(\text{fail to reject } H_0 \mid H_0 \text{ false}). Power =1β= 1 - \beta.

Why is the Type I and Type II Errors formula important in Math?

Every hypothesis test trades these two errors off against each other, so choosing α\alpha is really choosing how much false-positive risk you'll accept at the cost of false negatives. Students who can't tell the two apart can't reason about why you can't just set α\alpha to zero, or why a 'significant' result might still be a false alarm. Recognizing it by "Am I classifying a wrong decision by comparing what the test concluded against what is actually true?" — rather than by familiar numbers — is what lets a student tell it apart from power of a test and p-value and significance level α\alpha in a mixed problem set.

What do students get wrong about Type I and Type II Errors?

The procedure for type i and type ii errors is the easy part; the trap is swapping Type I and Type II. Asking "Am I classifying a wrong decision by comparing what the test concluded against what is actually true?" first is what keeps a correct-looking calculation from being attached to the wrong concept.

What should I learn before the Type I and Type II Errors formula?

Before studying the Type I and Type II Errors formula, you should understand: hypothesis testing, p value.