ngreifer / WeightIt

WeightIt: an R package for propensity score weighting
https://ngreifer.github.io/WeightIt/
102 stars 12 forks source link

Is it possible incorporate field PS for CBPS ant GBM? #2

Closed Blanch-Font closed 5 years ago

Blanch-Font commented 5 years ago

The function weightit don't return the propensity score for the CBPS or GBM method. Is it possible to incorporate?

ngreifer commented 5 years ago

Fixed! In the version here on github, using method = "gbm" or method = "cbps" will return propensity scores when the treatment is binary. See the new help files ?method_gbm and ?method_cbps for more details. Thank you for the suggestion.