Using estimated treatment probabilities known as propensity scores. Implementing a matching method given that measure of closeness. For many years the standard tool for propensity score matching in stata has been the psmatch2 command written by edwin leuven and barbara sianesi.