Stratification and matching by the propensity score