Lean Six Sigma Training Guide
  • IASSC Free Training Guide
  • Free Lean Six Sigma Training Guide
  • ASQ Free Training Guide
  • Body of Knowledge
  • Practice Exams
    • Six Sigma Quick Training Tests >
      • Lean Six Sigma Practice Test 1
      • Lean Six Sigma Practice Test 2
      • Lean Six Sigma Practice Test 3
      • Lean Six Sigma Practice Test 4
      • Lean Six Sigma Practice Test 5
      • Lean Six Sigma Practice Test 6
      • Lean Six Sigma Practice Test 7
      • Lean Six Sigma Practice Test 8
      • Lean Six Sigma Practice Test 9
      • Lean Six Sigma Practice Test 10
      • Lean Six Sigma Practice Test 11
      • Lean Six Sigma Practice Test 12
    • Six Sigma DMAIC Training Tests >
      • DEFINE Six Sigma Training Test
      • MEASURE Six Sigma Training Test
      • ANALYZE Six Sigma Training Test
      • IMPROVE Six Sigma Training Test
      • CONTROL Six Sigma Training Test
    • IASSC, ASQ and Other Exams >
      • IASSC Six Sigma Black Belt Exam
      • IASSC Six Sigma Green Belt Exam
      • IASSC Six Sigma Yellow Belt Exam
      • Lean Six Sigma Exams By Topic >
        • I. Enterprise-Wide Deployment >
          • A. Enterprise-wide view
          • B. Leadership
        • II. Organizational Process Management and Measures >
          • A. Impact on stakeholders
          • B. Critical to x (CTx) requirements
          • C. Benchmarking
          • D. Business performance measures
          • E. Financial measures
        • IV. Define >
          • A. Voice of the customer
          • B. Project charter
          • C. Project tracking
        • V. Measure >
          • D. Basic statistics
      • ASQ Six Sigma Black Belt Exam
      • ASQ Six Sigma Green Belt Exam
  • Six Sigma Materials
    • The Problem Solving Strategy Y = f(x) in Lean Six Sigma
    • Value Stream Mapping Explained
    • Pareto Analysis And Pareto Chart Explained
    • Best 5 Free Online Degree Programs In 2017
    • Cost Of Poor Quality (COPQ) Explained
    • Best 4 Free Online Certifications To Boost Your Resume
    • Pareto Analysis and Pareto Chart
    • Why Six Sigma Certification?
    • Six Sigma Green Belt Training
    • General History of Six Sigma & Continuous Improvement
    • Walter Shewhart Biography
    • Basic Lean Six Sigma Metrics
    • How to Make a Histogram
    • Statistical Process Control Charts
    • Lean Six Sigma Term Glossary
    • Kaizen and Kaizen Blitz
    • Central Limit Theorem
    • Six Sigma Symbols
    • Six Sigma Tables >
      • Z Score Tables
      • T Distribution Table
      • Chi-Square Distribution Table
      • F Distribution Table
      • Poisson Distribution Table
      • Cumulative Poisson Distribution Table
    • Six Sigma Diagrams >
      • Choosing a Right Parametric Test
      • Choosing a Right Control Chart
      • Commonly Used Lean Six Sigma Flowchart Symbols
      • Ishikawa (Fishbone) Diagram
      • Histogram
      • Scatterplot
      • Check Sheet
      • Failure Mode and Effects Analysis (FMEA)
    • Lean Six Sigma Belt Roles and Responsibilities
    • 5S
    • How to get six sigma certified?
    • International Six Sigma Certification Association (IASSC) Exam Reference Document
    • Useful Websites and Tools
    • 10 Best Free Udemy Courses That You Can Take Online
    • 5 Best Udemy Courses You Can Take Today
    • The Complete Web Developer Course 2.0 You Can Take Online | Udemy
    • 12 Best Probability and Statistics Online Courses and Classes [2018 Guide]
    • 15 Best Data Science Degrees, Courses and Certifications [2018]
  • Six Sigma Glossary
    • 5 Whys
    • Analytical and Descriptive Statistics
    • Brainstorming
    • Cost Of Quality
    • Design for Six Sigma (DFSS)
    • Efficiency of Estimators
    • Process Maps and Flow Charts
    • Gap Analysis
    • Common & Special Cause Variation
    • Quality Function Deployment (QFD)
    • In Control Process
    • Interest-Based Bargaining
    • Internal Customer
    • ISO9000
    • Kaizen Blitz
    • Kanban
    • Kano Model
    • Key Performance Indicators (KPI)
    • Lean Production
    • Management Strategies
    • MANOVA
    • Multivariate Analysis
    • Pareto Charts
    • Pareto Principle
    • PEST Analysis
    • Porter's Five Forces Analysis
    • Factor Analysis
    • Procedures
    • Process
    • Project Charter
    • Project Sponsor
    • Pull Production System
    • QS9000
    • Random Sampling
    • Failure Mode & Effects Analysis (FMEA)
    • Rolled Throughput Yield
    • Root Cause Analysis
    • Scenario Planning
    • Seven Quality Tools
    • SIPOC Diagrams
    • Six Sigma
    • SWOT Analysis
    • Systematic Sampling
    • System (Quality System)
    • Team Tools
    • Theory of Constraints
    • Throughput
    • Total Productive Maintenance (TPM)
    • Touch Time
    • Value Stream Maps
    • Visual Factory
    • Work In Progress (WIP)
    • Work In Queue
    • Work Instructions
    • Big Y
    • Control Plan
    • Waste
    • Evolutionary Operation of Processes (EVOP)
    • Cause & Effect Diagrams
    • 5C
    • 5Z
    • Project Selection
    • 8D Process
    • Appraisal Cost
    • Audit
    • Baseline
    • Business Process Quality Management
    • Check Sheet
    • Unintended Consequences
    • Voice Of The Customer (VOC)
    • Critical to Customer (CTC)
    • Critical To Quality (CTQ)
    • Customer Focus
    • Efficiency
    • Empowerment
    • Entry Criteria
    • Exit Criteria
    • Voice Of The Process (VOP)
    • Just In Time (JIT) Manufacturing
    • KISS
    • DMAIC
  • Six Sigma Blog
  • Forum
  • About Me
  • Privacy Policy
  • Contact
  • Top Free Online Courses With Printable Certificates
  • Roman Numerals Chart

