Tutorials › Propensity Score Matching and Instrumental Variables › Deriving the Propensity Score Balancing Property

The Balancing Property and Estimation · Tutorial 114 of 699

Deriving the Propensity Score Balancing Property

See why the true propensity score balances measured covariates within score strata, and work through the proof and a numerical example.

Intermediate 10 min read

What You'll Learn

  • Define the propensity score as the conditional probability of treatment given measured covariates.
  • Derive the balancing property using conditional expectation and Bayes’ rule.
  • Check why positivity is needed for comparisons between treatment groups within a score stratum.
  • Verify balance numerically for a binary covariate in a shared score stratum.
  • Distinguish the true propensity score’s population property from balance under an estimated or incorrect score.
  • Recognize what balance does not establish about outcomes or unmeasured covariates.

Why the Balancing Property Holds

The propensity score is useful because it compresses information about measured covariates into a single probability. The central mathematical fact is that, within a value of the true propensity score, the distribution of those covariates is the same for treated and untreated units. This is a population result about how treatment is assigned given measured covariates; it is not a claim that treatment assignment was random in the full population.

Let \(A\) be a binary treatment indicator, with \(A=1\) for treated units and \(A=0\) for untreated units. Let \(X\) denote the vector of measured pretreatment covariates. The propensity score is the conditional probability of treatment given those covariates.

Definition: The propensity score is \(e(X)=P(A=1\mid X)\). The balancing property states that, conditional on a value of \(e(X)\), the distribution of \(X\) is the same for \(A=1\) and \(A=0\). Equivalently, treatment status and \(X\) are conditionally independent given \(e(X)\), written \(A\perp X\mid e(X)\).

The equality is understood for score values where both treatment groups occur. In particular, when discussing both groups within a score stratum, require positivity: \(0<e(X)<1\) in that stratum. At a score of zero there are no treated units, and at a score of one there are no untreated units, so a two-group comparison cannot be made there.

Derivation From Conditional Probability

The proof uses the definition of \(e(X)\) and the fact that conditioning on a score value restricts the conditional treatment probability to that value. To make the argument precise without relying on the probability of an individual continuous score being positive, consider any set \(B\) of covariate values and a score stratum \(S\) on which \(e(X)=s\), where \(0<s<1\). The argument applies to discrete strata directly and, more generally, to conditional distributions defined almost surely.

First, among units in that score stratum, the treatment probability is \(s\). This follows by averaging the treatment probability given \(X\) over the stratum:

$$ P(A=1\mid e(X)=s) =E[P(A=1\mid X)\mid e(X)=s] =E[e(X)\mid e(X)=s] =s. $$

Now calculate the probability that a treated unit in the stratum has covariates in \(B\). Conditional expectation gives the numerator, and the preceding result gives the denominator:

$$ \begin{aligned} P(X\in B\mid A=1,e(X)=s) &=\frac{P(X\in B,A=1\mid e(X)=s)} {P(A=1\mid e(X)=s)}\\ &=\frac{E[\mathbf{1}\{X\in B\}P(A=1\mid X,e(X)=s)\mid e(X)=s]}{s}\\ &=\frac{E[\mathbf{1}\{X\in B\}e(X)\mid e(X)=s]}{s}\\ &=\frac{sP(X\in B\mid e(X)=s)}{s}\\ &=P(X\in B\mid e(X)=s). \end{aligned} $$

Here \(\mathbf{1}\{X\in B\}\) is one when \(X\) lies in \(B\) and zero otherwise. Because \(e(X)\) is determined by \(X\), conditioning on both \(X\) and \(e(X)\) does not change \(P(A=1\mid X)=e(X)\). On the stratum, \(e(X)=s\), so the factor inside the expectation is \(s\).

The untreated group has the same covariate distribution. Its probability of occurring in the stratum is \(1-s\), so the corresponding calculation is:

$$ \begin{aligned} P(X\in B\mid A=0,e(X)=s) &=\frac{E[\mathbf{1}\{X\in B\}P(A=0\mid X)\mid e(X)=s]}{1-s}\\ &=\frac{E[\mathbf{1}\{X\in B\}(1-e(X))\mid e(X)=s]}{1-s}\\ &=\frac{(1-s)P(X\in B\mid e(X)=s)}{1-s}\\ &=P(X\in B\mid e(X)=s). \end{aligned} $$

