Description Usage Arguments Details Value Examples
Compute the area under the ROC curve of the propensity score.
1 | computePsAuc(data, confidenceIntervals = FALSE)
|
data |
A data frame with at least the two columns described below |
confidenceIntervals |
Compute 95 percent confidence intervals (computationally expensive for large data sets) |
The data frame should have a least the following two columns:
treatment (integer): Column indicating whether the person is in the target (1) or comparator (0) group.
propensityScore (numeric): Propensity score.
A tibble holding the AUC and its 95 percent confidence interval
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.