Why ATE Weights Depend on Treatment Status
Inverse probability weighting assigns each unit a weight based on how likely that unit was to receive the treatment it actually received. For the average treatment effect (ATE), the weighting rule must account for both treatment groups: treated units receive the inverse of their probability of being treated, while untreated units receive the inverse of their probability of being untreated. The two denominators are different, so assigning the same formula to every unit is a consequential error.
Let \(D_i\) be unit \(i\)'s binary treatment indicator, with \(D_i=1\) for treated and \(D_i=0\) for untreated. Let \(X_i\) denote covariates measured before treatment, and define the propensity score as \(e(X_i)=P(D_i=1\mid X_i)\). In practice, the propensity score is usually estimated from a model; write the estimated score for unit \(i\) as \(\hat e_i\). It is a probability between 0 and 1.
The formula is constructed by taking the reciprocal of the relevant assignment probability. A treated unit's observed assignment probability is \(\hat e_i\), so its weight is \(1/\hat e_i\). An untreated unit's observed assignment probability is \(1-\hat e_i\), so its weight is \(1/(1-\hat e_i)\). This defines the ATE weights; it does not, by itself, establish that a weighted analysis identifies a causal effect. That interpretation also depends on causal assumptions and is the subject of the later treatment of why inverse probability weighting identifies the ATE.
This compact expression works because the treatment indicator selects one term. For a treated unit, \(D_i=1\), so the first term is \(1/\hat e_i\) and the second is zero. For an untreated unit, \(D_i=0\), so the first term is zero and the second is \(1/(1-\hat e_i)\). The notation is useful for computation, but the piecewise form is often clearer when checking a hand calculation.
Conditions and a Short Justification
The weights are defined for a binary treatment and an estimated propensity score that represents the probability of treatment conditional on baseline covariates. Covariates used to estimate the score should be measured before treatment; adjusting for variables affected by treatment can change the question and introduce bias. To interpret an ATE-weighted analysis causally, the standard requirements include consistency, no interference between units, conditional exchangeability given the covariates, and positivity. Positivity means that within covariate patterns relevant to the target population, the probability of either treatment status is greater than zero. These assumptions are not guaranteed simply because a propensity model has been fitted.
The reciprocal rule can be justified directly from the observed assignment mechanism. Conditional on \(X_i\), the chance of observing \(D_i=1\) is \(e(X_i)\), and the chance of observing \(D_i=0\) is \(1-e(X_i)\). Inverting the chance of the realized arm gives the two arm-specific weights. If a treated unit has a low probability of treatment, it receives a large weight; that unit represents treatment assignments that were relatively uncommon at its covariate values. The same logic applies to an untreated unit whose probability of remaining untreated is low.
This is a derivation of the weight construction, not a proof that the resulting weighted means identify the ATE. In a real analysis, the estimated score substitutes for the unknown assignment probability. If the score model is misspecified, the computed weights may not adequately account for differences in measured covariates. Even with a well-specified model, poor overlap can make some weights very large.
Worked Example: Choosing the Correct Arm-Specific Formula
Suppose two hypothetical units each have an estimated treatment probability of \(\hat e_i=0.30\). Unit A is treated and Unit B is untreated. Calculate their ATE weights.
For Unit A, \(D_A=1\), so use the treated formula: $$ w_A^{ATE}=\frac{1}{\hat e_A}=\frac{1}{0.30}=3.333. $$
For Unit B, \(D_B=0\), so use the untreated formula: $$ w_B^{ATE}=\frac{1}{1-\hat e_B}=\frac{1}{1-0.30}=\frac{1}{0.70}=1.429. $$
The same estimated score produces different weights because the units received different treatment statuses. The treated unit's observed assignment probability is 0.30; the untreated unit's is 0.70. Using \(1/\hat e_i\) for both units would incorrectly assign Unit B a weight of \(3.333\).
Calculating Weights Across a Dataset
The safest hand-calculation procedure is to record the treatment indicator, estimated score, relevant assignment probability, and reciprocal. That makes it easier to see whether the denominator matches the observed treatment arm. The following hypothetical dataset illustrates the calculation for multiple units.
Worked Example: ATE Weights for Six Units
Suppose a hypothetical analysis has the following estimated propensity scores. The scores are treated as given outputs from a model; the task is to construct each unit's ATE weight.
| Unit | Treatment \(D_i\) | Estimated score \(\hat e_i\) | Assignment probability observed | ATE weight |
|---|---|---|---|---|
| A | 1 | 0.80 | 0.80 | 1.250 |
| B | 1 | 0.50 | 0.50 | 2.000 |
| C | 1 | 0.25 | 0.25 | 4.000 |
| D | 0 | 0.20 | 0.80 | 1.250 |
| E | 0 | 0.50 | 0.50 | 2.000 |
| F | 0 | 0.75 | 0.25 | 4.000 |
For treated Unit A, \(w_A^{ATE}=1/0.80=1.250\). For treated Unit B, \(w_B^{ATE}=1/0.50=2.000\), and for treated Unit C, \(w_C^{ATE}=1/0.25=4.000\). For untreated Unit D, the probability of its observed status is \(1-0.20=0.80\), so \(w_D^{ATE}=1/0.80=1.250\). For untreated Unit E, \(w_E^{ATE}=1/(1-0.50)=2.000\). For untreated Unit F, \(w_F^{ATE}=1/(1-0.75)=1/0.25=4.000\).
The table displays a useful symmetry: a treated unit with score 0.25 and an untreated unit with score 0.75 each receive weight 4. Their probabilities of the observed treatment status are both 0.25. The weights do not generally sum to the same amount in the two arms, and this calculation does not normalize them or turn them into outcome means.
In software, the same computation is often implemented with a vectorized expression. It is still important to inspect the treatment coding: if a dataset uses \(D_i=1\) for control rather than treatment, the interpretation of the formula must be changed to match the coding. A weight column without a clear treatment convention is difficult to audit.
Estimated Scores and Extreme Weights
Estimated propensity scores are rarely exact probabilities known in advance. They are predictions from a fitted model, and rounding can affect a displayed reciprocal. For example, a score close to zero creates a large treated-unit weight, while a score close to one creates a large untreated-unit weight. The problematic combination is not simply “a score near an endpoint”: it is a score near zero for a treated unit or near one for an untreated unit, because the probability of that unit's observed assignment is then small.
Worked Example: Checking for Extreme Weights
Consider four hypothetical units with estimated propensity scores from a fitted model. Their treatment statuses and scores are: Unit G, treated with \(\hat e_G=0.05\); Unit H, untreated with \(\hat e_H=0.15\); Unit J, treated with \(\hat e_J=0.82\); and Unit K, untreated with \(\hat e_K=0.95\). Calculate the weights and identify the main concern.
For G, \(w_G^{ATE}=1/0.05=20.00\). For H, \(w_H^{ATE}=1/(1-0.15)=1/0.85=1.176\). For J, \(w_J^{ATE}=1/0.82=1.220\). For K, \(w_K^{ATE}=1/(1-0.95)=1/0.05=20.00\).
Units G and K have weights of 20, much larger than the other two. G is a treated unit with a low estimated probability of treatment; K is an untreated unit with a low estimated probability of remaining untreated. These observations can strongly influence weighted summaries. The calculation does not prove that the fitted model is wrong, but it signals that overlap and sensitivity to influential units deserve close examination.
Useful diagnostics include plotting estimated scores separately by treatment group, inspecting the distribution and maximum of the weights, and checking whether a few units dominate the total weight. Covariate balance after weighting is also important: substantial residual imbalance can indicate that the fitted score model or its specification is inadequate. There is no single universal cutoff that makes a weight “too large”; the practical concern depends on sample size, the distribution of weights, the target population, and the resulting uncertainty.
Truncating or trimming extreme weights can reduce their influence, but it changes the procedure and can introduce bias; it should not be treated as an automatic repair. Likewise, removing units with extreme scores may change the population to which the results apply. Any such decision should be motivated, reported, and accompanied by a clear account of the target population.
How ATE Weights Differ From Other Approaches
ATE weights use both treatment arms to target the full study population, subject to the assumptions and overlap required for a causal interpretation. Other weighting schemes can target different populations, so weights that look similar algebraically are not interchangeable. For instance, the weights for the average treatment effect on the treated are designed around the treated population rather than the full population; those weights are treated separately in the later material.
Matching and subclassification offer different ways to use propensity scores. Matching selects or pairs units based on similarity, while subclassification groups units into score-based strata. ATE weighting instead assigns a weight to each unit, generally retaining all units unless the analyst makes an additional restriction. Weighting can be convenient for constructing an overall weighted analysis, but it can be unstable when observed treatment assignments are unlikely given the scores. Matching may discard units, and subclassification can leave residual differences within strata; no method automatically removes the need to check overlap and covariate balance.
A second common error is to treat a large weight as a computational nuisance that can be ignored. Large weights indicate that a unit's observed treatment status was estimated to be uncommon at its covariate values; they can make the result sensitive to a small number of observations. Check the arm-specific formula first, then inspect the score and weight distributions, balance, and the implications of any proposed restriction or truncation.
Check Your Understanding
Answer each question, then compare with the solutions below.
- A treated unit has estimated propensity score 0.40. What is its ATE weight?
- An untreated unit has estimated propensity score 0.40. What is its ATE weight, and why does it differ from the answer to Question 1?
- A treated unit has estimated score 0.96. Calculate its weight and identify the diagnostic concern.
- Why is a propensity score near zero not automatically associated with a large ATE weight for every unit?
Solutions. (1) The treated formula applies: \(1/0.40=2.500\). (2) The untreated formula applies: \(1/(1-0.40)=1/0.60=1.667\); the units have different probabilities of their observed treatment status. (3) The weight is \(1/0.96=1.042\), so the score alone does not imply a large weight here. (4) A score near zero produces a large ATE weight for a treated unit, but an untreated unit's weight is \(1/(1-\hat e_i)\), which is near 1 when \(\hat e_i\) is near zero.