Hypothesis Testing in Six Sigma

Tweet
Home/Body of Knowledge/Hypothesis Testing in Six Sigma
Previous: 5 WhysAll topicsNext: ANOVA and non-parametric tests

Hypothesis testing is a method for deciding whether a difference you see in sample data is large enough that chance alone is an unlikely explanation. You state a null hypothesis (H₀: no difference or no effect) and an alternative (H₁), pick a significance level α (often 0.05), compute a test statistic, and reject H₀ when the p-value is below α.

In Six Sigma it is the main Analyze-phase tool for confirming that a suspected X really moves the Y.

Two-sided t-test: rejection regions and the observed test statistic A t distribution with 57 degrees of freedom. The shaded tails beyond plus and minus 2.00 hold 5 percent of the area, the alpha level. The observed statistic, t equals 2.32, falls in the upper rejection region, so the null hypothesis of equal means is rejected; the two-sided p-value is about 0.024. Is line A slower than line B? Two-sample t-test, α = 0.05, two-sided observed t = 2.32 Fail to reject H₀ Reject H₀ Reject H₀ −2.00 0 +2.00 Each shaded tail = 2.5% (α/2). The statistic lands in a tail, so p ≈ 0.024 < 0.05.
An original worked example. The test statistic falls beyond the critical value, so the difference in mean cycle time between the two lines is statistically significant at α = 0.05.

