Calculates propensity score weights.
Arguments
- 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)