aucDS {dsBase}R Documentation

aucDS an aggregate function called by ds.auc

Description

This function calculates the C-statistic or AUC for logistic regression models.

Usage

aucDS(pred = pred, y = y)

Arguments

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.

Details

The AUC determines the discriminative ability of a model.

Value

returns the AUC and its standard error

Author(s)

Demetris Avraam for DataSHIELD Development Team


[Package dsBase version 6.3.0 ]