Lean Six Sigma 100%

Green Belt · Analyze phase

Lesson 4: Hypothesis tests with normal data

IASSC Body of Knowledge 3.4, Hypothesis Testing with Normal Data · 14 practice questions

0:00 / --:--

Reading

Lesson 3 covered how a hypothesis test is set up in general: a null and alternative hypothesis, an alpha level, a p-value decision rule, and the risk of Type I and Type II error. This lesson puts that framework to work on the most common family of tests a Green Belt runs: tests for normally distributed continuous data. Which specific test applies depends on how many samples are being compared, whether they are independent or paired, and whether the question is about a mean or a variance. Getting that classification right, more than any formula, is what the exam and real projects actually test.

Choosing a hypothesis test for normal continuous data Decision flowchart. Start: is the data normal and continuous. If testing one sample's mean against a target, use the 1-sample t test. If testing one sample's variance against a target, use the chi-square test for one variance. If comparing two independent samples, first test for equal variances, then use the 2-sample t test, choosing the pooled equal-variance form or the Welch unequal-variance form based on that result. If the two samples are paired observations on the same units, use the paired t test. If comparing three or more independent samples, use one-way ANOVA. How many samples, and what are we testing? One sample, mean vs. target 1-sample t test One sample, variance vs. target Chi-square test for one variance Two samples, paired observations Paired t test Two independent samples, or three or more samples 2-sample t test (check equal variances first) One-way ANOVA (3+ groups) All five tests assume the underlying data are approximately normally distributed and the observations are independent. If normality does not hold, see Lesson 5 for the nonparametric alternative to each test above. One-way ANOVA further assumes equal variance across groups; a significant F says at least one group mean differs, not which one.
Choosing among the 1-sample t, chi-square variance test, paired t, 2-sample t, and one-way ANOVA depends on the number of samples, whether pairing exists, and whether the mean or the variance is being tested.

The 1-sample t test

The 1-sample t test compares a single sample's mean to a fixed target value, such as a spec, a contract requirement, or a historical baseline. The test statistic is t = (xbar - μ0) / (s / √n), where xbar is the sample mean, μ0 is the target value under the null hypothesis, s is the sample standard deviation, and n is the sample size. That statistic is compared to a critical value from the t distribution with n-1 degrees of freedom, or its p-value is compared to alpha.

Worked example. A county permitting office has told GCHS that its typical residential rehab permit turns around in 45 days. GCHS pulls a sample of n = 9 recent permits and finds a mean turnaround of 52 days with a sample standard deviation of 6 days. Is the office's actual performance different from the stated 45 days, at alpha = 0.05?

  • H0: μ = 45 days. Ha: μ ≠ 45 days (two-tailed).
  • t = (52 - 45) / (6 / √9) = 7 / (6 / 3) = 7 / 2 = 3.5
  • Degrees of freedom = n - 1 = 8. The two-tailed critical t value for df = 8 at alpha = 0.05 is 2.306.
  • 3.5 is greater than 2.306, so the test statistic falls in the rejection region.

Decision: reject the null hypothesis. The sample gives strong evidence that actual permit turnaround differs from the office's stated 45 days, in this case running longer, which is worth escalating with data in hand rather than anecdote.

2-sample t test: equal variance vs. unequal variance

The 2-sample t test compares the means of two independent groups, such as punch-list closeout time for two different subcontractor crews. Before running it, check whether the two groups' variances are reasonably equal. If they are, the standard pooled-variance t test is appropriate. If they are not, use the unequal-variance form, commonly called Welch's t test, which adjusts the degrees of freedom downward instead of pooling the variances. Most statistical software runs the unequal-variance version by default because it performs well whether or not variances are actually equal, so when in doubt, use it.

The equal-variance assumption itself is checked with a test for equal variances, most commonly an F test (the ratio of the two sample variances) or Levene's test, which is less sensitive to non-normality than the F test. A significant result on that test is the signal to switch to the unequal-variance 2-sample t test rather than the pooled one.

Paired t test

A paired t test applies when the two sets of observations are not independent but are linked, such as the same 20 rental units inspected before and after a preventive-maintenance program, or the same appraiser's estimate compared to the final contractor bid on the same 15 jobs. Instead of comparing two group means directly, the test takes the difference for each pair, then runs a 1-sample t test on those differences against a hypothesized mean difference of zero. Pairing removes the unit-to-unit variation that would otherwise mask a real before/after effect, so it is usually more powerful than treating the same data as two independent samples, provided the paired readings are positively correlated, as before/after readings on the same unit typically are.

1-sample test for variance

Sometimes the question is not about the mean but about consistency itself, for example whether the variability in square-footage estimates from a new estimating tool matches a target variance from the old process. The 1-sample chi-square test for variance compares a sample variance to a hypothesized target variance. Because the chi-square distribution is not symmetric, its lower and upper critical values differ, and the test is sensitive to departures from normality, so it should only be used when the underlying data are reasonably normal.

One-way ANOVA

One-way analysis of variance (ANOVA) extends the 2-sample t test to three or more independent groups, for example comparing average work-order completion time across four maintenance technicians. Rather than running several pairwise t tests, which inflates the overall false-positive rate, ANOVA partitions the total variation in the data into variation between the group means and variation within each group, then forms one test statistic:

F = MS between / MS within

where MS between is the mean square between groups (variation of the group means around the overall mean) and MS within is the mean square within groups (average variation of individual observations around their own group mean). A large F means the between-group variation is large relative to the noise within each group, evidence that at least one group mean differs from the others.

