Sub topic 2
Writing the Null and Alternative Hypotheses
This chapter assumes that you understand basic descriptive statistics, the DMAIC cycle, histograms and box plots, and the difference between a sample and a population. In the Analyze phase, a hypothesis test turns a process question into a statement that data can evaluate.
Start with a Process Question
Begin with a measurable question about the process:
- Did the average cycle time change after a new work instruction?
- Is the defect rate higher on one shift?
- Is the mean fill volume different from the customer target?
Identify the response, or output, called Y. Then identify the condition, factor, or grouping variable, called X, if one exists. Define the population quantity you want to compare, such as a mean, proportion, or difference between means.
Avoid vague hypotheses such as “the new method is better.” State what “better” means and use the project’s measurement units.
The Null and Alternative Hypotheses
The null hypothesis, written as \(H_0\), describes the baseline condition. It usually says that there is no change, no difference, or no association.
The alternative hypothesis, written as \(Ha\) or \(H1\), describes the effect that would support the project question. The two hypotheses should be mutually exclusive and cover the possible outcomes.
For example, suppose the historical mean cycle time is 12 minutes. A team wants to know whether a new method changes the mean cycle time:
- \(H_0: \mu = 12\) minutes
- \(H_a: \mu \ne 12\) minutes
Here, \(\mu\) is the population mean cycle time. The sample mean is only an estimate of \(\mu\).
Choose the alternative based on the question:
| Question | Null hypothesis | Alternative hypothesis |
|---|---|---|
| Did the mean change? | \(H_0: \mu = \mu_0\) | \(H_a: \mu \ne \mu_0\) |
| Did the mean increase? | \(H_0: \mu \le \mu_0\) | \(H_a: \mu > \mu_0\) |
| Did the mean decrease? | \(H_0: \mu \ge \mu_0\) | \(H_a: \mu < \mu_0\) |
A two-sided test uses “not equal to” when either an increase or decrease matters. A one-sided test uses “greater than” or “less than” when only one direction is relevant. Select the direction before examining the results. Changing it afterward makes the evidence less trustworthy.
Follow the Logic of the Test
A hypothesis test does not prove that \(H0\) is true. It measures how unusual the observed sample would be if \(H0\) were true.
If the resulting p-value is small relative to the chosen significance level, reject \(H0\). Otherwise, fail to reject \(H0\). “Fail to reject” means that the sample does not provide enough evidence for the alternative. It does not establish that there is no effect.
For a comparison between two independent process means, write the hypotheses using the difference:
- \(H0: \mu1 - \mu_2 = 0\)
- \(Ha: \mu1 - \mu_2 \ne 0\)
For paired measurements, such as before-and-after readings on the same units, define the within-unit difference \(d\):
- \(H0: \mud = 0\)
- \(Ha: \mud \ne 0\)
The correct form depends on the study design, not just on the names of the groups.
Exercise
A team wants to determine whether a new setup procedure reduces the average setup time from the historical value of 45 minutes. Write \(H0\) and \(Ha\).
Show answer
\(H0: \mu \ge 45\) minutes. \(Ha: \mu < 45\) minutes. The alternative is one-sided because only a reduction supports the project goal.