CHAPTER
16
Group
5
·
Check the Experiment You Built
Chapter 15 asked whether the realized groups looked comparable on relevant pre-treatment characteristics.
That is cross-sectional evidence.
This chapter asks a different question:
How did treatment and control behave relative to one another through the pre-treatment period?
Suppose treatment locations average weekly transactions before the test and control averages .
Different levels are not automatically a problem.
Now suppose treatment has been growing while control has been declining.
That is more concerning for a comparison that intends to use control behavior as evidence about what might have happened to treatment without the intervention.
But preserve the boundary:
Pre-treatment similarity is evidence.
It is not proof.
Decide upon the historical window length before interpreting it
Use the historical-window principles already established in Chapter 01.
For this diagnostic, record:
- first included pre-treatment period;
- last included pre-treatment period;
- KPI frequency;
- treatment start;
- reason the window is relevant.
Do not inspect many windows and then select the one that makes treatment and control look most similar.
The window should be chosen because it is relevant to the comparison – not because it produces a favorable chart.
Use a common time window
Treatment and control must be compared over the same pre-treatment periods.
Do not compare:
- treatment Weeks -12 through -1
with:
- control Weeks -8 through -1.
The periods must be genuinely ordered, comparable, and pre-treatment.
No treatment-affected observation belongs in this diagnostic.
Decide upon the unit-composition policy
A group average can change because the units changed – even when none of the continuing units changed behavior.
That means you must decide and disclose which units contribute to the series.
Primary Workbench construction – fixed/common composition
For the primary diagnostic in this chapter:
Within each group, include an experimental unit in the primary series only if it has a valid KPI value for every period in the declared pre-treatment window.
This produces a fixed-composition treatment series and a fixed-composition control series.
Record:
- assigned treatment units;
- treatment units retained in the fixed series;
- assigned control units;
- control units retained in the fixed series;
- exclusions caused by missing unit-period observations.
This is not a universal missing-data method.
It is the transparent primary Workbench construction for this diagnostic because it prevents changing composition from silently masquerading as trend.
Available-unit series – optional disclosed sensitivity view
You may also inspect a series based on all available valid units in each period.
If you do:
- label it Available-Unit Series;
- report contributing treatment and control counts for every period;
- keep missing values missing – never zero;
- do not compare it with the fixed-composition series as though they were the same estimand.
A changing available-unit series can reflect both behavior and composition.
Weighting
The default group-period construction is:
unless another weighting scheme is intentionally specified.
Panel row counts must not determine weight.
A store with multiple duplicate or transaction-level rows in a week must first be reduced to the defined unit-period KPI.
Chapter 02’s unit-period uniqueness rule still applies.
Construct the pre-treatment group series
Suppose the fixed/common units produce:
| Week | Treatment | Control |
|---|---|---|
| 1 | 2400 | 2150 |
| 2 | 2430 | 2180 |
| 3 | 2390 | 2140 |
| 4 | 2470 | 2220 |
| 5 | 2450 | 2200 |
| 6 | 2500 | 2250 |
These are group-period averages across the fixed contributing units.
Matrix data structure
Suppose:
- Column A = Store;
- Column B = Group;
- Columns C:H = Weeks 1:6;
- one row per experimental unit.
For Week 1 treatment average:
For Week 1 control average:
Copy across the declared periods.
The rows included in this primary calculation must already be the declared fixed/common unit set.
Chart the series
Create a line chart using:
- Week on the horizontal axis;
- Treatment group average as one series;
- Control group average as the other series.
Look at the original KPI-unit series first.
Inspect:
- direction;
- turning points;
- persistent gaps;
- unusual periods;
- volatility;
- seasonality visible within the chosen window;
- structural changes.
Do not reduce the diagnostic to one number before looking at the history.
Normalize when level differences obscure movement
If treatment and control operate at substantially different levels, create an indexed view.
For each series:
If treatment values begin in B2:
Copy downward.
Index control independently to its own first value.
Both series begin at .
The indexed chart emphasizes relative movement.
Keep the original KPI-unit chart too.
Normalization changes the view – not the underlying evidence.
Calculate a simple slope diagnostic
A chart comes first.
A slope is a descriptive supplement.
If Week is in A2:A7, treatment series in B2:B7, and control in C2:C7:
Treatment slope:
Control slope:
For the six-period example above, both reproduce:
and:
KPI units per period.
Slope difference:
if the two slopes are in B9 and C9.
Expected:
for this example.
That result is descriptive.
Do not turn it into:
Parallel trends: PASS.
Two series can have similar linear slopes while differing in nonlinear behavior, turning points, volatility, or response to shocks.
Changing-composition stress case
This is why composition policy matters.
Suppose a treatment group has two stores.
Store-level evidence
| Week | Store A | Store B |
|---|---|---|
| 1 | 100 | 200 |
| 2 | 100 | 200 |
| 3 | 100 | Missing |
Neither store changed its observed KPI.
Available-unit average
Week 1:
Week 2:
Week 3 .
The available-unit group series appears to fall:
But the decline was created entirely by Store B leaving the calculation.
It was not created by declining behavior among the continuing units.
Fixed/common composition
Under the primary fixed/common policy, Store B is excluded from the three-period series because it is missing Week 3.
Store A contributes .
The fixed-composition series is flat.
This stress case does not prove that fixed composition is always the only valid analytical choice.
It proves that composition is an analytical choice that must be visible.
Missingness
Never replace a missing unit-period KPI with zero unless zero is the actual observed KPI value.
For the primary fixed/common series:
- a unit missing any required period is excluded from that primary series;
- exclusions are counted and disclosed by group.
For an optional available-unit series:
- missing observations remain excluded from that period’s mean;
- contributing unit counts are shown for every period.
If missingness differs materially between treatment and control, investigate it.
Missingness can be evidence about execution or data quality.
It must not disappear inside an average.
Known events should remain visible
Suppose the groups diverge during one pre-treatment week.
Before deleting the period, ask what happened.
Perhaps:
- severe weather affected one market;
- a promotion affected one geography;
- a location temporarily closed;
- a holiday shifted;
- a system outage occurred.
Do not automatically remove the period because it makes the chart look less parallel.
The event may be important evidence about how the groups respond differently to real-world shocks.
Do not mistake a formal pre-trend test for proof
Formal pre-trend testing can be useful.
Failure to detect a statistically significant pre-trend difference does not however prove the required post-treatment counterfactual.
Among other reasons:
- historical periods may be limited;
- a test may have low power;
- behavior may be nonlinear;
- future shocks may affect the groups differently.
Matrix and Panel must tell the same story
If Matrix and Panel representations contain the same:
- units;
- periods;
- KPI;
- aggregation;
- missingness policy;
- weighting;
they should produce the same treatment and control group-period series.
If they do not, stop.
The difference is evidence that the implementations are not analytically equivalent.
Check your work
- 1The historical window was declared before interpretation.
- 2Every period is pre-treatment.
- 3Treatment and control use the same periods.
- 4Periods are genuinely ordered and comparable.
- 5The KPI definition and frequency are the same across groups.
- 6The unit-composition policy is declared.
- 7The primary series uses fixed/common composition as specified here.
- 8Missing unit-period observations have not become zero.
- 9Excluded units are disclosed by group.
- 10Each contributing unit receives equal weight within a period unless another rule is explicitly specified.
- 11Panel row counts do not determine weights.
- 12Matrix and Panel routes reproduce equivalent group series from equivalent evidence.
- 13Any slope presented as calculated reproduces from the displayed series.
- 14The chart was inspected – not replaced by the slope.
- 15The window was not searched backward until a favorable pattern appeared.
- 16No statement treats parallel-looking pre-period lines as proof of the untreated post-period path.
What this establishes – and what it doesn’t
A pre-treatment trend check establishes:
How treatment and control behaved relative to one another during the declared pre-treatment window under the stated composition, missingness, aggregation, and weighting rules.
It can provide evidence relevant to the credibility of the comparison.
It does not establish:
- that treatment and control would have followed identical trajectories after treatment;
- that no confounding event will occur;
- that the causal design is valid;
- that a future treatment-effect estimate will be unbiased;
- or that the experimental sample represents the population to which you want to apply the result.
We have examined internal comparison credibility.
Now ask a different question about external applicability.