What a significant F does tell youWhat it does not tell you
At least one group mean differs from at least one otherWhich specific group or pair of groups differs
The differences seen are unlikely to be due to random sampling alone, at the chosen alphaWhether the difference is large enough to matter practically

Finding out which groups differ requires a post-hoc comparison test run after a significant F, such as Tukey's method, which compares every pair of group means while controlling the overall false-positive rate across all of those comparisons. Running plain, unadjusted t tests on every pair instead of a post-hoc method is a common exam trap and a common real mistake, since it lets the true error rate climb well above the stated alpha.

One-way ANOVA carries three assumptions: the data in each group are approximately normally distributed, the observations are independent of each other, and the variance is approximately equal across groups (sometimes checked with Levene's test or Bartlett's test before trusting the F test). A violation of normality points toward the nonparametric alternatives covered in Lesson 5.

Why this matters

A significant ANOVA F is the start of the investigation, not the end of it. A team that stops at "F is significant" without a post-hoc test and without asking whether the practical size of the difference matters can end up chasing a technician's schedule difference that is statistically real but operationally irrelevant.

Practice questions

1. Which test compares a single sample mean to a fixed target value?

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

2. In the 1-sample t test formula t = (xbar - μ0) / (s / √n), what does μ0 represent?

  1. The sample mean
  2. The sample standard deviation
  3. The sample size
  4. The hypothesized target value under the null hypothesis

3. A GCHS sample of n = 9 permits has a mean turnaround of 52 days and a sample standard deviation of 6 days. The county claims a 45-day mean. What is the test statistic?

  1. t = 3.50
  2. t = 1.17
  3. t = 7.00
  4. t = 0.78

4. In that same permit example, df = 8 and the two-tailed critical t at alpha = 0.05 is 2.306. What is the correct conclusion?

  1. Fail to reject the null hypothesis; no evidence of a difference
  2. The test cannot be completed without knowing the population standard deviation
  3. Reject the null hypothesis; turnaround differs significantly from 45 days
  4. Accept the null hypothesis as proven true

5. Before choosing between the pooled and unequal-variance forms of the 2-sample t test, what should be checked first?

  1. Whether the sample sizes are exactly equal, since unequal sizes make the pooled form invalid
  2. Whether the two groups' variances are approximately equal
  3. Whether the data were collected on different days
  4. Whether the means are already known to differ

6. Which test is less sensitive to non-normality when checking whether two groups have equal variances?

  1. Levene's test
  2. One-way ANOVA
  3. 1-sample t test
  4. Paired t test

7. GCHS inspects the same 20 rental units before and after a maintenance program and wants to test whether average condition scores changed. Which test fits this design?

  1. One-way ANOVA
  2. Chi-square test for one variance
  3. Paired t test
  4. 2-sample t test (independent, pooled variance)

8. Why is pairing typically more powerful than treating linked before/after data as two independent samples?

  1. It always doubles the sample size, because each unit contributes both a before and an after observation to the test
  2. It removes the need for a null hypothesis
  3. It converts the data into attribute data
  4. It removes unit-to-unit variation that would otherwise obscure a real before/after effect

9. A 1-sample chi-square test for variance is used to test which kind of hypothesis?

  1. Whether two proportions are equal
  2. Whether a sample mean equals a target value
  3. Whether a sample variance equals a target variance
  4. Whether two group means are equal

10. One-way ANOVA is the appropriate test in which of these scenarios?

  1. Comparing before-and-after scores on the same units, such as 20 rentals inspected before and after a repair program
  2. Comparing average work-order completion time across four maintenance technicians
  3. Comparing a sample variance to a target variance
  4. Comparing one sample's mean to a spec limit

11. In one-way ANOVA, the F statistic is calculated as which ratio?

  1. MS between / MS within
  2. MS within / MS between
  3. SS total / SS within
  4. SS between / n

12. A one-way ANOVA returns a significant F. What does that result tell you by itself?

  1. At least one group mean differs from at least one other, but not which one
  2. The data are definitely non-normal
  3. No further analysis is needed
  4. Every group mean differs from every other group mean, so post-hoc comparisons are unnecessary

13. After a significant one-way ANOVA result, what is the correct next step to find which specific groups differ?

  1. Run unadjusted, uncorrected t tests on every pair of groups
  2. Run a post-hoc comparison method, such as Tukey's method, that controls the overall error rate
  3. Report the result as final with no further testing
  4. Rerun the same ANOVA on the same data

14. Which of the following is NOT one of the three core assumptions of one-way ANOVA?

  1. Approximately equal variance across groups, sometimes checked with Levene’s test
  2. Approximate normality within each group, checked with a probability plot
  3. Independence of observations, meaning one measurement does not influence another
  4. Every group must have exactly the same sample size

Glossary

1-sample t test
A test comparing a single sample's mean to a fixed target value, using t = (xbar - μ0) / (s / √n).
Welch's t test
The unequal-variance form of the 2-sample t test, which adjusts degrees of freedom instead of pooling the two sample variances.
Paired t test
A 1-sample t test run on the differences between linked pairs of observations, such as the same units measured before and after a change.
One-way ANOVA
A test comparing the means of three or more independent groups by comparing between-group variation to within-group variation.
MS between / MS within
Mean square between groups and mean square within groups, the two components whose ratio forms the ANOVA F statistic.
Post-hoc test
A follow-up comparison method, such as Tukey's method, run after a significant ANOVA F to identify which specific groups differ while controlling the overall error rate.
Chi-square test for one variance
A test comparing a single sample's variance to a hypothesized target variance, sensitive to departures from normality.