Lean Six Sigma 100%

Green Belt · Analyze phase

Lesson 5: Hypothesis tests with non-normal data

IASSC Body of Knowledge 3.5.1-3.5.6, Hypothesis Testing with Non-Normal Data · 14 practice questions

0:00 / --:--

Reading

Every test in Lesson 4 assumed the underlying data were approximately normally distributed. Real housing-operations data often is not: work-order cycle times, cost overruns, and inspection scores are frequently skewed, with a long tail of unusually slow or expensive cases. When that assumption fails, a different family of tests takes over, ones that do not depend on the shape of the distribution and typically compare medians or overall distributions rather than means. This lesson covers when to suspect non-normality and which nonparametric test replaces each normal-data test from Lesson 4.

Parametric tests and their nonparametric equivalents A two-column map. Left column, parametric tests for normal data: 1-sample t, 2-sample t, one-way ANOVA, randomized block ANOVA. Right column, the nonparametric equivalent used when data are not normal: 1-sample sign test or 1-sample Wilcoxon test, Mann-Whitney test, Kruskal-Wallis test or Mood's median test, Friedman test. Normal data (parametric) Non-normal data (nonparametric) 1-sample t test 1-sample sign / Wilcoxon test 2-sample t test Mann-Whitney test One-way ANOVA Kruskal-Wallis or Mood's median test Randomized block ANOVA Friedman test All tests on the right work directly with ranks or medians, so they need no normality assumption.
Every parametric test for normal data in Lesson 4 has a nonparametric counterpart that works on ranks or medians instead of raw values and means.

Deciding whether data are non-normal

Before defaulting to a nonparametric test, check whether normality actually fails, since parametric tests are generally more powerful when their assumptions hold. A normal probability plot is the standard visual check: points falling close to a straight line support normality, while a clear curve or S-shape does not. A formal goodness-of-fit test backs that visual judgment, most commonly the Anderson-Darling test, which compares the sample's cumulative distribution to the normal distribution and returns a p-value; a small p-value (typically below 0.05) is evidence against normality. Small sample sizes make any normality test underpowered, so a Green Belt should also consider whether the process itself has a physical reason to be skewed, such as a hard lower bound at zero on a cycle-time measurement.

Mann-Whitney test

The Mann-Whitney test (also called the Mann-Whitney U test or Wilcoxon-Mann-Whitney test) is the nonparametric counterpart to the 2-sample t test. It compares two independent, non-normal samples by ranking all the observations together and comparing the sum of ranks between groups, testing whether one population tends to produce larger values than the other. For example, GCHS could use it to compare rehab cost overrun amounts between two neighborhoods when the overrun data are heavily skewed by a few very expensive outlier jobs. The result is usually reported in terms of medians rather than means, since the median is not pulled around by extreme values the way a mean is.

Kruskal-Wallis and Mood's median test

When three or more independent, non-normal groups need comparing, two options replace one-way ANOVA:

  • Kruskal-Wallis test: extends the Mann-Whitney logic to three or more groups by ranking all observations together and comparing the average rank in each group. It is the more commonly used default and is more powerful than Mood's median test when the data are only moderately skewed.
  • Mood's median test: compares the groups' medians directly and is more robust to outliers than Kruskal-Wallis, at some cost in power, because it only asks whether each observation falls above or below the overall median rather than using full rank information.

A practical rule of thumb: if a boxplot or dotplot of the data shows a few extreme outliers driving the story, Mood's median test is the safer choice; otherwise Kruskal-Wallis is typically preferred.

SituationTest
One sample, mean vs. target, normal data1-sample t test
One sample, median vs. target, non-normal data1-sample sign test or 1-sample Wilcoxon test
Two independent samples, normal data2-sample t test
Two independent samples, non-normal dataMann-Whitney test
Three or more independent samples, normal dataOne-way ANOVA
Three or more independent samples, non-normal dataKruskal-Wallis test or Mood's median test
Randomized block design (repeated measures across blocks), non-normal dataFriedman test

Friedman test

The Friedman test is the nonparametric counterpart to a randomized block design (a two-way ANOVA where one factor is a blocking variable used to remove known nuisance variation, not a factor of interest). It applies when the same set of "blocks", such as the same five inspectors, each rate several different conditions, and the response is non-normal. The test ranks the observations within each block, then tests whether the average rank differs across conditions. GCHS could use it, for example, to have the same five inspectors each score three competing punch-list checklist formats on the same properties, removing individual inspector severity as a source of noise.

1-sample sign test and 1-sample Wilcoxon test

Both tests replace the 1-sample t test when the data are non-normal and the question concerns a single sample's central tendency versus a target value.

  • 1-sample sign test: the more general and more robust of the two. It only looks at whether each observation is above or below the hypothesized median, ignoring how far above or below, and makes no assumption about the shape of the distribution beyond continuity. This robustness costs it statistical power.
  • 1-sample Wilcoxon test: uses more information than the sign test, ranking the size of each observation's distance from the hypothesized median as well as its direction, which generally gives it more power. Its trade-off is an added assumption: the distribution of the data must be reasonably symmetric around the median, even if not normal.

