Algorithm Search⌘K

Definitioncore

Propensity score

Also called treatment propensity.

The probability of receiving treatment given the covariates. Rosenbaum and Rubin showed it is a balancing score, so adjusting for it removes confounding by those covariates.

The propensity score of a unit is its probability of being treated, given its covariates: e(x)=Pr⁡[T=1∣X=x]e(x) = \Pr[T = 1 \mid X = x]. Rosenbaum and Rubin (1983) proved two facts that make it central to observational studies. First, units with the same propensity score have the same distribution of covariates whether treated or not, so the score balances XX. Second, if treatment is ignorable given XX, it is also ignorable given the single number e(X)e(X). So a problem of adjusting for many covariates becomes a problem of adjusting for one, and inverse probability weighting, propensity score matching and subclassification all rest on it. In a randomized experiment the score is known; in an observational study it must be estimated, usually by logistic regression.

Definition

Let XX be covariates measured before a binary treatment TT. The propensity score is

e(x)=Pr⁡[T=1∣X=x].e(x) = \Pr[T = 1 \mid X = x].

A function b(X)b(X) is a balancing score if X⊥T∣b(X)X \perp T \mid b(X): given b(X)b(X), the law of XX is the same for treated and controls. The covariates XX themselves are the finest balancing score.

The proofs below use only the tower rule E[E[V∣X]∣g(X)]=E[V∣g(X)]\mathbb{E}\big[\mathbb{E}[V \mid X] \mid g(X)\big] = \mathbb{E}[V \mid g(X)] for a function gg, so they hold for any XX. A reader may take XX discrete, where each step is a finite sum. For a binary TT, the statement T⊥W∣VT \perp W \mid V is the same as Pr⁡[T=1∣W,V]=Pr⁡[T=1∣V]\Pr[T = 1 \mid W, V] = \Pr[T = 1 \mid V].

Theorem 1 (the propensity score is a balancing score). T⊥X∣e(X)T \perp X \mid e(X).

Proof. Since e(X)e(X) is a function of XX, Pr⁡[T=1∣X,e(X)]=Pr⁡[T=1∣X]=e(X)\Pr[T = 1 \mid X, e(X)] = \Pr[T = 1 \mid X] = e(X). Also Pr⁡[T=1∣e(X)]=E[E[T∣X]∣e(X)]=E[e(X)∣e(X)]=e(X)\Pr[T = 1 \mid e(X)] = \mathbb{E}\big[\mathbb{E}[T \mid X] \mid e(X)\big] = \mathbb{E}[e(X) \mid e(X)] = e(X). The two are equal, so T⊥X∣e(X)T \perp X \mid e(X). □\square

Theorem 2 (which scores balance). A function b(X)b(X) is a balancing score if and only if e(X)=f(b(X))e(X) = f(b(X)) for some function ff. So ee is the coarsest balancing score, and every balancing score is at least as fine.

Proof. If e(X)=f(b(X))e(X) = f(b(X)), then Pr⁡[T=1∣b(X)]=E[e(X)∣b(X)]=f(b(X))=e(X)=Pr⁡[T=1∣X,b(X)]\Pr[T = 1 \mid b(X)] = \mathbb{E}[e(X) \mid b(X)] = f(b(X)) = e(X) = \Pr[T = 1 \mid X, b(X)], so T⊥X∣b(X)T \perp X \mid b(X). For the converse, suppose bb is balancing, and let x1x_1 and x2x_2 be values of positive probability with b(x1)=b(x2)=βb(x_1) = b(x_2) = \beta. Balancing gives Pr⁡[T=1∣X=x,b(X)=β]=Pr⁡[T=1∣b(X)=β]\Pr[T = 1 \mid X = x, b(X) = \beta] = \Pr[T = 1 \mid b(X) = \beta] for x=x1x = x_1 and x=x2x = x_2, and the left side is e(x)e(x). So e(x1)=e(x2)e(x_1) = e(x_2): ee is constant on each level set of bb, which is to say e=f∘be = f \circ b. (For a general XX the same argument holds almost surely.) □\square

