estimate_treat_prob {drord} | R Documentation |
Estimate probability of receiving each level of treatment
Description
Estimate probability of receiving each level of treatment
Usage
estimate_treat_prob(treat, covar, treat_form, return_models)
Arguments
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 |
Value
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