Examine Maximum-Minimum Difference of a Model
eval_max_min_diff.Rd
This function evaluates the maximum and minimum differences in model performance metrics across different groups.
Arguments
- data
Data frame containing the outcome, predicted outcome, and group.
- outcome
Name of the outcome variable, which must be binary.
- group
Name of the group variable.
- 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.