Description Usage Arguments Value Author(s)
View source: R/02.ParepareDataWithinSites.R
Estimate propensity score or disease risk score depending on the model specification. This is for binary outcomes.
1 | EstimateScoreBin(formula, data, newdata)
|
formula |
formula to specify the model used to estimate the summary score. For propensity score, specify the treatment model. For disease risk score, specify the outcome model in the absence of treatment. |
data |
data frame of data for model building. Specify the entire dataset for propensity score estimation. Specify the untreated subset for disease risk score estimation. |
newdata |
data frame of data for prediction. Specify the entire dataset. |
vector of summary scores predicted for newdata
.
Kazuki Yoshida
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.