View source: R/boot.weighting.R
calculate_ps_weights | R Documentation |
Calculates propensity score weights.
calculate_ps_weights(treatment, ps, estimand = "ATE")
treatment |
a logical vector for treatment status. |
ps |
numeric vector of propensity scores |
estimand |
character string indicating which estimand to be used. Possible values are ATE (average treatment effect), ATT (average treatment effect for the treated), ATC (average treatement effect for the controls), ATM (Average Treatment Effect Among the Evenly Matchable), ATO (Average Treatment Effect Among the Overlap Populatio) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.