Choosing a Hypothesis Test: A Selection Guide
Choosing a hypothesis test means matching the test to the question and the data: the type of output (Y) and input (X), the number of groups, whether the samples are paired, and whether the data are roughly normal. A continuous Y compared across groups points to t-tests or ANOVA; counts in categories point to proportion or chi-square tests.
Quick facts
- Type
- Decision aid for the Analyze phase
- First question
- Is the Y continuous or discrete (attribute), and is the X a set of groups or a number?
- Then
- What is compared: a target, two groups, three or more, or paired measurements?
- Normal data
- 1-sample, 2-sample and paired t-tests, one-way ANOVA, F-test, Bartlett
- Non-normal data
- Sign, Wilcoxon, Mann-Whitney, Kruskal-Wallis, Mood's median, Friedman, Levene
- Reference
- IASSC™ Green Belt Body of Knowledge §3.3.4
- Exam relevance
- Green Belt (Analyze phase); scenario-based selection items
At a glance
- Name the question — a difference in center, in spread, in proportions, or an association?
- Classify the Y and the X — continuous or discrete; X as groups or as a number
- Count groups, check pairing — one vs a target, two, three or more; same units measured twice?
- Check normality — probability plot or Anderson-Darling on each group or on the differences
- Check equal variances — F-test for two normal groups; Bartlett or Levene for several
- Pick the test — parametric if its assumptions hold, otherwise the non-parametric alternative
How do you choose the right hypothesis test?
Four questions narrow the choice to one or two tests:
- What kind of data is the Y? Continuous (time, cost, length) or discrete (pass/fail, category counts).
- What kind of data is the X? Groups (center, team, channel, before/after) or a continuous number (workload, temperature).
- How many groups, and are they paired? One sample against a target, two groups, three or more; independent units, or the same units measured twice.
- Do the assumptions hold? Roughly normal data for tests on means; similar variances for pooled t-tests and ANOVA.
The first two questions give the family of tools:
| X is groups (discrete) | X is a number (continuous) | |
|---|---|---|
| Y continuous | t-tests, ANOVA, variance tests and their non-parametric alternatives | Correlation and regression |
| Y discrete | Proportion tests, chi-square test of independence | Logistic regression (beyond Green Belt scope) |
Plot the data before choosing: a box plot by group or a probability plot often shows skew, outliers or unequal spread that change the choice.
Choosing a hypothesis test is a short decision path through data types, group structure and assumptions, not a matter of habit.
Which test compares means or medians?
For a continuous Y and an X that defines groups:
| Situation | Normal data (compares means) | Non-normal data (compares medians) |
|---|---|---|
| One sample vs a target | 1-sample t-test | 1-sample sign test or 1-sample Wilcoxon |
| Two independent groups | 2-sample t-test | Mann-Whitney |
| Same units measured twice | Paired t-test on the differences | Wilcoxon or sign test on the differences |
| Three or more independent groups | One-way ANOVA | Kruskal-Wallis or Mood's median |
| Treatments compared within blocks | Two-way ANOVA without interaction | Friedman |
A few distinctions decide between neighbors:
- Paired vs two-sample. If the same nurses, claims or trucks are measured before and after, the data are paired. Treating them as independent leaves the unit-to-unit variation in the noise and can hide a real effect.
- Sign vs Wilcoxon. The sign test uses only whether each value is above or below the target. The Wilcoxon signed-rank test also uses the size of the differences through ranks, which needs a roughly symmetric distribution and gives more power.
- Kruskal-Wallis vs Mood's median. Kruskal-Wallis ranks all the data and is more powerful for clean data; Mood's median counts values above and below the overall median, so it resists outliers better.
For a continuous Y across groups, the number of groups and the pairing pick the test, and normality picks between the parametric version and its non-parametric alternative.
Which test compares variances or proportions?
Variances (continuous Y):
| Situation | Normal data | Non-normal data |
|---|---|---|
| One sample vs a target σ² | χ² test for one variance | No standard Green Belt test; the χ² test is sensitive to non-normality, so transform first |
| Two groups | F-test (larger variance on top) | Levene |
| Three or more groups | Bartlett | Levene |
Variance tests matter in their own right (has the new process become more consistent?) and as a check before a pooled two-sample t-test or ANOVA. Bartlett's test is sensitive to non-normality, so Levene's test is the safer choice when the data are skewed.
Proportions and counts (discrete Y):
| Situation | Test |
|---|---|
| One proportion vs a target | 1-proportion test |
| Two proportions | 2-proportion test |
| Two categorical variables in an r × c table of counts | Chi-square test of independence |
The chi-square test works on counts, never on percentages, and needs expected counts of at least 5 in each cell. When both the outcome and the factor are categories with more than two levels, such as claim outcome by sales channel, it is the test to use.
Variance tests ask whether consistency differs; proportion and chi-square tests ask whether rates or categories depend on the X.
Why not run several two-sample t-tests instead of ANOVA?
Each test carries its own α risk of a false alarm. Running several tests on the same question multiplies the chance that at least one of them is significant by accident. For k independent tests at level α:
P(at least one Type I error) = 1 − (1 − α)ᵏ
| Groups compared | Pairwise t-tests | Calculation at α = 0.05 | Chance of at least one false alarm |
|---|---|---|---|
| 3 | 3 | 1 − 0.95³ | 0.143 |
| 4 | 6 | 1 − 0.95⁶ | 0.265 |
| 5 | 10 | 1 − 0.95¹⁰ | 0.401 |
Results are rounded to three decimals; the formula treats the tests as independent, which pairwise tests on shared data are not exactly, so it is an approximation. With four service centers, six t-tests give roughly a one-in-four chance of "finding" a difference that does not exist.
One-way ANOVA tests all the means at once at the chosen α. If it is significant, a multiple-comparison procedure such as Tukey's method then shows which groups differ, while keeping the overall error rate under control.
For three or more groups, test them together first and compare pairs only afterwards, with a method built for multiple comparisons.
What are the common mistakes when choosing a test?
A clear decision path makes the analysis repeatable and easy to defend at the Analyze tollgate: anyone can see why a test was chosen. The usual errors:
- Treating paired data as independent, or independent data as paired.
- Running ANOVA or Kruskal-Wallis on categorical outcomes. Approved / partly approved / rejected is a count per category: chi-square.
- Running a chi-square test on percentages instead of counts, or with expected counts below 5.
- Choosing non-parametric tests by reflex. With roughly normal data they waste power; with large samples, t-tests and ANOVA are fairly robust to moderate skew.
- Using a pooled t-test or ANOVA when variances clearly differ. Check the spread first, or use the unequal-variance t-test.
- Testing before plotting. Outliers, time trends and mixed populations show in a graph, not in a p-value.
- Shopping for a test that gives the desired answer.
The right test follows from the question and the data structure; deciding that path before seeing the results keeps the conclusion honest.
Parametric vs. non-parametric tests: what is the difference?
| Parametric tests | Non-parametric tests | |
|---|---|---|
| Examples | t-tests, ANOVA, F-test | Mann-Whitney, Kruskal-Wallis, Mood's median, Wilcoxon, sign, Friedman |
| Assumptions | Roughly normal data (or large samples); often equal variances | Fewer: no normality; some need similar shapes or symmetry |
| Compares | Means (and variances) | Medians or ranks |
| Power | Higher when the assumptions hold | Lower with normal data; can be higher with heavy outliers |
| Sensitivity to outliers | High | Low, especially Mood's median |
Use the parametric test when its assumptions reasonably hold, because it has more power; switch to the non-parametric alternative for clearly non-normal data, small skewed samples or strong outliers.
Exam focus
Test selection is IASSC™ section 3.3.4, in Green Belt scope. Items describe a scenario and ask which test fits: one-way ANOVA for three or more means, chi-square for two categorical variables, a paired t-test for the same units measured twice, a non-parametric alternative for clearly non-normal data. The traps are running many two-sample t-tests and using ANOVA or Kruskal-Wallis on categorical outcomes. Practise in the Analyze phase drill.
Practise this DMAIC phase →FAQ
Which test compares the means of three or more groups?
One-way ANOVA, when the data in each group are roughly normal with similar variances. If the data are clearly non-normal, use Kruskal-Wallis, or Mood's median when there are strong outliers. Running many two-sample t-tests instead inflates the overall risk of a false alarm.
When should I use a paired t-test instead of a two-sample t-test?
Use a paired t-test when each observation in one group is linked to one in the other, typically the same units measured before and after a change. The test analyzes the differences, which removes unit-to-unit variation. Use a two-sample t-test when the two groups contain different, independent units.
Which test should I use for two categorical variables?
Use the chi-square test of independence on a contingency table of counts, such as claim outcome by sales channel. Check that every expected count is at least 5. If both variables have only two levels, a two-proportion test answers the same question.
What if my data are not normal?
First check why: outliers, a mix of populations or a natural skew such as waiting times. With large samples, t-tests and ANOVA on means are fairly robust. Otherwise use the non-parametric alternative, such as Mann-Whitney for two groups or Kruskal-Wallis for several, or transform the data.
Which test checks whether variances are equal?
For two groups of normal data, the F-test, with the larger variance on top. For several groups of normal data, Bartlett's test. When the data are not normal, Levene's test, which stays reliable under skew, is the usual choice for two or more groups.
Sources
- Montgomery, D. C. & Runger, G. C. (2018). Applied Statistics and Probability for Engineers (7th ed.). Wiley.
- Conover, W. J. (1999). Practical Nonparametric Statistics (3rd ed.). Wiley.
- NIST/SEMATECH e-Handbook of Statistical Methods, §7.4.7.1: Tukey's method.
- IASSC™ (n.d.). Lean Six Sigma Green Belt Body of Knowledge, §3.3.4.
- Last reviewed