Lawfare Group → Knowledge Institute → Lawfare Academy

← Course syllabus · Related lesson

An adjusted coefficient still needs a causal argument

Current complete on-site edition 6

Required teaching and complete optional models are supplied on LawfareGroup.com. Publisher and primary links are optional provenance or further reading. Florida is the contemporary state-law default; federal rules and explicitly comparative accounting frameworks are distinguished. Independent subject review and observed human learner testing remain pending.

Cumulative regression and forecasting dossier, transfer models and 30-point rubric

Preserved original teaching integrated with complete current on-site preparation. Independent human subject review and observed learner testing remain pending.

Learning objectives

The pooled comparison mixes two compositions

A training program is observed among novice and experienced staff. Novices who do not participate have mean score 50, and participating novices have mean 55. Experienced nonparticipants have mean 80, and experienced participants have mean 85. Within each experience group, participation is associated with a five-point higher score. Yet suppose nonparticipants contain two novices and eight experienced staff, while participants contain eight novices and two experienced staff.

The pooled nonparticipant mean is (2×50+8×80)/10=74. The pooled participant mean is (8×55+2×85)/10=61. The raw association is 61−74=−13, even though both within-group comparisons are +5. This is not contradictory arithmetic. The pooled groups have different experience compositions, and experience is strongly associated with the score. The denominators identify different mixtures.

These fictional records deliberately repeat group cell means to make the composition visible. They are not a dataset from which to claim a real program effect or to assess residual uncertainty. The example should prompt a question about selection into training, not a choice between the raw and adjusted number based on which one management prefers.

State exactly what the regression holds fixed

Let T be 1 for a participant and 0 otherwise, and E be 1 for experienced staff and 0 for novices. The four cell means follow y=50+5T+30E. The intercept is the modeled novice nonparticipant mean. The T coefficient compares participants with nonparticipants at the same E value under this additive model. The E coefficient compares experience groups at the same T value. The model reconstructs every cell mean in this artificial fixture.

A 50/50 experience-standardized comparison produces participant mean (.5×55+.5×85)=70 and nonparticipant mean (.5×50+.5×80)=65, a difference of 5. The chosen 50/50 weights define a target composition; they are not automatically the composition of a future workforce. If the within-group effects differed, changing the target weights could change the standardized contrast even when the fitted group relations stayed fixed.

An adjusted coefficient is conditional on the model’s covariates and functional form. It need not be the same quantity as a marginal comparison in the observed population. Measurement error in experience, omitted within-group selection, an interaction between training and experience, or a lack of overlap can undermine a simple interpretation. An apparently well-fitting equation is not evidence that those threats have been removed.

Choose adjustment variables from a causal question

For a causal claim, define the intervention, outcome timing, eligible population and contrast first. Ask why experience predicts both program participation and outcomes. If pre-existing experience is a confounder for the intended effect, a justified adjustment can address that measured pathway under additional assumptions. But staff motivation, supervisor selection or earlier performance may also affect participation and scores within the experience groups. The +5 association then need not identify the intervention’s effect.

Do not indiscriminately adjust for every variable that improves fit. A skill assessment recorded after training may be part of the process through which training affects the outcome. Conditioning on it changes the question and can remove part of the effect of interest. Selection into a post-training 'completed assessment' subset may also relate to both participation and performance. These are design questions about which population and pathways are represented, not problems solved merely by adding another column.

A convincing evaluation therefore explains the assignment or selection process, pre-intervention covariates, outcome measurement and timing, overlap between compared cases, and the assumptions needed for attribution. A randomized or otherwise defensible evaluation design may support a causal interpretation that this observational table alone cannot. Predictive usefulness is another question: a model can predict scores well while giving a misleading intervention recommendation.

Report the raw −13, the within-group +5 comparisons, the target-standardized +5 and the causal limitation together. Preserve the group sizes and target weights so a reader can reproduce each number. Sensitivity to unmeasured selection should be considered where a causal decision is intended. The purpose of adjustment is to answer a defined question under explicit assumptions, not to transform an inconvenient association into a preferred story.

Worked example: The same model under another coding

If novice status N=1−E is used instead, substitute E=1−N to obtain y=80+5T−30N. The fitted values and training coefficient stay the same; the intercept and experience coding change meaning. A negative coefficient on novice status is not a new scientific finding, but the same contrast expressed using another reference category.

Worked example: No observed overlap means no direct conditional comparison

If every novice participates and no experienced person participates, T and E are perfectly linked in the observed data. The table no longer contains all four cells, so their separate coefficients cannot be identified from those observations without further restrictions. Software dropping one column does not create the missing comparison. Collect relevant overlap or narrow the claim; do not present a model-imposed extrapolation as an observed within-group result.

Progressive optional practice

Attempt each problem before opening its model. Then revise the reasoning under the changed conditions.

Guided

Compute the two pooled means and explain the sign reversal.

Compare the model reasoning

Nonparticipants average 74; participants average 61; the pooled difference is −13. Participants are mostly novices while nonparticipants are mostly experienced. Within each experience group the observed difference is +5.

Changed conditions

The participant and nonparticipant experience compositions are both 50/50.

Compare the revised analysis

Their means become 70 and 65, so the pooled difference is +5. The change in mixture, not a change in cell means, changes the pooled comparison.

Independent

Interpret all coefficients in y=50+5T+30E and calculate the 50/50 standardized contrast.

Compare the model reasoning

The intercept is the novice nonparticipant mean; 5 is the conditional participation association; 30 is the conditional experienced-versus-novice association. Standardized means are 70 and 65, difference 5.

Changed conditions

Motivation affects participation and scores within both experience groups.

Compare the revised analysis

Experience adjustment alone does not remove that selection. The conditional association does not identify the causal intervention effect without further justified assumptions or design.

Transfer

A manager asks to adjust for a post-training skill score and only analyze assessment completers. What must be clarified?

Compare the model reasoning

Define the causal target and timing. A post-training skill score may be a mediator, and completion may introduce selection. Explain how conditioning changes the estimand and what assumptions would justify it.

Changed conditions

The goal is only next-month prediction, not intervention evaluation.

Compare the revised analysis

Use variables available at prediction time and validate the prediction procedure prospectively. Do not reuse predictive performance as evidence of an intervention effect.

Source readings and scope

HM Treasury: Magenta Book evaluation guidance — Primary guidance on evaluation design and causal attribution. The four-cell training construction, regression algebra and all problems are original Academy analysis.

Reproduce the worked examples in Python 3. Standard library only; synthetic data; no production records or network access.