📐 CQE Quest › Learn

Type I vs Type II error (and why sample size matters)

Every hypothesis test can go wrong in two ways:

H₀ is actually trueH₀ 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 = β

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?

Standard error = σ / √n = 2 / √16 = 0.5 Fail-to-reject zone = 50 ± 1.96 × 0.5 = 49.02 to 50.98 If the true mean is 51: β = P(49.02 < x̄ < 50.98) = Φ((50.98 − 51)/0.5) − Φ((49.02 − 51)/0.5) = Φ(−0.04) − Φ(−3.96) ≈ 0.484 − 0.000 = 0.484 Power = 1 − β ≈ 0.516

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:

n = ((z₁₋α/₂ + z₁₋β) × σ / δ)² = ((1.96 + 1.2816) × 2 / 1)² = 42.03 → round UP to 43

Common exam traps

Test yourself in 2 minutes

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 quiz

More: 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