Description Usage Arguments Details Value
Computes the propensity score for treatment based on covariates. Should not generally be called directly.
1 | propScores(dat)
|
dat |
A data frame containing columns for the treatment ( |
The propensity scores are computed by fitting a logistic regression model to the binary outcome Y
,
with linear terms for each of the baseline covariates W1, W2, ...
A vector of propensity scores of the same length as Z
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.