ds.auc | R Documentation |
This function calculates the C-statistic or AUC for logistic regression models.
ds.auc(pred = NULL, y = NULL, datasources = NULL)
pred |
the name of the vector of the predicted values |
y |
the name of the outcome variable. Note that this variable should include the complete cases that are used in the regression model. |
datasources |
a list of |
The AUC determines the discriminative ability of a model.
returns the AUC and its standard error
Demetris Avraam for DataSHIELD Development Team
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.