In this section, you’ll look more closely at Type I and Type II errors, along with the real-world consequences of each. To start, here are the definitions and a concrete example of each.
Ideally, we want to avoid both errors:
A Type I error can lead to wasted resources on something ineffective.
A Type II error can lead to cutting support for something that actually helps.
Connecting errors to hypothesis-testing quantities
Now connect these ideas to the usual hypothesis-testing quantities:
Improving power: blocking and stratification
Both blocking and stratification can improve power.
Example of blocking:
Suppose the head lifeguard at a pool wants to know which teaching method is most effective for competitive swimmers. Blocking by age and sex is crucial. It wouldn’t be fair to compare the times of 6-year-old swimmers to those of 10-year-olds. Regardless of teaching method, you’d expect 6-year-olds to have slower times on average than 10-year-olds. If you ignore age, you could unfairly penalize instructors who were assigned younger swimmers. Similarly, if average swim times differ by sex, failing to account for sex could distort the comparison.
Example of stratification:
If you want to measure public opinion about a new property tax increase, it’s important to include people across income levels. Stratification across income brackets helps ensure the sample reflects the whole population.
Type I and Type II errors
Type I error: false positive; reject true null hypothesis
Type II error: false negative; fail to reject false null hypothesis
Real-world consequences:
Type I: waste resources on ineffective interventions
Type II: miss out on beneficial interventions
Hypothesis testing quantities
Significance level α: probability of Type I error
β: probability of Type II error
Power (1−β): probability of correctly detecting a real effect
Trade-offs and sample size
Decreasing α: lowers Type I error, raises Type II error
Increasing α: raises Type I error, lowers Type II error
Increasing sample size n: reduces both Type I and Type II errors, but with diminishing returns
Blocking and stratification
Blocking: controls for confounding variables in experiments; reduces standard error
In this section, you’ll look more closely at Type I and Type II errors, along with the real-world consequences of each. To start, here are the definitions and a concrete example of each.
Ideally, we want to avoid both errors:
A Type I error can lead to wasted resources on something ineffective.
A Type II error can lead to cutting support for something that actually helps.
Connecting errors to hypothesis-testing quantities
Now connect these ideas to the usual hypothesis-testing quantities:
Improving power: blocking and stratification
Both blocking and stratification can improve power.
Example of blocking:
Suppose the head lifeguard at a pool wants to know which teaching method is most effective for competitive swimmers. Blocking by age and sex is crucial. It wouldn’t be fair to compare the times of 6-year-old swimmers to those of 10-year-olds. Regardless of teaching method, you’d expect 6-year-olds to have slower times on average than 10-year-olds. If you ignore age, you could unfairly penalize instructors who were assigned younger swimmers. Similarly, if average swim times differ by sex, failing to account for sex could distort the comparison.
Example of stratification:
If you want to measure public opinion about a new property tax increase, it’s important to include people across income levels. Stratification across income brackets helps ensure the sample reflects the whole population.