Sub topic 13
Recording the Evidence and Deciding What Happens Next
This chapter covers the last step of root cause verification: writing down what the data showed and deciding what to do about it. It assumes you can run a hypothesis test and read a p-value. It also assumes you know the difference between correlation and causation, and you have seen a confirmatory trial. If those are unfamiliar, review the earlier chapters first.
A verification that lives only in your head, or in a spreadsheet nobody can follow, cannot support a decision. The record has to let a reviewer reach the same conclusion you did, or disagree with you for stated reasons.
What the record must answer
A verification record answers five questions in order:
- What was the suspected cause, stated as a hypothesis?
- What did the hypothesis predict, and what data was collected to check it?
- Was the data trustworthy?
- What did the analysis show, including size of effect and uncertainty?
- What was decided, and why?
Keep the record short. One page per suspected cause is usually enough, with plots and scripts attached or linked.
The evidence record
Use a consistent template so records from different causes can be compared. The table below shows the fields and what goes in each.
| Field | Content | Example |
|---|---|---|
| Suspected cause (X) | One sentence naming the input and its link to the output Y | Shift B setup causes a higher defect rate |
| Hypotheses | Null and alternative, stated before analysis | H0: defect rate equal across shifts. H1: rates differ |
| Prediction | Measurable result expected if the cause is real | Shift B defect rate is clearly above shift A |
| Data source and period | Where, when, how many units | Line 3 inspection log, 4 weeks, 400 units |
| Measurement check | Result of the data quality review | Inspectors agreed on 97% of re-checked units |
| Method and alpha | Test and the significance level fixed in advance | Chi-square test of independence, alpha = 0.05 |
| Result | Test statistic, p-value, effect size, interval | 9.0% vs 20.5% defective, p below 0.01 |
| Limits | Confounders, sampling issues, anything not ruled out | Shift B also runs the newer material lot |
| Decision | Accept, reject, or revise, plus next action | Revise: run a trial separating shift and material |
| Owner and date | Who decided and when | Process engineer, with date |
Two fields deserve extra care: the result and the limits.
Report effect size, not only p-value
A p-value says whether the data would be surprising if the cause had no effect. It does not say how large the effect is or whether it matters. Always record the estimated difference in the units of Y, with an interval if you can compute one. A 0.2-minute difference in cycle time can be statistically significant with enough data and still not explain the problem you are chasing.
The next script reproduces the shift comparison from the earlier chapters and records the rates, the difference, and the test result together.
import numpy as np
from scipy import stats
# Rows: shift A, shift B. Columns: defective units, good units
table = np.array([
[18, 182],
[41, 159],
])
n = table.sum(axis=1)
rate = table[:, 0] / n
diff = rate[1] - rate[0]
# Approximate 95% interval for the difference in two proportions
se = np.sqrt(rate[0] * (1 - rate[0]) / n[0] + rate[1] * (1 - rate[1]) / n[1])
low, high = diff - 1.96 * se, diff + 1.96 * se
chi2, p, dof, expected = stats.chi2_contingency(table)
print(f"Shift A defect rate: {rate[0]:.1%}")
print(f"Shift B defect rate: {rate[1]:.1%}")
print(f"Difference (B - A): {diff:.1%}, 95% CI {low:.1%} to {high:.1%}")
print(f"chi2 = {chi2:.2f}, dof = {dof}, p = {p:.4f}")The output gives a rate for each shift, a difference with its interval, and a p-value. Copy these numbers into the record. Keep the script with the record so anyone can rerun it.
State the limits plainly
List what the analysis could not rule out. If shift B also uses a different material lot, say so. A limit is not an admission of failure. It tells the reader how much weight the result can bear and what the next step should address.
Match the decision to the evidence
Verification does not have to end in "confirmed" or "wrong". There are three outcomes, and the right one depends on both the statistics and the design of the study.
| Outcome | When it fits | Next action |
|---|---|---|
| Accept | Data agree with the prediction, the effect is large enough to matter, measurement is sound, and confounders are controlled or ruled out | Treat as a verified root cause and move to Improve |
| Reject | Data are adequate to detect a meaningful effect and show none | Drop this cause and return to the fishbone or 5 Whys for the next candidate |
| Revise | Evidence is mixed, confounded, underpowered, or shows an effect smaller than needed | Refine the hypothesis, collect better data, or run a controlled trial |
Accept
Accept a cause when several things hold at once. The test result supports it, the effect is large enough to explain a useful share of the problem, the measurement system was checked, and there is a reason to believe the link is causal. That reason may be a controlled trial, a plausible mechanism together with a stratified comparison that holds other factors fixed, or a change in X that was followed by a change in Y.
Accepting a cause does not mean it is the only cause. Record what share of the variation or defects it plausibly explains. If the effect covers only a third of the gap to target, other causes remain.
Reject
Rejection needs more care than acceptance. A high p-value alone means "no evidence of a difference", not "evidence of no difference". Before rejecting, check three things:
- The sample was large enough to detect a difference of the size that would matter. Otherwise the test was underpowered.
- The measurement system was precise enough to show the effect.
- The data covered the conditions where the cause would act. A temperature effect cannot appear if temperature never varied.
If any of these fail, the outcome is Revise, not Reject.
Revise
Revise is the honest outcome when the evidence is inconclusive. Typical actions are:
- Collect more data to raise power.
- Fix the measurement system and repeat.
- Split the hypothesis into narrower ones, for example from "setup" to "setup temperature".
- Run a designed experiment that changes X on purpose and holds other factors steady.
Decision flow
The diagram shows how the checks lead to one of the three outcomes.
Common errors in recording and deciding
- Choosing alpha after seeing the data. Record the significance level before analysis. Changing it afterward to fit the result invalidates the test.
- Reporting only the tests that worked. If you checked five causes and one gave p below 0.05, the record must show all five. With five independent tests at alpha of 0.05, the chance of at least one false alarm is about 23%.
- Treating a stratified difference as proof. A difference between shifts shows association. Say so, and list the confounders.
- Dropping outliers silently. If you removed points, record which ones and why, and show the result with and without them.
- Writing "not significant" as "no effect". Use "no evidence of a difference at this sample size" and give the interval.
- Moving to Improve on a weak verification. Fixing the wrong cause costs time, and it can hide the real one because the metric moves for unrelated reasons.
Handing off to Improve
When a cause is accepted, the record becomes the input to the Improve phase. Pass on:
- The verified cause and the size of its effect, which sets the expected benefit of a fix.
- The limits, which show what the fix must not assume.
- The baseline data and the analysis script, so the post-fix comparison uses the same method.
When the outcome is Revise or Reject, the record should say what happens next and who owns it. An open verification with no owner tends to stay open.
Exercise
A team suspects that a worn fixture causes oversize parts. They measured 12 parts from the old fixture and 12 from a new one, and a Welch t-test gave p = 0.21. The mean difference was 0.03 mm, and the tolerance is 0.05 mm. The team wants to record "Reject: the fixture is not the cause." What should they check first, and what outcome should they likely record?
Show answer
They should check whether 12 parts per group give enough power to detect a difference that matters, which here is around 0.03 mm or smaller relative to the tolerance. They should also check gauge precision and whether the fixture wear varied enough in the data. A p-value of 0.21 means no evidence of a difference, not evidence of no difference, and the observed 0.03 mm is more than half the tolerance. Unless a power check shows the test could reliably detect such a difference, the likely outcome is Revise: collect more data or run a trial, then decide.
Exercise
A stratified analysis shows shift B has a defect rate of 20.5% against 9.0% for shift A, with p below 0.01. Shift B also uses a different material lot. Which outcome fits, and what is the next action?
Show answer
Revise. The effect is significant and large, but shift and material lot are confounded, so the data cannot show which one is responsible. The next action is a controlled trial or designed experiment that varies shift and material lot separately, then a new decision based on that result.