If you're seeing this message, it means we're having trouble loading external resources on our website.

If you're behind a web filter, please make sure that the domains *.kastatic.org and *.kasandbox.org are unblocked.

# Type I vs Type II error

AP.STATS: UNC‑5 (EU), UNC‑5.A (LO), UNC‑5.A.1 (EK), UNC‑5.A.2 (EK)

## Problem

Donated blood is tested for infectious diseases and other contaminants. Since most donated blood is safe, it saves time and money to test batches of donated blood rather than test individual samples. A certain test is performed to see if a certain toxin is present, and the entire batch is discarded if the toxin is detected. This is similar to using a null and an alternative hypothesis to determine whether to discard or keep the batch. The hypotheses being tested could be stated as:
H, start subscript, 0, end subscript, colon The batch does not contain the toxin.
H, start subscript, start text, a, end text, end subscript, colon The batch contains the toxin.
What would be the consequence of a Type I error in this context?