Sub topic 12
Confirming with a Controlled Trial or Designed Experiment
When observational evidence is not enough
Assume you already know the prerequisites: DMAIC, process inputs and outputs, basic descriptive statistics, and how to read common process charts.
Process data can show that a suspected cause is associated with a defect or long cycle time. However, association does not prove that changing the suspected cause will change the result. Another input may have changed at the same time. This is called confounding.
A controlled trial tests the suspected cause directly. You deliberately change one input, hold important conditions steady, and compare the process output with a suitable control condition. A designed experiment is a planned study that changes one or more inputs in a structured way.
For example, suppose stratification shows that setup procedure B has longer cycle times than setup procedure A. A useful hypothesis is:
> Changing from setup A to setup B increases mean cycle time by at least two minutes under the same product and staffing conditions.
The suspected cause is the setup procedure. The response is cycle time. The control condition is setup A, and the treatment condition is setup B.
Plan the trial
Define the following before collecting results:
- Experimental unit: the smallest item receiving a condition, such as one production run or one order.
- Factor: the input you deliberately change, such as setup procedure.
- Level: a specific setting of the factor, such as A or B.
- Response: the measured output, such as cycle time in minutes.
- Control: the comparison condition.
- Decision rule: the size of difference that matters and the significance level you will use.
Randomize the order of trials when possible. Randomization prevents time-related effects, operator learning, temperature, or raw-material changes from lining up with only one condition. If an important nuisance variable cannot be randomized, use blocking. A block is a group of similar experimental units, such as the same operator or product family. Run both conditions within each block.
Use the same measurement method for both groups. Record unusual events, exclusions, and protocol changes. Do not remove an inconvenient result merely because it weakens the conclusion.
Analyze and interpret the result
For two independent groups with a continuous response, Welch’s t-test is often appropriate. It compares group means without requiring equal variances. For defect counts, compare proportions with a suitable proportion or chi-square test. For more than two factor levels, consider analysis of variance.
import numpy as np
from scipy import stats
control = np.array([12.1, 11.8, 12.4, 12.0, 12.6, 11.9])
treatment = np.array([10.2, 10.5, 10.1, 10.4, 10.3, 10.0])
result = stats.ttest_ind(treatment, control, equal_var=False)
difference = treatment.mean() - control.mean()
print(f"Mean difference: {difference:.2f} minutes")
print(f"p-value: {result.pvalue:.4f}")
if result.pvalue < 0.05 and difference <= -2:
print("Evidence supports the treatment and the practical target.")
else:
print("The trial does not meet both evidence and practical targets.")A small p-value means the observed difference would be unusual if the two conditions had equal mean responses. It does not prove that the treatment caused every improvement, nor does it establish that the result applies to every product or shift. Check confidence intervals, practical size, assumptions, and the conditions under which the trial ran.
Document the verification decision
Record the hypothesis, factor levels, randomization method, sample size, measurement system, exclusions, analysis, p-value, confidence interval, and practical conclusion. Then choose one action:
- Accept: evidence supports the cause under the tested conditions.
- Reject: the cause does not explain the result under those conditions.
- Revise: the cause may depend on an untested factor or was defined too broadly.
Exercise
You observe longer cycle times with setup B than setup A. Name one feature of a confirmatory trial that helps separate the setup effect from operator or time-of-day effects.
Show answer
Randomize the order of setup A and B runs, or block by operator and compare both setups within each operator block.