What's New System Requirements Contact Sales: Arthur-Industrial-Systems@outlook.com
Home › Library › Hypothesis tests › Type I and type II errors

Type I and type II errors

False alarms and missed signals: the two ways a test or a control chart can be wrong, and how to trade them off.

Every statistical decision can go wrong in two ways.

  • A type I error is a false alarm: concluding there is a difference, shift or defect when there is none. Its probability is , the significance level, often 5%.
  • A type II error is a miss: concluding there is no difference when there is one. Its probability is . Power, , is the chance of detecting a real effect.

The same idea under other names

  • Control charts: a point beyond the limits from a stable process is a type I error (false alarm, about 0.27% per point for 3-sigma limits). Failing to signal a real shift is a type II error. See Average run length.
  • Acceptance sampling: rejecting a good lot is the producer's risk; accepting a bad lot is the consumer's risk. See Operating characteristic curve.
  • Gauges: rejecting a good part and accepting a bad one near the specification limits. See Measurement systems analysis.

The trade-off

For a fixed sample size, lowering raises . Wider control limits give fewer false alarms but slower detection. The only way to lower both is more information: larger samples, better measurements, or more sensitive methods such as EWMA or CUSUM charts.

Which error is worse?

It depends on the cost. Stopping a line for a false alarm costs production time; shipping a bad lot to an aircraft or medical customer can cost far more. Choose and from the consequences, not from habit. See Power and sample size planning for planning.

See also

References

  1. Montgomery, D. C., and Runger, G. C. Applied Statistics and Probability for Engineers. Wiley.