Description Usage Arguments Details Value Examples
Calculates the accuracy curve of calculated propensity scores.
1 |
data |
Data Frame - containing the dataset with previously calculated PS. The data frame must contain a treatment indicator variable called 'treat' and a propensity score value called 'ps_values'. |
This function uses the 'AUC' R package to calculate the accuracy of the
propensity scores. For this to work properly, the argument ...
should
be a data frame containing the dataset with previously calculated propensity
scores in a variable called ps_values.
Calculated accuracy of propensity scores
1 2 3 4 | ## Not run:
ps.accuracy(myData)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.