Examine Generalized Entropy Index of a model #' This function evaluates the generalized entropy index in model performance metrics across different groups.
eval_generalized_entropy_index.Rd
Examine Generalized Entropy Index of a model #' This function evaluates the generalized entropy index in model performance metrics across different groups.
Usage
eval_generalized_entropy_index(
data,
outcome,
group,
probs,
alpha = 2,
cutoff = 0.5,
digits = 2
)
Arguments
- data
Data frame containing the outcome, predicted outcome, and group
- outcome
Name of the outcome variable, it must be binary
- group
Name of the group
- probs
Name of the predicted outcome variable
- cutoff
Threshold for the predicted outcome, default is 0.5
- digits
Number of digits to round the results to, default is 2