Theorem 3 (ignorability given the score). If (Y(0),Y(1))⊥T∣X(Y(0), Y(1)) \perp T \mid X and 0<e(X)<10 < e(X) < 1, then (Y(0),Y(1))⊥T∣e(X)(Y(0), Y(1)) \perp T \mid e(X) and 0<e(X)<10 < e(X) < 1.

Proof. The overlap part is the same statement. For independence, write Y∗=(Y(0),Y(1))Y^* = (Y(0), Y(1)). Since e(X)e(X) is a function of XX, the tower rule gives

Pr⁡[T=1∣Y∗,e(X)]=E[Pr⁡[T=1∣Y∗,X]∣Y∗,e(X)].\Pr[T = 1 \mid Y^*, e(X)] = \mathbb{E}\big[\Pr[T = 1 \mid Y^*, X] \mid Y^*, e(X)\big].

By ignorability given XX, Pr⁡[T=1∣Y∗,X]=Pr⁡[T=1∣X]=e(X)\Pr[T = 1 \mid Y^*, X] = \Pr[T = 1 \mid X] = e(X), so the right side is E[e(X)∣Y∗,e(X)]=e(X)\mathbb{E}[e(X) \mid Y^*, e(X)] = e(X). By the proof of Theorem 1, Pr⁡[T=1∣e(X)]=e(X)\Pr[T = 1 \mid e(X)] = e(X) too. So Pr⁡[T=1∣Y∗,e(X)]\Pr[T = 1 \mid Y^*, e(X)] does not depend on Y∗Y^*, and Y∗⊥T∣e(X)Y^* \perp T \mid e(X). □\square

Rosenbaum and Rubin (1983) prove the same for every balancing score b(X)b(X), with Pr⁡[T=1∣b(X)]=e(X)\Pr[T = 1 \mid b(X)] = e(X) in the last step, which holds by Theorem 2. The proof works one potential outcome at a time, so weak unconfoundedness given XX gives weak unconfoundedness given e(X)e(X).

Consequence. Under the conditions of Theorem 3, the identification result of the ignorability page applies with e(X)e(X) in place of XX:

E[Y(t)]=E[E[Y∣T=t,e(X)]],t∈{0,1},\mathbb{E}[Y(t)] = \mathbb{E}\big[\mathbb{E}[Y \mid T = t, e(X)]\big], \qquad t \in \{0, 1\},

and E[Y(1)−Y(0)∣e(X)=s]=E[Y∣T=1,e(X)=s]−E[Y∣T=0,e(X)=s]\mathbb{E}[Y(1) - Y(0) \mid e(X) = s] = \mathbb{E}[Y \mid T = 1, e(X) = s] - \mathbb{E}[Y \mid T = 0, e(X) = s]. So treated and control units with the same score can be compared directly, as if they came from a randomized experiment with probability ss.

What is proved and what is not. Theorems 1 to 3 are exact properties of the true score in the population. They say nothing about covariates outside XX: the score balances only what it was built from. With an estimated score, balance in a sample is not guaranteed and is checked by comparing covariate means and distributions within strata or matched sets. Such checks measure balance; they do not prove it, and they cannot test ignorability.

Examples and non-examples

Example: a score that balances. Let XX take four values a,b,c,da, b, c, d, each with probability 1/41/4, with e(a)=1/5e(a) = 1/5, e(b)=e(c)=1/2e(b) = e(c) = 1/2 and e(d)=4/5e(d) = 4/5. Then Pr⁡[T=1]=14(15+12+12+45)=12\Pr[T = 1] = \frac14(\frac15 + \frac12 + \frac12 + \frac45) = \frac12. Among units with e(X)=1/2e(X) = 1/2, the treated are bb or cc with probability 1/81/8+1/8=12\frac{1/8}{1/8 + 1/8} = \frac12 each, and the controls also 12\frac12 each. Given the score, XX has the same law in both groups, as Theorem 1 says, though bb and cc may differ in every other way.