What are the steps in a hypothesis test?

  1. State the practical question and the hypotheses. Example: H₀: μA = μB; H₁: μA ≠ μB.
  2. Choose α and the test. α is the risk of a false alarm you will accept. The test depends on the data type and the question (see the table below).
  3. Check assumptions and collect data. Random or representative samples, independence, and, for t-tests and ANOVA, roughly normal data or large enough samples. Plan the sample size for the difference that matters in practice.
  4. Compute the statistic and p-value. Software does this; on exams you may use a t-table or z-table to find the critical value.
  5. Decide and translate back. Reject or fail to reject H₀, then say what it means for the process, and whether the size of the difference matters, not only whether it is significant.

Errors, power, and the p-value

H₀ is actually trueH₀ is actually false
Reject H₀Type I error (α, producer’s risk): a false alarmCorrect decision; probability = power (1 − β)
Fail to reject H₀Correct decision; probability = 1 − αType II error (β, consumer’s risk): a missed effect

The p-value is the probability of seeing a result at least as extreme as yours if H₀ were true. It is not the probability that H₀ is true. A large p-value does not prove “no difference”; it means the data are not strong enough to show one, often because the sample was small. Power rises with larger samples, larger true effects, less noise, and a larger α.

Which hypothesis test should you use?

QuestionDataParametric testNonparametric option
One mean vs a targetContinuousOne-sample t (z if σ known)One-sample sign or Wilcoxon
Two independent meansContinuousTwo-sample tMann-Whitney
Before vs after on the same unitsContinuous, pairedPaired tWilcoxon signed-rank
Three or more meansContinuousOne-way ANOVAKruskal-Wallis or Mood’s median
Two or more variancesContinuousF-test or BartlettLevene
One or two proportionsPass/fail countsOne- or two-proportion testFisher’s exact (small counts)
Association between categoriesCounts in a tableChi-square test of independence—
Several responses at onceMultiple continuous Y’sMANOVA—

For the parametric branch in more detail, see choosing the right parametric test. The sampling distributions behind these tests are explained separately. Critical values for t, chi-square, and F are on the Six Sigma tables page.

Worked example: cycle time on two lines

A team suspects line A is slower. A random sample of 30 orders from each line gives line A a mean of 12.4 minutes (s = 2.1) and line B a mean of 11.2 minutes (s = 1.9). With α = 0.05 and a two-sided Welch two-sample t-test:

  • Standard error = √(2.1²/30 + 1.9²/30) = 0.517
  • t = (12.4 − 11.2) ÷ 0.517 = 2.32, with about 57 degrees of freedom
  • Critical value ≈ 2.00, and the two-sided p ≈ 0.024

Since 0.024 < 0.05, reject H₀: the 1.2-minute difference is unlikely to be chance. The next questions are practical ones. Is 1.2 minutes worth acting on, and what on line A causes it? A fishbone diagram and a scatterplot with regression on candidate X’s are natural next steps, and a designed experiment can confirm the best settings.

One- and two-sample tests: formulas and examples

Every test below follows the same pattern: test statistic = (estimate − hypothesized value) / standard error, compared with a reference distribution. The table is the quick reference, and each card that follows has a computed example. The data are illustrative, and the p-values are two-sided and computed in scipy.

TestUse whenStatisticReference distribution
1-sample zOne mean vs a target, σ known from long historyz = (x̄ − μ₀) / (σ/√n)Standard normal
1-sample tOne mean vs a target, σ estimated by st = (x̄ − μ₀) / (s/√n)t, n − 1 df
2-sample zTwo independent means, both σ knownz = (x̄₁ − x̄₂) / √(σ₁²/n₁ + σ₂²/n₂)Standard normal
2-sample tTwo independent means, σ’s estimatedt = (x̄₁ − x̄₂) / SE (pooled or Welch)t, df as below
Paired tTwo measurements on the same unitst = d̄ / (sd/√n)t, n − 1 df
1-proportion zA defect rate vs a targetz = (p̂ − p₀) / √(p₀(1 − p₀)/n)Standard normal (or exact binomial)
2-proportion zTwo defect ratesz = (p̂₁ − p̂₂) / √(p̄(1 − p̄)(1/n₁ + 1/n₂))Standard normal
χ² for one varianceOne standard deviation vs a targetχ² = (n − 1)s² / σ₀²χ², n − 1 df
F for two variancesTwo standard deviationsF = s₁² / s₂² (larger on top)F, (n₁ − 1, n₂ − 1) df

