“Matching with replacement induces two types of correlations that must be accounted for when estimating the variance of estimated treatment effects. The first is a within-matched set correlation in outcomes. Matched subjects within the same matched set have similar values of the propensity score. Subjects who have the same value of the propensity score have measured baseline covariates that come from the same multivariate distribution. In the presence of confounding, baseline covariates are related to the outcome. Thus, matched subjects are more likely to have similar outcomes compared to two randomly selected subjects. The second source of correlation is induced by repeated use of control subjects. Failure to account for this correlation and acting as though the matched control subjects were independent observations will likely result in estimated standard errors that are artificially small and estimated confidence intervals that are artificially narrow. Added complexity is introduced by having subjects cross-classified with matched sets such that the same control subject can belong to more than one matched set.”
Tag: quasi-experiments
Baseline balance in experiments and quasi-experiments
Baseline balance is important for both experiments and quasi-experiments, just not in the way researchers sometimes believe. Here are excerpts from three of my favourite discussions of the topic.
Don’t test for baseline imbalance in RCTs. Senn (1994, p. 1716):
“… the following are two incontrovertible facts about a randomized clinical trial:
1. over all randomizations the groups are balanced;
2. for a particular randomization they are unbalanced.
Now, no ‘[statistically] significant imbalance’ can cause 1 to be untrue and no lack of a significant balance can make 2 untrue. Therefore the only reason to employ such a test must be to examine the process of randomization itself. Thus a significant result should lead to the decision that the treatment groups have not been randomized…”
Random sequence generators will randomise the groups. What can go wrong is that people can subvert the randomisation -sometimes with the best of intentions – if you’re not careful to prevent them doing so.
Balancing covariates between treatment groups, e.g., using permuted blocks or minimisation, can increase the efficiency of covariate adjustment. Senn (1994, p. 1721):
“… what is the value of balance as regards validity of an inference? Answer: none. This does not mean that balance is not useful. Its use is that, having decided to condition, we minimize the standard errors of our treatment effects if our covariate is orthogonal to treatment. This is the true value of balance which is an issue of efficiency, not validity.”
Do examine baseline imbalance in quasi-experiments; however, not by using statistical tests. Sample descriptives, such as a difference in means, suffice. Imai et al. (2008, p. 497):
“… from a theoretical perspective, balance is a characteristic of the sample, not some hypothetical population, and so, strictly speaking, hypothesis tests are irrelevant…”
Using p-values from t-tests and similar can lead to erroneous decisions of balance. As you prune a dataset to improve balance, power to detect effects decreases. Imai et al. (2008, p. 497 again):
“Since the values of […] hypothesis tests are affected by factors other than balance, they cannot even be counted on to be monotone functions of balance. The t-test can indicate that balance is becoming better whereas the actual balance is growing worse, staying the same or improving. Although we choose the most commonly used t-test for illustration, the same problem applies to many other test statistics…”
If your matching has led to baseline balance, then you’re good, even if the matching model is misspecified. (Though not if you’re missing key covariates, of course.) Rosenbaum (2023, p. 29):
“So far as matching and stratification are concerned, the propensity score and other methods are a means to an end, not an end in themselves. If matching for a misspecified and misestimated propensity score balances x, then that is fine. If by bad luck, the true propensity score failed to balance x, then the match is inadequate and should be improved.”
References
Imai, K., King, G., & Stuart, E. A. (2008). Misunderstandings between experimentalists and observationalists about causal inference. Journal of the Royal Statistical Society: Series A (Statistics in Society), 171(2), 481–502.
Rosenbaum, P. R. (2023). Propensity score. In J. R. Zubizarreta, E. A. Stuart, D. S. Small, & P. R. Rosenbaum, Handbook of Matching and Weighting Adjustments for Causal Inference (pp. 21–38). Chapman and Hall/CRC.
Senn, S. (1994). Testing for baseline balance in clinical trials. Statistics in Medicine, 13, 1715–1726.
Evaluating What Works, by Dorothy Bishop and Paul Thompson
“Those who work in allied health professions aim to make people’s lives better. Often, however, it is hard to know how effective we have been: would change have occurred if we hadn’t intervened? Is it possible we are doing more harm than good? To answer these questions and develop a body of knowledge about what works, we need to evaluate interventions.
“As we shall see, demonstrating that an intervention has an impact is much harder than it appears at first sight. There are all kinds of issues that can arise to mislead us into thinking that we have an effective treatment when this is not the case. On the other hand, if a study is poorly designed, we may end up thinking an intervention is ineffective when in fact it is beneficial. Much of the attention of methodologists has focused on how to recognize and control for unwanted factors that can affect outcomes of interest. But psychology is also important: it tells us that own human biases can be just as important in leading us astray. Good, objective intervention research is vital if we are to improve the outcomes of those we work with, but it is really difficult to do it well, and to do so we have to overcome our natural impulses to interpret evidence in biased ways.”
(Over here.)
“Randomista mania”, by Thomas Aston
Thomas Aston provides a helpful summary of RCT critiques, particularly in international evaluations.
Waddington, Villar, and Valentine (2022), cited therein, provide a handy review of comparisons between RCT and quasi-experimental estimates of programme effect.
Aston also cites examples of unethical RCTs. One vivid example is an RCT in Nairobi with an arm that involved threatening to disconnect water and sanitation services if landlords didn’t settle debts.
Dealing with confounding in observational studies
Excellent review of simulation-based evaluations of quasi-experimental methods, by Varga et al. (2023). Also lovely annexes summarising the methods’ assumptions.
Methods for measured confounding the authors cover (Varga et al., 2023, Table A1):
| Method | Description of the method |
| PS matching (N = 47) | Treated and untreated individuals are matched based on their propensity score-similarity. After creating comparable groups of treated and untreated individuals the effect of the treatment can be estimated. |
| IPTW (N = 30) | With the help of re-weighting by the inverse probability of receiving the treatment, a synthetic sample is created which is representative of the population and in which treatment assignment is independent of the observed baseline covariates. Over-represented groups are downweighted and underrepresented groups are upweighted. |
| Overlap weights (N = 4) | Overlap weights were developed to overcome the limitations of truncation and trimming for IPTW, when some individual PSs approach 0 or 1. |
| Matching weights (N = 2) | Matching weights is an analogue weighting method for IPTW, when some individual PSs approach 0 or 1. |
| Covariate adjustment using PS (N = 13) | The estimated PS is included as covariate in a regression model of the treatment. |
| PS stratification (N = 26) | First the subjects are grouped into strata based upon their PS. Then, the treatment effect is estimated within each PS stratum, and the ATE is computed as a weighted mean of the stratum specific estimates. |
| GAM (N = 1) | GAMs provide an alternative for traditional PS estimation by replacing the linear component of a logistic regression with a flexible additive function. |
| GBM (N = 3) | GBM trees provide an alternative for traditional PS estimation by estimating the function of covariates in a more flexible manner than logistic regression by averaging the PSs of small regression trees. |
| Genetic matching (N = 7) | This matching method algorithmically optimizes covariate balance and avoids the process of iteratively modifying the PS model. |
| Covariate-balancing PS (N = 5) | Models treatment assignment while optimizing the covariate balance. The method exploits the dual characteristics of the PS as a covariate balancing score and the conditional probability of treatment assignment. |
| DR estimation (N = 13) | Combines outcome regression with with a model for the treatment (eg, weighting by the PS) such that the effect estimator is robust to misspecification of one (but not both) of these models. |
| AIPTW (N = 8) | This estimator achieves the doubly-robust property by combining outcome regression with weighting by the PS. |
| Stratified DR estimator (N = 1) | Hybrid DR method of outcome regression with PS weighting and stratification. |
| TMLE (N = 2) | Semi-parametric double-robust method that allows for flexible estimation using (nonparametric) machine-learning methods. |
| Collaborative TMLE (N = 1) | Data-adaptive estimation method for TMLE. |
| One step joint Bayesian PS (N = 3) | Jointly estimates quantities in the PS and outcome stages. |
| Two-step Bayesian approach (N = 2) | A two-step modeling method is using the Bayesian PS model in the first step, followed by a Bayesian outcome model in the second step. |
| Bayesian model averaging (N = 1) | Fully Bayesian model averaging approach. |
| An’s intermediate approach (N = 2) | Not fully Bayesian insofar as the outcome equation in An’s approach is frequentist. |
| G-computation (N = 4) | The method interprets counterfactual outcomes as missing data and uses a prediction model to obtain potential outcomes under different treatment scenarios. The entire set of predicted outcomes is then regressed on the treatment to obtain the coefficient of the effect estimate. |
| Prognostic scores (N = 7) | Prognostic scores are considered to be the prognostic analog of the PS methods. the prognostic score includes covariates based on their predictive power of the response, the PS includes covariates that predict treatment assignment. |
Methods for unmeasured confounding (Varga et al., 2023, Table A2):
| Method | Description of the method |
| IV approach (N = 17) | Post-randomization can be achieved using a sufficiently strong instrument. IV is correlated with the treatment and only affects the outcome through the treatment. |
| 2SLS (N = 11) | Linear estimator of the IV method. Uses linear probability for binary outcome and linear regression for continuous outcome. |
| 2SPS (N = 5) | Non-parametric estimator of the IV method. Logistic regression is used for both the first and second stages of 2SPS procedure. The predicted or residual values from the first stage logistic regression of treatment on the IV are used as covariates in the second stage logistic regression: the predicted value of treatment replaces the observed treatment for 2SPS. |
| 2SRI (N = 8) | Semi-parametric estimator of the IV method. Logistic regression is used for both the first and second stages of the 2SRI procedure. The predicted or residual values from the first stage logistic regression of treatment on the IV are used as covariates in the second stage logistic regression. |
| IV based on generalized structural mean model (GSMM) (N = 1) | Semi-parametric models that use instrumental variables to identify causal parameters. IV approach |
| Instrumental PS (Matching enhanced IV) (N = 2) | Reduces the dimensionality of the measured confounders, but it also deals with unmeasured confounders by the use of an IV. |
| DiD (N = 7) | DiD method uses the assumption that without the treatment the average outcomes for the treated and control groups would have followed parallel trends over time. The design measures the effect of a treatment as the relative change in the outcomes between individuals in the treatment and control groups over time. |
| Matching combined with DiD (N = 6) | Alternative approach to DiD. (2) Uses matching to balance the treatment and control groups according to pre-treatment outcomes and covariates |
| SCM (N = 7) | This method constructs a comparator, the synthetic control, as a weighted average of the available control individuals. The weights are chosen to ensure that, prior to the treatment, levels of covariates and outcomes are similar over time to those of the treated unit. |
| Imperfect SCM (N = 1) | Extension of SCM method with relaxed assumptions that allow outcomes to be functions of transitory shocks. |
| Generalized SCM (N = 2) | Combines SC with fixed effects. |
| Synthetic DiD (N = 1) | Both unit and time fixed effects, which can be interpreted as the time-weighted version of DiD. |
| LDV regression approach (N = 1) | Adjusts for pre-treatment outcomes and covariates with a parametric regression model. Alternative approach to DiD. |
| Trend-in-trend (N = 1) | The trend-in-trend design examines time trends in outcome as a function of time trends in treatment across strata with different time trends in treatment. |
| PERR (N = 3) | PERR adjustment is a type of self-controlled design in which the treatment effect is estimated by the ratio of two rate ratios (RRs): RR after initiation of treatment and the RR prior to initiation of treatment. |
| PS calibration (N = 1) | Combines PS and regression calibration to address confounding by variables unobserved in the main study by using variables observed in a validation study. |
| RD (N = 4) | Method used for policy analysis. People slightly below and above the threshold for being exposed to a treatment are compared. |
References
Sample size determination for propensity score weighting
If you’re using propensity score weighting (e.g., inverse probability weighting), one question that will arise is how big a sample you need.
Solutions have been proposed that rely on a variance inflation factor (VIF). You calculate the sample size for a simple design and then multiply that by the VIF to take account of weighting.
But the problem is that it is difficult to choose a VIF in advance.
Austin (2021) has developed a simple method (R code in the paper) to estimate VIFs from c-statistics (area under the curve; AOC) of the propensity score models. These c-statistics are often published.
A larger c-statistic means a greater separation between treatment and control, which in turn leads to a larger VIF and requirement for a larger sample.
Picture illustrating different c-statistics.
The magnitude of the VIF also depends on the estimand of interest, e.g., whether average treatment effect (ATE), average treatment effect on the treated (ATET/ATT), or average treatment effect where treat and control overlap (ATO).
References
Austin, P. C. (2021). Informing power and sample size calculations when using inverse probability of treatment weighting using the propensity score. Statistics in Medicine.

