Type I and Type II Errors
Understand Type I and Type II errors, their probabilities, and the concept of power.
Try the Interactive Version!
Learn step-by-step with practice exercises built right in.
⚠️ Type I and Type II Errors
Type I Error (α)
A Type I error occurs when we reject a true null hypothesis.
In words: We conclude there's an effect/difference when actually there isn't one.
Probability of Type I error = α (the significance level)
Example:
- : The defendant is innocent (truth)
- : The defendant is guilty
- Type I error: Convicting an innocent person (reject true )
- Consequence: Innocent person punished
In medical testing:
- : Patient does not have disease
- Type I error: Diagnosing disease when patient is healthy
- Consequence: Unnecessary treatment, patient anxiety
Type II Error (β)
A Type II error occurs when we fail to reject a false null hypothesis.
In words: We conclude there's no effect/difference when actually there is one.
Probability of Type II error = β (often unknown)
Example:
- : The defendant is innocent (false; they actually committed crime)
- Type II error: Acquitting a guilty person (fail to reject false )
- Consequence: Criminal goes free
In medical testing:
- : Patient does not have disease
- Type II error: Saying patient is healthy when they actually have disease
- Consequence: Missed diagnosis, delayed treatment
Power of a Test
The power of a test is the probability of correctly rejecting when is true.
- High power (close to 1): Good chance of detecting true effect if it exists
- Low power (close to 0): High risk of missing true effect
Interpretation: If the alternative is true, power is the probability we'll find it.
Error Summary Table
| True | False | |
|---|---|---|
| Reject | Type I Error (prob = α) | Correct (prob = power) |
| Fail to Reject | Correct (prob = 1 − α) | Type II Error (prob = β) |
Worked Example
Scenario: Testing if a new drug is effective.
- : Drug has no effect
- : Drug has effect
- α = 0.05
Type I error (α = 0.05): Conclude drug works when it doesn't. Risk: 5% (set by significance level)
Type II error (β): Conclude drug doesn't work when it actually does. Risk: Unknown, but reduced by:
- Larger sample size
- Larger effect size
- Less variable data
Power = 1 − β: Probability we detect the drug's effect if it exists. Should be high (0.80 or 0.90 typical targets)
Factors Affecting Type I and Type II Errors
| Factor | Effect on α | Effect on β |
|---|---|---|
| Increase α (e.g., 0.05 → 0.10) | Increases Type I risk | Decreases Type II risk |
| Increase n (sample size) | No effect | Decreases (higher power) |
| Increase effect size | No effect | Decreases (easier to detect) |
| Increase confidence (reduce α) | Decreases | Increases (lower power) |
Trade-off Between Errors
Lowering α (e.g., from 0.05 to 0.01) automatically increases β. You can't simultaneously minimize both errors with fixed sample size.
Strategy depends on consequence:
- High Type I cost (e.g., convicting innocent): Use low α (e.g., 0.01)
- High Type II cost (e.g., missing disease): Use higher α (e.g., 0.10) or larger n
Sample Size and Power
To increase power for fixed α:
- Increase sample size n: More data provides stronger evidence
- Formula: Larger n → smaller SE → larger test statistic → higher power
Example: If power is too low (say 0.60), increasing n to 200 might increase power to 0.85.
AP Exam Tip
Know the definitions of Type I and II errors cold; these appear frequently. Context matters: identify which error is worse, then design accordingly. Power problems ask: "What sample size gives power = 0.90?" Use technology or power tables. Always interpret in context (what does rejecting/failing to reject mean for the actual situation?).
📚 Practice Problems
1Problem 1easy
❓ Question:
Define Type I and Type II errors. In the context of a legal trial, explain what each would mean.
💡 Show Solution
Type I error: Rejecting when is true. Probability is . Type II error: Failing to reject when is true. Probability is . In a trial: = defendant is innocent, = defendant is guilty. Type I: Convicting an innocent person (rejecting innocent/true ). Type II: Acquitting a guilty person (failing to reject innocent when guilt is true). Society typically considers Type I more serious, setting strict conviction standards (low ).
2Problem 2medium
❓ Question:
A medical test for a disease has and . Interpret each in context and compute the power.
💡 Show Solution
: If a person does NOT have the disease (true negative), there is a 1% chance the test incorrectly says they do (false positive). : If a person DOES have the disease (true positive condition), there is a 10% chance the test fails to detect it (false negative). Power = . This means the test correctly identifies disease presence 90% of the time when disease is present. A higher power is desirable for medical tests.
3Problem 3hard
❓ Question:
Describe two practical factors that affect the power of a hypothesis test and explain how each influences power.
💡 Show Solution
Factor 1 — Sample size (): Larger increases power because it reduces standard error, making it easier to detect true differences. A large sample produces a narrower sampling distribution, so the test statistic is more extreme when is true. Factor 2 — Significance level (): Larger increases power. Setting instead of makes it easier to reject , but increases the Type I error rate. There is a trade-off between power and Type I error control. Additional factor: Effect size (the true difference from hypothesized value). Larger true effect → higher power.
⚠️ Common Mistakes: Type I and Type II Errors
Avoid these 3 frequent errors
Practice with Flashcards
Rate this topic's cards with spaced repetition. Cards join your deck when you finish a topic's lesson and take its exit quiz.
Browse All Topics
Explore more AP Statistics topics