Lean Six Sigma 100%

Green Belt · Analyze phase

Lesson 3: Hypothesis testing fundamentals

IASSC Body of Knowledge 3.3, Hypothesis Testing · 14 practice questions

0:00 / --:--

Reading

Lesson 2 showed that a sample statistic almost never lands exactly on the true population parameter, purely because of sampling error. Hypothesis testing is the formal procedure Green Belts use to decide whether an observed difference, such as a change in average work-order cycle time after a process change, is likely a real effect or just that ordinary sampling noise. Every hypothesis test in this course, from the t-tests in the next lesson through the chi-square tests three lessons later, follows the same underlying logic this lesson introduces.

The hypothesis test decision matrix: Type I error, Type II error, and power A two by two grid. Columns are the decision made: fail to reject H0, or reject H0. Rows are the unknown truth: H0 is actually true, or H0 is actually false. When H0 is true and the decision is to fail to reject it, that is a correct decision with confidence 1 minus alpha. When H0 is true but the decision is to reject it, that is a Type I error with probability alpha, a false positive. When H0 is false but the decision is to fail to reject it, that is a Type II error with probability beta, a false negative. When H0 is false and the decision is to reject it, that is a correct decision called power, equal to 1 minus beta. Truth vs. decision when testing H0 Decision: fail to reject H0 Decision: reject H0 Truth H0 is true H0 is false Correct decision Confidence level = 1 - α Correctly kept a true H0 Type I error Probability = α False positive: rejected a true H0 Type II error Probability = β False negative: missed a real effect Correct decision Power = 1 - β Correctly detected a real effect Bigger sample size increases power (raises 1 - β) without changing α.
The four possible outcomes of a hypothesis test: two correct decisions, a Type I error (false positive, probability α), and a Type II error (false negative, probability β). Power, the chance of correctly detecting a real effect, is 1 - β.

Null and alternative hypotheses

Every hypothesis test starts by stating two competing claims. The null hypothesis (H0) is the default, "no difference" or "no effect" claim, such as "the average work-order cycle time is unchanged." The alternative hypothesis (Ha) is the claim a team suspects might actually be true, such as "the average cycle time has changed." A test never proves H0 true; it only evaluates whether the sample data provides strong enough evidence against it to reject it in favor of Ha. If the evidence is not strong enough, the correct conclusion is to fail to reject H0, never to say H0 has been "accepted" or "proven," because absence of strong evidence against a claim is not the same as evidence that the claim is true.

The p-value decision rule

A hypothesis test produces a p-value: the probability of observing data at least as extreme as what was actually collected, if H0 were true. A small p-value means the observed data would be unlikely under H0, which counts as evidence against it. The decision rule compares the p-value to a pre-chosen significance level, alpha (α), commonly set at 0.05: if p is less than alpha, reject the null hypothesis; otherwise, fail to reject it.

Worked example. A team compares average work-order cycle time before a process change (5.4 days) against after the change (4.9 days), runs a t-test, and gets p = 0.021, with alpha set at 0.05 before the test was run. Since 0.021 is less than 0.05, the team rejects H0 and concludes the change in average cycle time is statistically significant.

Practical vs. statistical significance

A statistically significant result only says the observed difference is unlikely to be pure sampling noise; it says nothing about whether that difference is large enough to matter operationally. With a large enough sample, even a tiny, practically meaningless difference can produce a very small p-value. In the cycle-time example above, whether a 0.5-day improvement is worth the cost of rolling the process change out program-wide is a practical significance question, answered with program knowledge and cost data, not with the p-value alone. The reverse problem also happens: a real, practically important difference can fail to reach statistical significance if the sample size is too small to detect it reliably.

Why this matters

A Green Belt who reports "statistically significant" without also asking "is it big enough to matter" risks recommending an expensive rollout for a change that will not be noticed on the ground, or dismissing a genuinely useful improvement because the pilot sample was too small.

