Description Usage Arguments Value
Estimate probability of receiving each level of treatment
1 | estimate_treat_prob(treat, covar, treat_form, return_models)
|
treat |
A |
covar |
A |
treat_form |
The right-hand side of a regression formula for the working model of treatment probability as a function of covariates |
return_models |
If |
A list where the first element is estimate of Pr(treat
= 1 | covar
)
for covar
equal to inputted values of covar
and second element is estimate of Pr(treat
= 0 | covar
)
for covar
equal to inputted values of covar
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.