Thus both conditional distributions equal the covariate distribution in the stratum. Since this holds for every covariate set \(B\), the treated and untreated distributions of \(X\) agree there. That is the balancing property: the true score makes treatment groups alike in measured covariates within score strata.

Worked Example: Checking the Probability Argument

Suppose a hypothetical score stratum has \(e(X)=0.30\), and \(40\%\) of all units in that stratum have a particular covariate pattern, represented by \(X\in B\). What proportion of treated and untreated units in the stratum have that pattern?

For treated units, the joint probability of being in the pattern and treated, conditional on the stratum, is \(0.40(0.30)=0.12\). The total treated probability in the stratum is \(0.30\). Therefore:

$$ P(X\in B\mid A=1,e(X)=0.30)=\frac{0.12}{0.30}=0.40. $$

For untreated units, the joint probability of the pattern and being untreated is \(0.40(1-0.30)=0.28\). The total untreated probability is \(0.70\), giving:

$$ P(X\in B\mid A=0,e(X)=0.30)=\frac{0.28}{0.70}=0.40. $$

Both groups have the same \(40\%\) proportion. The stratum has treatment and control units because \(0.30\) is strictly between zero and one, satisfying positivity for this comparison.

A Numerical Example With a Binary Covariate

A covariate need not be the only determinant of the score. The following hypothetical population has two binary covariates, \(X\) and \(Z\). The treatment probabilities are specified by covariate pattern. Two patterns share a score of \(0.60\), allowing us to compare the distribution of the binary covariate \(X\) between treatment groups within that score stratum.

\(X\)\(Z\)Population proportion\(e(X,Z)\)
000.100.20
010.300.60
100.400.60
110.200.80

Focus on the score stratum \(e(X,Z)=0.60\). Its two patterns have population masses \(0.30\) for \((X,Z)=(0,1)\) and \(0.40\) for \((1,0)\), for a total of \(0.70\). The stratum contains both treatment groups because its treatment probability is neither zero nor one.

The treated mass in the first pattern is \(0.30(0.60)=0.18\), and in the second it is \(0.40(0.60)=0.24\). The total treated mass in the stratum is \(0.18+0.24=0.42\). Thus:

$$ P(X=1\mid A=1,e=0.60)=\frac{0.24}{0.42}=\frac{4}{7}\approx 0.5714. $$

For untreated units, the masses are \(0.30(0.40)=0.12\) for \(X=0\) and \(0.40(0.40)=0.16\) for \(X=1\). Their total is \(0.28\), giving:

$$ P(X=1\mid A=0,e=0.60)=\frac{0.16}{0.28}=\frac{4}{7}\approx 0.5714. $$

The proportion with \(X=1\) is therefore about \(57.14\%\) in each group within this stratum. The matching proportions are not a coincidence: both covariate-pattern masses were multiplied by the same treatment probability, \(0.60\), for treated units, or by the same untreated probability, \(0.40\), for controls. Dividing by each group’s total removes that common factor. The same reasoning applies to any set of covariate patterns within a fixed true-score stratum.

What the Result Does and Does Not Guarantee

The proof is an exact population result for \(e(X)=P(A=1\mid X)\). In an application, the score is generally estimated. A fitted score need not equal the true conditional probability, and it need not balance covariates exactly in a finite sample. Balance should therefore be checked in the data after the chosen matching, weighting, or stratification procedure; a model that produces plausible treatment probabilities is not, by itself, evidence that balance has been achieved.

The proof also concerns the measured covariates included in \(X\), not unmeasured characteristics. It does not show that treatment groups have the same potential outcomes, nor does it establish that an outcome comparison is causal. Those conclusions require additional assumptions and design or analysis choices. The balancing property is a statement about covariate distributions conditional on the true score.

It is helpful to distinguish score-based balancing from direct balancing on all covariates. Comparing treatment groups at identical values of the entire vector \(X\) targets covariate equality directly, but exact comparisons may be difficult when \(X\) has many components. The score reduces that vector to a scalar for the balancing argument. This reduction is useful only insofar as the score is the true conditional treatment probability, or an estimate that works adequately for the intended analysis.

