Standardization transports stratum-specific effect estimates to a target population by weighting them with the target population’s stratum shares, provided every target stratum has credible effect support.
Target-population standardization for branch effects
Name the target before averaging
A policy effect measured across mostly high-volume urban branches may be used to plan a rollout dominated by smaller regional branches. The source average answers the source-mix question. The target decision needs an average under the target mix. Write down the intended branches, calendar period, outcome definition and intervention version before applying weights. Sampling-frame coverage matters: branches missing from the target roster cannot enter the calculation.
Partition on effect modifiers
Use pre-policy attributes that plausibly change the effect, such as branch volume and queue architecture, rather than arbitrary labels. Estimate an effect within every required stratum, then multiply by the target share and sum. In the teaching fixture, urban branches have an estimated breach-rate change of -0.05, regional branches -0.02, and the target mix is 30% urban and 70% regional. The transported average is -0.029, not the source average of -0.044 when the source mix is 80% urban.
Distinguish sampling weights from causal identification
The arithmetic cannot repair a biased stratum effect. Within each stratum, the original causal design must still support an effect, and the treatment and outcome must mean the same thing in source and target. Transport also assumes the chosen strata capture the effect modifiers that differ between populations. If unrecorded queue design changes the effect, reweighting urban and regional shares alone may fail. Overlap diagnostics address a related support problem.
Make missing support a hard stop
If the target includes remote branches but the source study has none, assigning a remote effect from an urban estimate is extrapolation. The code raises on an unsupported target stratum rather than silently renormalizing the observed strata. Small strata with noisy estimates need uncertainty carried through the weighted sum; the fixture only demonstrates point-estimate arithmetic. An uncertainty interval needs source-estimate covariance or a resampling design that preserves the study units.
Do not transfer a single-unit effect by arithmetic alone
A synthetic-control study of one branch supplies one branch-specific contrast, not stratum effects for urban and regional branches. You cannot feed that lone gap into both cells and claim population transport. Gather effects or a defended model across branches, or label the projection a scenario with explicit assumptions. The review project separates the local finding from the rollout decision.
Implementation
def standardized_effect(effect_by_stratum, target_share):
if not target_share or any(share < 0 for share in target_share.values()):
raise ValueError("invalid target shares")
if abs(sum(target_share.values()) - 1) > 1e-12:
raise ValueError("target shares must sum to one")
unsupported = {stratum for stratum, share in target_share.items()
if share > 0 and stratum not in effect_by_stratum}
if unsupported:
raise ValueError("unsupported target strata: " + ", ".join(sorted(unsupported)))
return sum(target_share[stratum] * effect_by_stratum[stratum]
for stratum in target_share if target_share[stratum] > 0)
estimated_effects = {"urban": -.05, "regional": -.02}
source_mix = {"urban": .80, "regional": .20}
target_mix = {"urban": .30, "regional": .70}
source_average = standardized_effect(estimated_effects, source_mix)
target_average = standardized_effect(estimated_effects, target_mix)
assert abs(source_average - (-.044)) < 1e-12
assert abs(target_average - (-.029)) < 1e-12Performance and operating cost
For S strata, validation and the weighted sum cost O(S) expected time and O(S) space for the support set. Estimating defensible stratum effects, tracking target composition and propagating uncertainty are the substantial costs.
Common Mistakes
- Do not treat reweighting as a cure for confounded stratum effects.
- Do not renormalize away a target stratum with no source support.
- Do not turn one treated branch’s effect into a population estimate by relabeling it.
