Description Usage Arguments Value
Calculate the propensity scores.
1 | ps(treat,x)
|
treat |
a factor vector of the treatment indicator |
x |
an optional covariace matrix containing the variables in the model |
A numeric vector with the same length of treat
, which contains the propensity scores for each observations.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.