Type I vs Type II error (and why sample size matters)
Every hypothesis test can go wrong in two ways:
| H₀ is actually true | H₀ is actually false | |
|---|---|---|
| You reject H₀ | ❌ Type I error (false alarm). Probability = α | ✅ Correct. Probability = power = 1 − β |
| You don't reject H₀ | ✅ Correct | ❌ Type II error (missed signal). Probability = β |
- Type I (α) means concluding there is a difference when there isn't. In quality terms this is the producer's risk: rejecting a good lot, or adjusting a process that was fine.
- Type II (β) means missing a difference that is really there. In quality terms this is the consumer's risk: accepting a bad lot, or missing a real process shift.
You choose α (often 0.05). β depends on how big the real difference is, how noisy the process is (σ), and your sample size. A bigger sample lowers β without raising α.
Worked example
A filling process should average 50 g with σ = 2 g. You take n = 16 bottles and run a two-sided z test at α = 0.05. Suppose the true mean has actually drifted to 51 g. How likely are you to catch it?
So with 16 bottles you would miss a 1 g drift almost half the time. To get 90% power (β = 0.10) for a 1 g shift:
Common exam traps
- Mixing up the labels. Type I is the false alarm (α, producer's risk). Type II is the miss (β, consumer's risk).
- Thinking "fail to reject" means "accept". Not rejecting H₀ doesn't prove it is true. The test may simply have had too little power.
- Thinking a lower α is always better. At a fixed sample size, lowering α raises β. Only a larger n (or less noise) lowers both.
- Rounding the sample size down. Always round up: 42.03 becomes 43.
- Using 1.645 for a two-sided test. At α = 0.05, two-sided uses 1.96 and one-sided uses 1.645.
Try 5 free CQE practice questions, including a calculation problem with fresh numbers. Every wrong answer comes with an explanation. No account needed.
Take the free CQE quizMore: 5 Whys · 8D problem solving · AOQ & AOQL · APQP & PPAP · AQL sampling plans · Attribute agreement & kappa · Attribute control charts · Availability & maintainability · Benchmarking types · Binomial vs Poisson · Blocking & randomization · Calibration & traceability · Capability: non-normal · Chi-square test · Confidence intervals · Control chart selection · Control plan · CA effectiveness · Cost of quality · Cp vs Cpk vs Cpm · Cpk vs Ppk · CQE exam day tips · CQE study plan · CQE vs CQA vs CSSBB · Is the CQE worth it? · CUSUM & EWMA · Design reviews · Design V&V · Destructive testing · DFMEA vs PFMEA · Document control · Fault tree analysis · First article inspection · Fishbone diagram · FMEA: RPN vs AP · Full vs fractional factorial · Gage R&R · GD&T basics · Hazard vs risk vs harm · Hypothesis test selection · I-MR chart · Interaction plots · ISO 14971 · ISO 9001 clauses · Kaizen event planning · Kano model · Lean wastes (TIMWOODS) · Linear regression · Management review · MRB dispositions · MSA: bias, linearity & stability · NCR, CAPA & PA · Nonparametric tests · Normal distribution & z-table · One-way ANOVA · p-value explained · Pareto chart · PDCA vs DMAIC · Poka-yoke · QFD / House of Quality · Quality audits · Quality mgmt principles · Quality manual vs procedures · Quality plan vs control plan · Redundancy: parallel & standby · Reliability allocation · Bathtub curve & MTBF · Response surface methods · Risk-based thinking · Risk matrix vs FMEA · 7 mgmt & planning tools · Short-run SPC · Six Sigma certifications · Sigma level & DPMO · Six Sigma DMAIC · Supplier quality scorecards · Switching rules (sampling) · Taguchi loss function · Theory of constraints · Tolerance stackup · Traceability & lot control · Type I vs II error · Value stream mapping · Variables vs attributes · Weibull analysis · Western Electric rules · X-bar R vs X-bar S · CQE calculators · Study planner · Section quiz
CQE Quest by Bizarre Act. Original study material; not affiliated with ASQ. CQE is a certification of ASQ. Terms · Privacy