1-sample z test

Use it only when the population σ is genuinely known, for example from a long, stable control chart, and you test a new mean against a target. A filler has a long-run σ = 1.5 g. After maintenance, 16 packs average 500.8 g against a 500 g target. SE = 1.5/√16 = 0.375, z = 0.8/0.375 = 2.13, and p = 0.033. The mean has shifted (95% CI 500.06 to 501.54 g), so re-center the filler. If σ is not truly known, use the t test.

1-sample t test

This is the usual choice, because σ is estimated from the sample. 12 invoices average 4.18 days to approve (s = 0.31) against a 4.0-day standard. SE = 0.31/√12 = 0.0895, and t = 0.18/0.0895 = 2.011 on 11 df. The critical value is ±2.201, so p = 0.069: not significant at α = 0.05, and the 95% CI (3.983 to 4.377) includes 4.0. With n = 12, a 0.18-day shift is within noise. The sample-size page shows how many invoices would be needed to detect it. The t test assumes roughly normal data, but it is robust for moderate n. For small, skewed samples, use the 1-sample Wilcoxon or sign test.

2-sample z test for two means

Use it when both population σ’s are known, or with very large samples, where s ≈ σ. Two shifts, 50 units each, have known σ’s of 2.0 and 2.4 and means of 15.2 and 14.3. SE = √(2.0²/50 + 2.4²/50) = 0.4418, z = 0.9/0.4418 = 2.037, and p = 0.042.

2-sample t test, and whether to pool variances

This compares two independent means when the σ’s are estimated. Supplier 1 has n = 10, x̄ = 23.1 and s = 2.4. Supplier 2 has n = 12, x̄ = 20.9 and s = 2.1. There are three versions:

VersionStandard errordftp
Pooled (equal variances assumed)sp√(1/n₁ + 1/n₂) = 0.9591n₁ + n₂ − 2 = 202.2940.0328
Welch (unequal variances)√(s₁²/n₁ + s₂²/n₂) = 0.9713Welch-Satterthwaite = 18.12.2650.0360
Conservative hand methodsame as Welchsmaller of n₁ − 1 and n₂ − 1 = 92.2650.0498

The pooled standard deviation is sp = √[((n₁ − 1)s₁² + (n₂ − 1)s₂²)/(n₁ + n₂ − 2)] = 2.240. All three versions agree here (p ≈ 0.03 to 0.05) because the variances are similar (ratio 1.31).

Why pool, and when not to: if the two populations really share one σ, pooling combines both samples into a better estimate of it, which gives more degrees of freedom and slightly more power. If the σ’s differ, especially with unequal sample sizes, the pooled test gives the wrong false-alarm rate. Welch’s test is nearly as powerful when variances are equal and stays valid when they are not, so most practitioners and software now default to Welch. Pool only with good reason to believe the variances are equal, not because an F test failed to reject.

Paired t test

Use it when each unit is measured twice, such as before and after, or by two methods. Ten clerks timed a task (minutes) on the old and new software:

Clerk12345678910
Old14.211.816.513.112.415.810.913.714.912.2
New13.111.515.212.612.614.310.112.913.611.8
d = new − old-1.1-0.3-1.3-0.5+0.2-1.5-0.8-0.8-1.3-0.4