Two questions after the pilotStatistical question: p = 0.021, alpha = 0.05, Reject H0. Practical question: 5.4 days to 4.9 days, 0.5-day improvement, Worth the rollout cost? Statistical questionp = 0.021alpha = 0.05Reject H0Practical question5.4 days to 4.9 days0.5-day improvementWorth the rollout cost?
The lesson's cycle-time example supports a statistical decision. Deciding whether the improvement is worth deploying also requires program knowledge and cost data.

Type I error, Type II error, and power

Because a hypothesis test is a decision made from incomplete information, two kinds of mistakes are possible, shown in the figure above. A Type I error is rejecting a null hypothesis that is actually true, a false positive, with probability equal to alpha. A Type II error is failing to reject a null hypothesis that is actually false, a false negative, with probability called beta (β). Power is the probability of correctly detecting a real effect when one exists, defined as 1 - β; higher power means a lower chance of missing a real improvement or a real problem.

Sample size is the main lever a Green Belt controls before running a test. Increasing sample size reduces standard error, which increases power (and so lowers β) for a given effect size and alpha, without changing alpha itself. This is the practical reason pilot studies with very small sample sizes are risky: even a real, meaningful improvement can be missed simply because the study was underpowered to detect it.

One-tailed vs. two-tailed tests

A two-tailed test checks for a difference in either direction (Ha: the mean is not equal to some value), splitting alpha between both tails of the distribution; at alpha = 0.05, each tail gets 0.025, which for a z-test corresponds to a critical value of about ±1.96. A one-tailed test checks for a difference in only one specified direction (Ha: the mean is greater than, or less than, some value), placing all of alpha in a single tail; at alpha = 0.05 that gives a critical value of about 1.645 on that one side. A one-tailed test is only appropriate when the question genuinely only cares about one direction, decided before looking at the data, such as "did the defect rate decrease" when an increase would never change the decision either way; choosing one-tailed after seeing the data to make a marginal result significant is not a legitimate use of the technique.

Choosing the right kind of test

Which specific hypothesis test applies depends on the data type and what is being compared. The next three lessons cover each row below in depth; this table previews the overall map so each specific test in this course has a place to fit.

Data type and comparisonTypical test
Continuous, normal data: compare 2 means2-sample t-test (or paired t-test for matched pairs), Lesson 4
Continuous, normal data: compare 3 or more meansOne-way ANOVA, Lesson 4
Continuous, normal data: compare a variance to a target, or two variances1-sample or 2-sample variance test, Lesson 4
Continuous, non-normal data: compare 2 mediansMann-Whitney test, Lesson 5
Continuous, non-normal data: compare 3 or more mediansKruskal-Wallis or Mood's median test, Lesson 5
Attribute (discrete) data: compare 1 or 2 proportions1-sample or 2-sample proportion test, Lesson 6
Attribute (discrete) data: test association between two categorical variablesChi-square test of independence, Lesson 6

Practice questions

1. What roles do the null hypothesis (H0) and alternative hypothesis (Ha) play in a hypothesis test?

  1. H0 and Ha are chosen after the data is collected, based on the result
  2. Ha is the default claim that is assumed true until disproved; H0 is what a team suspects and hopes to demonstrate
  3. H0 is always true; Ha is always false
  4. H0 is the default "no difference" claim; Ha is the claim being tested against it

2. Which decision rule is correctly phrased?

  1. If p is less than alpha, reject the null hypothesis; otherwise, fail to reject it
  2. The null hypothesis is proven true whenever p is greater than alpha, because the data then contradict the alternative
  3. If p is greater than alpha, reject the null hypothesis
  4. If p is less than alpha, accept the null hypothesis

3. A test comparing cycle time before and after a process change returns p = 0.021, with alpha set at 0.05 before the test. What is the correct decision?

  1. The test is inconclusive because p is not exactly 0, so a larger sample must be collected before any decision
  2. Accept H0 as proven true
  3. Reject H0; the difference is statistically significant at alpha = 0.05
  4. Fail to reject H0, since 0.021 is a small number

