How do you compare groups that did not arise by chance? (matching, propensity score)
In brief
If people were not assigned to two groups at random, they often differ in other characteristics from the start. In matching Statable looks for each person in the treated group for a person as similar as possible in the other group and compares only these pairs. Similar means: same propensity score, the probability of belonging to the treated group given the chosen characteristics.
When
- Two groups, an outcome as a number and characteristics that could distinguish the two groups (for example age or prior knowledge).
- Rule of thumb: at least 10 plus 5 cases per characteristic, and each group needs at least two people with all details. Statable does not do the matching with case weights.
How it works in Statable
- Run the card "Do groups differ?" with two groups. Under the result open the section "Make the groups comparable (propensity matching)".
- Choose "Which group counts as treated?", then tick the characteristics under "Which characteristics should be balanced?". Only these are taken into account.
- Optionally tick "Tight match" (only pairs whose scores are at most 0.2 standard deviations apart). This is a caliper.
- Click "Form pairs and compare". Statable calculates in the browser.
Reading the result
- Statable states how many pairs arose and how many treated people stayed without a partner. The pairs are formed without replacement; a person appears only once.
- Table "Balance of the characteristics (standardised difference)": the difference between the groups per characteristic, before and after, measured in standard deviations. Below 0.1 is often regarded as well balanced (Austin 2011). If the groups are still not well balanced afterwards, the result is to be read with care.
- The result: difference in the outcome between the pairs (mean difference, ATT) with 95% interval and t test for paired values, beside it the value without matching for comparison.
- If the scores do not overlap, there is no well matching person for some of the treated people; the pairs there are less comparable. If the characteristics separate the groups almost completely, matching is not possible.
What is often misunderstood
Matching balances only the chosen characteristics; unmeasured differences remain. It does not replace random assignment and does not prove a cause.
Reporting the result
Report: which characteristics entered the propensity score (and why those), the model (logistic regression), the matching method (1:1, nearest neighbour, without replacement, with or without caliper), the number of treated and comparison people before and after matching, the number of pairs, the standardized differences before and after (best as a table) and only then the effect (mean paired difference, ATT) with 95% interval and test. A standardized difference below 0.1 is often taken as well balanced (Austin 2009, Statistics in Medicine 28, 3083-3107); a caliper of 0.2 standard deviations of the logit is often recommended (Austin 2011, Pharmaceutical Statistics 10, 150-161). Both are rules of thumb. Also: matching balances only measured characteristics, not unknown ones.
The propensity score was estimated with a logistic regression of … on …. The treated people (n = …) were matched 1:1 without replacement to their nearest neighbour [caliper: … standard deviations of the logit]; … pairs resulted, … treated people stayed without a partner. The standardized differences fell from at most … to at most …. The difference in the outcome was ATT = … (95% CI […, …]), t(…) = …, p = ….
For specialists
Propensity score: logistic regression (IRLS) of the group on the characteristics, distance = logit of the score. 1:1 matching without replacement, greedy nearest neighbour, treated from the largest score on (as MatchIt with m.order = "largest"); caliper in standard deviations of the logit. Standardised difference with the standard deviation of the treated before matching as denominator. Effect: mean pair difference (ATT) with t test for paired values. Reference values: R MatchIt (method = "nearest", distance = "glm", link = "linear.logit").
Sources
Rosenbaum, P. R. & Rubin, D. B. (1983). The central role of the propensity score in observational studies for causal effects. Biometrika, 70, 41-55. Austin, P. C. (2011). An introduction to propensity score methods for reducing the effects of confounding in observational studies. Multivariate Behavioral Research, 46, 399-424. Ho, D. E., Imai, K., King, G. & Stuart, E. A. (2011). MatchIt: Nonparametric preprocessing for parametric causal inference. Journal of Statistical Software, 42(8), 1-28.