TuneCStatisticLogit {fake} | R Documentation |
Tuning function (logistic regression)
Description
Computes the difference in absolute value between the desired and expected C statistic given the vector of true probabilities.
Usage
TuneCStatisticLogit(scaling_factor, crude_log_odds, auc = NULL)
Arguments
scaling_factor |
constant by which log-odds (or beta coefficients when there is no intercept) are multiplied. |
crude_log_odds |
vector of log-odds to be multiplied by the
|
auc |
desired concordance statistic (area under the ROC curve). If
|
Value
The absolute difference between desired and expected concordance (if
auc
is provided) or expected concordance (if auc=NULL
).
[Package fake version 1.4.0 Index]