Worked example, choosing between them. GCHS wants to test whether the median cost overrun on rehab change orders differs from a targeted $500, using a small sample of 10 jobs. A histogram of the overruns shows a long right tail from two very large change orders, so the distribution is clearly not symmetric. Because the Wilcoxon test requires symmetry and the sign test does not, the sign test is the defensible choice here even though it has less power.

Why this matters

Picking a nonparametric test is not just "use this when data are non-normal, done." The exam expects a Green Belt to know that the Wilcoxon test additionally assumes symmetry, and that choosing it on asymmetric data without checking that assumption produces a result that looks rigorous but is not valid.

Practice questions

1. What is the primary reason to switch from a parametric test to a nonparametric test?

  1. The sample size is too large for a t test to stay reliable, since large samples always violate normality
  2. The alpha level is set below 0.10
  3. The underlying data are not approximately normally distributed
  4. The data are collected from more than one location

2. Which formal test is commonly used to check whether sample data are normally distributed?

  1. Friedman test, which ranks observations within each block
  2. Kruskal-Wallis test, which compares the average rank of three or more groups
  3. Mann-Whitney test, which compares two independent samples
  4. Anderson-Darling goodness-of-fit test

3. A small p-value on an Anderson-Darling normality test (below 0.05) suggests what?

  1. The variance is unequal across groups, so Levene’s test should replace the normality check
  2. Evidence against the assumption that the data are normally distributed
  3. The data are definitely paired
  4. The sample size is too small to test at all

4. Which test is the nonparametric counterpart to the 2-sample t test for two independent groups?

  1. One-way ANOVA
  2. Mann-Whitney test
  3. Friedman test
  4. 1-sample sign test

5. GCHS wants to compare rehab cost overruns between two neighborhoods, and the overrun data are heavily skewed by a few extreme outlier jobs. Which test fits best?

  1. One-way ANOVA
  2. Mann-Whitney test
  3. Chi-square test for one variance
  4. Paired t test

6. Which two tests can replace one-way ANOVA when comparing three or more independent, non-normal samples?

  1. Anderson-Darling test and Levene's test
  2. Paired t test and 1-sample t test
  3. Kruskal-Wallis test and Mood's median test
  4. Friedman test and Mann-Whitney test

7. Compared to Kruskal-Wallis, Mood's median test is generally described as which of the following?

  1. Only usable with exactly two groups
  2. More powerful than Kruskal-Wallis, but less robust to outliers because it uses the full rank information
  3. More robust to outliers, at some cost in statistical power
  4. Identical in every respect

8. The Friedman test is the nonparametric counterpart to which design?

  1. A randomized block design (repeated measures across blocks)
  2. A contingency table of counts, where each cell records how many items fall in each category
  3. A single sample compared to a target
  4. Two independent samples

9. GCHS has the same five inspectors each score three competing checklist formats on the same properties. Which test fits this design?

  1. Friedman test
  2. 1-sample Wilcoxon test
  3. 2-sample t test
  4. Mann-Whitney test

10. Which nonparametric test only considers whether each observation is above or below a hypothesized median, ignoring the size of the difference?

  1. 1-sample Wilcoxon test
  2. Kruskal-Wallis test
  3. Friedman test
  4. 1-sample sign test

11. What additional assumption does the 1-sample Wilcoxon test require that the 1-sample sign test does not?

  1. The variance must be known in advance
  2. The data must be counts, not measurements
  3. The sample size must exceed 100
  4. The distribution must be reasonably symmetric around the median

12. A sample of 10 rehab change-order overruns shows a long right tail from two very large orders, clearly not symmetric. Testing the median against a $500 target, which test is defensible?

  1. One-way ANOVA, because there are 10 observations
  2. Mann-Whitney test, because there is one sample
  3. 1-sample Wilcoxon test, because it is more powerful and uses the size of each difference from $500
  4. 1-sample sign test, because it does not require symmetry

13. Compared to their parametric counterparts, nonparametric tests are generally described how in terms of statistical power?

  1. Typically less powerful when the parametric test's assumptions actually hold
  2. Always more powerful in every situation
  3. Powered identically in all cases
  4. Irrelevant, since power does not apply to nonparametric tests

14. Nonparametric tests such as Mann-Whitney and Kruskal-Wallis primarily compare which measure between groups?

  1. Correlation coefficients between each pair of groups, as in a regression analysis
  2. Sample standard deviations only
  3. Medians or overall rank distributions rather than means
  4. Sample sizes only

Glossary

Anderson-Darling test
A goodness-of-fit test that checks whether sample data are consistent with a normal distribution, returning a p-value.
Mann-Whitney test
The nonparametric counterpart to the 2-sample t test, comparing two independent samples by ranking all observations together.
Kruskal-Wallis test
The nonparametric counterpart to one-way ANOVA for three or more independent samples, based on average ranks within each group.
Mood's median test
A nonparametric test for three or more independent samples that compares medians directly and is more robust to outliers than Kruskal-Wallis.
Friedman test
The nonparametric counterpart to a randomized block design, ranking observations within each block before comparing conditions.
1-sample sign test
A nonparametric test comparing a sample's median to a target value using only the direction of each observation's difference from that target.
1-sample Wilcoxon test
A nonparametric test comparing a sample's median to a target value using the ranked size of each difference, which requires a symmetric distribution.