pscore module¶
This module contains a class to estimate propensity scores.
-
class
pscore_match.pscore.
PropensityScore
(treatment, covariates)[source]¶ Estimate the propensity score for each observation.
The compute method uses a generalized linear model to regress treatment on covariates to estimate the propensity score. This is not the only way to estimate the propensity score, but it is the most common. The two options allowed are logistic regression and probit regression.