Non-example: a coarser score. Let b(X)=1b(X) = 1 if X∈{c,d}X \in \{c, d\} and 00 otherwise. Among units with b(X)=1b(X) = 1, a treated unit has X=dX = d with probability 14⋅4514⋅12+14⋅45=813\frac{\frac14 \cdot \frac45}{\frac14 \cdot \frac12 + \frac14 \cdot \frac45} = \frac{8}{13}, but a control has X=dX = d with probability 14⋅1514⋅12+14⋅15=27\frac{\frac14 \cdot \frac15}{\frac14 \cdot \frac12 + \frac14 \cdot \frac15} = \frac{2}{7}. The groups differ, so bb is not balancing. Theorem 2 predicts this: e(c)≠e(d)e(c) \ne e(d), so ee is not a function of bb.

Example: a randomized experiment. In a Bernoulli trial with probability pp, e(x)=pe(x) = p for every xx, a constant, and Theorem 1 says that X⊥TX \perp T with no conditioning. In a stratified experiment, ee is the known probability of each stratum.

Example: treatment by severity. In the example of the ignorability page, e(mild)=1/4e(\text{mild}) = 1/4 and e(severe)=3/4e(\text{severe}) = 3/4. The score takes two values and is a one-to-one function of severity, so stratifying on it is the same as stratifying on severity, and gives the effect 0.250.25.

Non-example: balance on an unmeasured covariate. If a variable UU affects both treatment and outcome but is not in XX, then e(X)e(X) need not balance UU, and Theorem 3 does not apply, because its premise fails. A score estimated with high accuracy from XX does not remove confounding by UU. Rosenbaum sensitivity analysis models exactly such a UU.

Non-example: a post-treatment covariate. If XX contains a variable changed by the treatment, e(X)e(X) is still defined, but ignorability given XX fails, as the ignorability page shows, so Theorem 3 gives nothing.

  • Ignorability: the assumption that Theorem 3 transfers from XX to e(X)e(X).
  • Inverse probability weighting: weights each unit by 1/e(X)1/e(X) or 1/(1−e(X))1/(1 - e(X)). Its page proves unbiasedness with the true score, and shows that the score estimated within strata gives the stratified estimate.
  • Propensity score matching: pairs treated units with controls of nearly equal score, to estimate the effect on the treated.
  • Augmented inverse probability weighting: combines a model of ee with a model of the outcome, and is consistent if either is right.
  • Generalized propensity score. For a treatment with several levels, Imbens (2000) uses r(t,x)=Pr⁡[T=t∣X=x]r(t, x) = \Pr[T = t \mid X = x], and weak unconfoundedness given XX gives weak unconfoundedness of Y(t)Y(t) given r(t,X)r(t, X), for each tt.
  • Stratified sampling: subclassification on the score, with strata of units of similar e(X)e(X), is the observational analogue of a stratified design.

References

  1. Paul R. Rosenbaum and Donald B. Rubin, The central role of the propensity score in observational studies for causal effects, Biometrika 70(1), 1983, pp. 41 to 55 (balancing scores, the propensity score as the coarsest balancing score, strong ignorability given a balancing score)
  2. Paul R. Rosenbaum and Donald B. Rubin, Reducing bias in observational studies using subclassification on the propensity score, Journal of the American Statistical Association 79(387), 1984, pp. 516 to 524 (subclassification on an estimated score and checks of covariate balance)
  3. Guido W. Imbens, The role of the propensity score in estimating dose-response functions, Biometrika 87(3), 2000, pp. 706 to 710 (the generalized propensity score for treatments with several levels)
  4. Guido W. Imbens and Donald B. Rubin, Causal Inference for Statistics, Social, and Biomedical Sciences, Cambridge University Press, 2015, Chapter 12 (unconfounded assignment and the propensity score) and Chapter 13 (estimating the propensity score)
  5. Paul R. Rosenbaum, Observational Studies, second edition, Springer, 2002, Chapter 3, pp. 71 to 104 (overt bias, adjustment by the propensity score)

Where this leads

About this page

The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.

LadderLevelWhat the next level needs
Human proofH0 no proof
  • add a proof in proofs/ (06.5)
LeanL0 no Lean part
  • name a Lean module in the lean field (07)
VisualV0 none
  • add viz/scene.ts or a figure (10)
WritingW4 complete
  • a review of the text: no review record reviews/JNBFXX/text.yaml