estimate_ps | R Documentation |
Estimates the Propensity Score given a treatment vector and features data frame.
estimate_ps(z, X, ps_method = "SL.xgboost")
z |
A treatment vector. |
X |
A features data frame. |
ps_method |
An estimation model for the propensity score
(default: |
A vector of propensity score estimates.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.