Worked Example: An Incorrect Score Need Not Balance

Consider a hypothetical binary covariate \(X\) with \(P(X=1)=P(X=0)=0.50\). Suppose the true treatment probabilities are \(P(A=1\mid X=1)=0.80\) and \(P(A=1\mid X=0)=0.20\). An analyst instead assigns every unit the constant score \(q(X)=0.50\). Since this score places everyone in one stratum, does it balance \(X\)?

The total treated mass is \(0.50(0.80)+0.50(0.20)=0.50\). Among treated units, the mass with \(X=1\) is \(0.50(0.80)=0.40\), so:

$$ P(X=1\mid A=1,q=0.50)=\frac{0.40}{0.50}=0.80. $$

The untreated mass is also \(0.50\). Its \(X=1\) mass is \(0.50(1-0.80)=0.10\), so:

$$ P(X=1\mid A=0,q=0.50)=\frac{0.10}{0.50}=0.20. $$

The proportions, \(0.80\) and \(0.20\), differ substantially. The constant \(q\) is not the true propensity score: it fails to represent the different treatment probabilities at \(X=0\) and \(X=1\). The example shows why the theorem cannot be applied merely because a quantity is called a score or because both groups have the same assigned score.

Common Pitfalls and Diagnostics

  • Using the wrong probability. The balancing proof uses \(e(X)=P(A=1\mid X)\), not any arbitrary summary or treatment-prediction score. If the score does not equal the conditional treatment probability, the algebra does not establish balance.
  • Ignoring positivity. At \(e(X)=0\) or \(e(X)=1\), one treatment group is absent. Conditional distributions for both groups in that stratum cannot be compared.
  • Confusing a population result with a sample guarantee. The exact result concerns the true score and population distributions. Estimated scores and finite samples can leave residual differences; inspect covariate balance in the resulting groups.
  • Interpreting balance as causal identification. Balanced measured covariates do not demonstrate balance on unmeasured factors or establish assumptions about potential outcomes.

A useful diagnostic is to compare covariate distributions between treatment groups within the score strata or matched sets actually used. If meaningful differences remain, the empirical procedure has not delivered the balance suggested by the ideal population result. Such differences may reflect estimation error, sparse data, an inadequate score specification, or insufficient overlap; the theorem alone cannot identify which cause is responsible.

Key takeaway: Within a stratum where the true propensity score equals \(s\), every covariate pattern’s mass is multiplied by \(s\) for treated units and by \(1-s\) for untreated units. Normalizing within each group cancels those factors, giving the same covariate distribution in both groups, provided \(0<s<1\).

Check Your Understanding

Answer each question, then compare your reasoning with the solutions below.

  1. If \(e(X)=0.25\) in a stratum and \(P(X\in B\mid e(X)=0.25)=0.60\), what is \(P(X\in B\mid A=1,e(X)=0.25)\)?
  2. Why is positivity needed to compare treated and untreated covariate distributions within a score stratum?
  3. In the binary-covariate example, what is the untreated mass for pattern \((X,Z)=(1,0)\) within the \(e=0.60\) stratum?
  4. Does a constant score guarantee balance if the true treatment probability varies with \(X\)? Explain.
  5. What does the balancing property establish, and what does it not establish about unmeasured covariates?

Solutions. (1) The proportion remains \(0.60\). The joint mass for treated units and \(X\in B\) is \(0.60(0.25)=0.15\), and dividing by the treated probability \(0.25\) gives \(0.15/0.25=0.60\). (2) Positivity, \(0<e(X)<1\), ensures that both treatment groups occur in the stratum; at an endpoint one group has zero probability. (3) The untreated mass is \(0.40(1-0.60)=0.16\). (4) No. If the true probability varies with \(X\), a constant score generally groups units with different treatment probabilities; the preceding example gives covariate proportions of \(0.80\) and \(0.20\) in treated and untreated units. (5) The property establishes equality of measured-covariate distributions within true-score strata. It makes no claim that unmeasured covariates are balanced.

Clinical Biostats