DescTools (version 0.99.18)

Cstat: C Statistic (Area Under the ROC Curve)

Description

Calculate the C statitistic for a logistic regression model.

Usage

Cstat(x)

Arguments

x
the linear model

Value

Details

Details

See Also

BrierScore

Examples

Run this code
r.glm <- glm(Survived ~ ., data=Untable(Titanic), family=binomial)

Cstat(r.glm)

Run the code above in your browser using DataLab