Sub topic 6
Design a Fair Comparison
This chapter assumes you can compute a mean and a standard deviation, and that you know cycle time, defect rate, and throughput. It also assumes you have already written a hypothesis and measured a baseline, as covered in earlier chapters. The goal here is to arrange the pilot so that a change in the numbers can be credited to the process change and not to something else.
Why the comparison matters
A pilot answers one question: did the change cause the improvement? Any number you collect during the pilot will move for many reasons. Demand shifts, people get more careful when watched, and seasons change. A comparison gives you a reference point, so you can ask how the pilot group did compared with what would have happened without the change.
That "what would have happened" is called the counterfactual. You can never observe it directly, so the design stands in a substitute for it. The quality of the pilot depends on how good that substitute is.
Three common designs
| Design | Reference point | Strength | Main weakness |
|---|---|---|---|
| Before and after | The same unit's own baseline | Simple, needs no second group | Anything that changed over time is mixed in with the change |
| Concurrent control group | A similar unit running the old process at the same time | Time effects hit both groups equally | The two groups may differ in ways you did not notice |
| Alternating or randomized | The same unit switching between old and new, or work items assigned by chance | Strongest protection against hidden differences | Harder to organize, and can confuse staff |
Before and after
You compare the baseline period with the pilot period. This is the weakest fair design, but it is often the only one available when there is a single line or a single team.
Use it with care. Check whether volume, product mix, staffing, or season differed between the two periods. If they did, the comparison is not fair. A baseline taken in a quiet month and a pilot run in the holiday rush will mislead you in either direction.
Concurrent control group
You run the new process in one unit (the pilot group) and keep the old process in a similar unit (the control group) over the same dates. Because both groups face the same calendar, demand swings and seasonal effects cancel out.
The control group must be similar. Compare them on the factors that plausibly affect your metric: work type, volume, staff experience, equipment, and baseline performance. If the pilot group was already faster before the change, a gap afterward proves little. A better measure is the change within each group, compared across groups. This is sometimes called a difference in differences:
- Compute each group's change from its own baseline.
- Subtract the control group's change from the pilot group's change.
The result removes any shared trend and any fixed gap between the groups.
Alternating and randomized designs
When the work arrives as many separate items, you can assign each item to the old or new process by chance. Examples are orders, tickets, or batches. This is randomization. It spreads known and unknown differences across both arms, so the groups are comparable on average.
If you cannot randomize items, you can alternate by time block. For example, run the old process on Monday, Wednesday, and Friday of one week, and the new process on the other days, then swap the next week. Swapping prevents a weekday effect from sitting entirely in one arm.
Choosing a design
Pick the strongest design the situation allows. These questions help:
- Can the work be split into items or units that run independently? If yes, consider randomization.
- Is there a second, similar unit that can keep the old process? If yes, use a concurrent control.
- Would running two processes side by side cause confusion, rework, or unfair treatment of customers? If yes, a before and after design with careful checks may be the safer option.
- Does the change touch shared resources, such as one machine or one queue? If yes, the groups may affect each other, which breaks the comparison.
The last point is called contamination or spillover. If the pilot team takes the fastest staff or the best equipment from the control team, the control group gets worse for reasons unrelated to the change, and the gap looks bigger than it is.
Keep everything else the same
A fair comparison changes one thing. The pilot group should differ from the control group only by the process change. Check these items before you start:
- Same metric definition. Cycle time must start and stop at the same events in both groups.
- Same measurement method. Do not time one group by hand and the other from system timestamps.
- Same work mix. If the pilot group gets the easy jobs, it will look better.
- Same support. Extra coaching, extra staff, or extra management attention given only to the pilot group becomes part of the treatment.
The last item is easy to miss. People who know they are in a pilot often work harder or more carefully. This is the Hawthorne effect. It is not wrong to have it, but you should know that part of the gain might fade when the attention fades. A concurrent control group that is also aware of being measured helps limit this.
Avoid selection bias
Selection bias appears when the way you choose the pilot group favors a good result. A manager who volunteers the strongest team, or a team that volunteers because it is already enthusiastic, will produce results that do not transfer to the average team.
Ways to reduce it:
- Choose by a written rule, such as "the two sites closest to the median baseline cycle time."
- Assign by chance when you have several comparable units.
- Record why each unit was chosen, so reviewers can challenge it.
Representative scope was covered in the previous chapter. Here the point is that representativeness and fairness work together. A representative pilot group paired with a mismatched control group still gives a poor comparison.
Blinding and predefined analysis
Where practical, keep the people who analyze the data unaware of which group is which until the analysis plan is fixed. Staff cannot usually be blinded to a process change, but analysts can be. Also decide before the pilot which test or comparison you will use, which outcomes count, and which data you will exclude. Choosing these after seeing the results lets you pick the version that looks best, which inflates false positives.
A worked example
A team has 8 cycle time readings from the current process and 8 from the changed process, run concurrently on comparable lines with the same metric definition. The code compares them with a permutation test. The test shuffles the group labels many times and counts how often a random split produces a gap as large as the one observed. If that share is small, chance alone is an unlikely explanation.
import random
from statistics import mean
control = [42, 45, 39, 48, 44, 41, 46, 43] # cycle time in minutes, current process
pilot = [36, 38, 35, 40, 37, 34, 39, 36] # cycle time in minutes, changed process
observed = mean(control) - mean(pilot)
# Permutation test: how often does a random split of the same data
# show a reduction at least as large as the one observed?
random.seed(1)
combined = control + pilot
n_control = len(control)
trials = 10000
extreme = 0
for _ in range(trials):
random.shuffle(combined)
diff = mean(combined[:n_control]) - mean(combined[n_control:])
if diff >= observed:
extreme += 1
print(f"Mean reduction: {observed:.2f} minutes")
print(f"Share of random splits at least as extreme: {extreme / trials:.4f}")The mean reduction is 6.25 minutes. The share of random splits that match it is very small, so noise is an unlikely explanation. This result is only as trustworthy as the design behind it. The test cannot detect that the pilot line got easier work, or that the control line lost a staff member. It checks chance, not fairness.
Common mistakes
- Comparing against a stale baseline. A baseline from months ago may no longer reflect today's conditions.
- Letting the pilot group pick its own metric. Fix the metric before the pilot starts.
- Ignoring spillover. Check whether staff, equipment, or queues are shared.
- Stopping when the result looks good. Ending early at a lucky high point overstates the effect. Decide the duration in advance.
- Treating a small gap as proof. A reduction can be statistically clear and still too small to matter. Compare it with your success criterion.
Summary
A fair comparison gives the change a reference point that stands in for what would have happened anyway. Prefer randomization, then a concurrent control group, then before and after. Hold the metric definition, measurement method, work mix, and support constant. Reduce selection bias with written rules, and fix the analysis plan in advance.
Exercise
A team pilots a new order-entry checklist in its best-performing office and compares the pilot month's error rate with the same office's error rate from the previous quarter. Name two problems with this design and suggest one improvement for each.
Show answer
First, selection bias: the best office is not representative, so results may not transfer. Improve it by choosing the office with a written rule, such as the one nearest the median baseline, or by piloting in more than one office. Second, the before and after comparison with a different time period mixes the checklist effect with any change in volume, staffing, or season. Improve it by adding a concurrent control office running the old process over the same dates and comparing the change in each office.
Exercise
In the permutation test above, the share of random splits at least as extreme as the observed reduction is very small. Does this prove that the process change caused the improvement? Explain.
Show answer
No. The test only shows that a gap this large is unlikely from random assignment of the same measurements. It does not show that the groups were comparable. If the pilot line received easier work, extra coaching, or a different measurement method, the gap could come from those differences. The causal claim depends on the fairness of the design, not only on the test.