Sub topic 8
Reading P-values and Understanding Error Risk
This chapter assumes you know basic Lean Six Sigma terms, descriptive statistics, and how to read histograms and run charts. It also assumes that you have a suspected cause, an outcome to measure, and a planned comparison between groups.
Start with a clear decision rule
A hypothesis test compares the data with a default claim called the null hypothesis. The null hypothesis, written as H₀, usually says that the suspected cause has no measurable effect. The alternative hypothesis, H₁, says that a difference or relationship exists.
For example:
- H₀: Mean cycle time is the same for the old and suspected setups.
- H₁: Mean cycle time differs between the setups.
Choose a significance level before examining the results. The significance level, written as alpha (α), is the maximum probability of a false alarm that you accept for this decision rule. A common choice is α = 0.05.
A p-value measures how unusual the observed data would be if H₀ were true. A small p-value means that the data would be unusual under the no-effect assumption.
| Result | Decision at α = 0.05 | Meaning |
|---|---|---|
| p-value < 0.05 | Reject H₀ | Evidence of a difference or relationship |
| p-value ≥ 0.05 | Do not reject H₀ | Insufficient evidence to claim a difference |
“Do not reject” does not mean “prove no effect.” The sample may be too small, the effect may be too weak, or the data may be too noisy.
Understand the two decision errors
Every hypothesis test can lead to an incorrect decision.
- A Type I error occurs when you reject H₀ even though it is true. This is a false positive. You conclude that the suspected cause matters when it does not.
- A Type II error occurs when you do not reject H₀ even though a real effect exists. This is a false negative. You miss a cause that should be addressed.
The significance level controls the planned Type I error rate. It does not control the Type II error rate. The probability of detecting a real effect is called statistical power. Power increases when the effect is larger, the data are less variable, or the sample size is larger.
The cost of each error depends on the process. A false positive may lead to an unnecessary equipment change. A false negative may allow defects to continue. Set the decision rule with those consequences in mind, rather than choosing 0.05 automatically.
Interpret the result in process terms
Statistical significance is only one part of root-cause verification. A very small effect can produce a small p-value when the sample is large. That effect may not justify an improvement project. Conversely, a meaningful effect may produce a large p-value when the sample is small.
Report the estimated effect along with the p-value. Examples include:
- Difference in mean cycle time: 1.2 minutes
- Difference in defect rate: 4 percentage points
- Confidence interval for the difference: 0.4 to 2.0 minutes
A confidence interval gives a range of plausible values for the population effect under the method used. If the interval is narrow and entirely above the practical threshold, the evidence is stronger for action. If it crosses zero, the direction of the effect remains uncertain.
Avoid common testing mistakes
Do not test many possible groupings and report only the smallest p-value. Repeated testing raises the chance of a false positive. Define the suspected cause, outcome, comparison, and alpha before looking for confirmation.
Check the assumptions of the selected test. For a t-test, review independence, the shape of the data, and unusual observations. For a chi-square test, check that expected cell counts are large enough. If the data violate assumptions, consult a suitable alternative or collect better data.
Use the p-value to update the root-cause decision:
- Reject H₀ and confirm that the effect is practically important: accept the suspected cause provisionally.
- Reject H₀ but find a trivial effect: revise the cause or its importance.
- Do not reject H₀ with adequate power and good data: reject the suspected cause.
- Do not reject H₀ with weak power or poor data: collect better data before deciding.
Exercise
A test gives p = 0.18 at α = 0.05. Can you conclude that the suspected cause has no effect?
Show answer
No. You do not reject H₀. Check the effect estimate, confidence interval, power, and data quality before deciding whether the cause is unlikely or the study was inconclusive.