4. What does "practical significance" add to a statistically significant result?

  1. Whether the size of the effect is large enough to matter operationally, which the p-value alone does not tell you
  2. Nothing; a statistically significant result is automatically practically significant
  3. It replaces the need for a p-value entirely
  4. It is a stricter version of the same alpha threshold

5. A very large sample detects a statistically significant, p = 0.001, difference in average rent-collection error of $0.03 per invoice. What does this scenario illustrate?

  1. The p-value is invalid because it is less than 0.05
  2. The result is both statistically and practically significant, because p is below 0.05 by a wide margin
  3. A statistically significant result that is likely too small to be practically significant
  4. A Type II error has definitely occurred

6. What is a Type I error?

  1. Failing to reject a false null hypothesis, a false negative, with probability alpha (the significance level)
  2. Correctly rejecting a false null hypothesis
  3. Rejecting a null hypothesis that is actually true, a false positive, with probability alpha
  4. Correctly failing to reject a true null hypothesis

7. What is a Type II error?

  1. Rejecting a null hypothesis that is actually true, a false positive, with probability beta (the power of the test)
  2. Correctly rejecting a false null hypothesis
  3. Setting alpha too low before running the test
  4. Failing to reject a null hypothesis that is actually false, a false negative, with probability beta

8. How is the statistical power of a test defined?

  1. Power = beta
  2. Power = 1 - beta, the probability of correctly detecting a real effect
  3. Power = alpha
  4. Power = 1 - alpha, the probability of correctly failing to reject a true null hypothesis

9. Holding alpha and the true effect size constant, what happens to a test's power as sample size increases?

  1. Power increases, because standard error shrinks and beta falls
  2. Power is unaffected by sample size
  3. Power becomes exactly equal to alpha
  4. Power decreases, because a larger sample makes the test more likely to reject a true null hypothesis

10. At alpha = 0.05, which pair of critical z-values is correct for a two-tailed test versus a one-tailed test?

  1. Two-tailed: 1.645; one-tailed: 1.96, because the one-tailed test splits alpha between two tails
  2. Two-tailed: about 1.96; one-tailed: about 1.645
  3. Both are exactly 2.58
  4. Two-tailed: 1.28; one-tailed: 1.645

11. When is a one-tailed hypothesis test appropriate?

  1. Never; two-tailed tests are always required
  2. When the question genuinely cares about a change in only one specified direction, decided before the data is examined
  3. Whenever a two-tailed result narrowly misses significance, to make it significant
  4. Only when the sample size is below 30

12. A team has continuous, normally distributed cycle-time data from two crews and wants to compare their average cycle times. Which test fits?

  1. Chi-square test of independence
  2. 1-sample proportion test
  3. Mann-Whitney test
  4. 2-sample t-test

13. A team has continuous but clearly non-normal (heavily skewed) data from four crews and wants to compare their medians. Which kind of test fits?

  1. 2-sample proportion test
  2. Simple linear regression
  3. One-way ANOVA
  4. Kruskal-Wallis or Mood's median test

14. A team wants to test whether inspection outcome (pass/fail) is associated with which crew performed the work, using counts in a table of crew by outcome. Which test fits?

  1. 2-sample t-test on each crew’s average score
  2. One-way ANOVA
  3. Chi-square test of independence
  4. Simple linear regression

Glossary

Null hypothesis (H0)
The default "no difference" or "no effect" claim a hypothesis test evaluates evidence against.
Alternative hypothesis (Ha)
The claim a team suspects might be true, accepted only if there is strong enough evidence against H0.
P-value
The probability of observing data at least as extreme as what was collected, if H0 were true.
Type I error
Rejecting a true null hypothesis, a false positive, with probability alpha.
Type II error
Failing to reject a false null hypothesis, a false negative, with probability beta.
Power
The probability of correctly detecting a real effect, equal to 1 - beta.
Practical significance
Whether an observed effect is large enough to matter operationally, distinct from statistical significance.
One-tailed / two-tailed test
A one-tailed test checks for a difference in one specified direction; a two-tailed test checks for a difference in either direction.