treatment_effect | R Documentation |
Estimate the treatment effects.
treatment_effect(treatment, outcome, ps, weights, ...)
treatment |
logical vector for treatment status. |
outcome |
vector of outcome values. |
ps |
vector of propensity scores. |
weights |
vector of propensity score weights. |
... |
parameters passed [calculate_ps_weights()]. |
the treatment effect.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.