Computes the difference in absolute value between the desired and expected C statistic given the vector of true probabilities.
TuneCStatisticLogit(scaling_factor, crude_log_odds, auc = NULL)
The absolute difference between desired and expected concordance (if
auc
is provided) or expected concordance (if auc=NULL
).
constant by which log-odds (or beta coefficients when there is no intercept) are multiplied.
vector of log-odds to be multiplied by the
scaling_factor
.
desired concordance statistic (area under the ROC curve). If
auc=NULL
, the obtained concordance statistic is returned.