d̄ = -0.78, sd = 0.535, and t = -0.78/(0.535/√10) = -4.61 on 9 df, so p = 0.0013. The new software saves about 0.8 minutes per task. Analyzing the same numbers wrongly as two independent samples gives p = 0.30, because the large clerk-to-clerk differences swamp the effect. Pairing removes them, which is why a paired design is so powerful.

1-proportion test

A supplier claims 2% defective. In 400 incoming parts, 14 are defective (p̂ = 0.035). SE under H₀ = √(0.02 × 0.98 / 400) = 0.0070, z = (0.035 − 0.020)/0.0070 = 2.143, and p = 0.032. The normal approximation needs np₀ and n(1 − p₀) of at least about 5 (here np₀ = 8). The exact binomial test gives p = 0.046, still significant but less so. Prefer the exact test when counts are small.

2-proportion test

Before a fix, 30 of 500 orders had errors (6.0%). After the fix, 14 of 500 did (2.8%). The pooled proportion is p̄ = 44/1000 = 0.044, SE = √(0.044 × 0.956 × (1/500 + 1/500)) = 0.0130, z = 0.032/0.0130 = 2.467, and p = 0.0136. The error rate fell by 3.2 points (95% CI 0.7 to 5.7 points). This is identical to a chi-square test on the 2 × 2 table (p = 0.0136). For three or more groups, use a chi-square test of independence on the full table (critical values are in the chi-square table).

Chi-square test for one variance

The spec calls for σ ≤ 0.50 mm. A sample of 20 gives s = 0.62. χ² = (n − 1)s²/σ₀² = 19 × 0.62² / 0.50² = 29.21 on 19 df. The 2.5% and 97.5% points are 8.91 and 32.85, so the two-sided p = 0.125 and the one-sided “σ is larger” p = 0.063. Neither is significant at 0.05. The 95% CI for σ is 0.472 to 0.906 mm, which is wide: variances need far more data than means to pin down. This test is very sensitive to non-normality, so check normality first or use a bootstrap interval.

F test for two variances

Machine 1 has s = 0.62 (n = 20) and machine 2 has s = 0.41 (n = 16). F = 0.62² / 0.41² = 2.287 on (19, 15) df. The upper 2.5% point is 2.773, so the two-sided p = 0.109: not significant, despite a 50% difference in s. Like the χ² test, the F test assumes normal data. For non-normal data, or more than two groups, use Levene’s or Bartlett’s test.

Frequently asked questions

What does it mean to fail to reject the null hypothesis?

It means the sample did not provide enough evidence of a difference at the chosen α. It does not prove the null is true. With a small sample, a real and important difference can easily go undetected, which is a Type II error.

Should I use a one-tailed or two-tailed test?

Use a one-tailed test only when the question is truly one-directional and you decided that before seeing the data, for example “is the new supplier’s defect rate lower?” Otherwise use two-tailed. Switching to one-tailed after the fact to get a smaller p-value is not valid.

Is statistical significance the same as practical significance?

No. With very large samples, tiny differences become significant. Always report the size of the difference, ideally with a confidence interval, and judge it against cost, customer requirements, and the specification.

Where does hypothesis testing fit in DMAIC?

Mainly in Analyze, to confirm which X’s really affect the Y, and in Improve, to show that a change made a real difference. Belt exams also test it heavily; try the Analyze-phase practice test.

When should I use a z test instead of a t test?

Only when the population standard deviation is known from long, stable history, or for proportions. In almost all project work σ is estimated from the sample, so use a t test. With large samples, the two give nearly identical answers.

Previous: 5 WhysAll topicsNext: ANOVA and non-parametric tests

Related guides

  • Attribute MSA (agreement analysis)
  • ANOVA and non-parametric tests
  • Correlation and regression
  • Normality and data transformation
  • Sample size and sampling
  • Statistical distributions
  • ASQ free training guide
  • Free Lean Six Sigma training guide

Last updated: November 11, 2026 · Published by Lean Six Sigma Training Guide (sixsigmatrainingfree.com)