The PSMATCH Procedure

Process of Propensity Score Analysis

A propensity score analysis usually involves the following steps (Guo and Fraser 2015, p. 131):

  1. You specify a set of confounding variables that might be related to both the treatment assignment and the outcome.

  2. You use this set of variables to fit a logistic regression model and compute propensity scores. The response is the probability of assignment to the treatment group.

  3. If you are using weighting, you compute observation weights for estimating the treatment effect in a weighted outcome analysis.

  4. If you are using stratification or matching, you specify the support region of observations. Observations outside this region are not included in the stratification or matching.

  5. If you are using stratification, you specify the number of strata and create strata of observations that have similar propensity scores.

  6. If you are using matching, you specify criteria such as the matching statistic (the distance metric for comparing the similarity of subjects) and the method for creating matched sets of observations. You can also compute weights for matched observations.

  7. You assess the balance of variables by comparing the distributions between the treated and control groups.

  8. To improve the balance, you can repeat the process with a different set of variables for the logistic regression model, a different region of support for stratification and matching, a different set of matching criteria, or a different matching method.

  9. When you are satisfied with the variable balance, you save the output data set for subsequent outcome analysis.

Note that the outcome variable is intentionally not used in this process, and the variable selection is not related to the observed outcomes (Rubin 2001; Stuart 2010, p. 5). Any variables that might have been affected by the treatment should not be included in the process (Rosenbaum and Rubin 1984; Stuart 2010, p. 5).

The flowchart in Figure 95.1 summarizes these steps.

Figure 95.1: Propensity Score Analysis

Propensity Score Analysis


After balance is achieved, you can add the response variable to the output data set that PROC PSMATCH created and perform an outcome analysis that mimics the analysis you would perform with data from a randomized study. For example, if you used matching with the PSMATCH procedure, a simple univariate test or analysis might be sufficient to estimate treatment effect.