Examine accuracy parity of a model
eval_acc_parity.Rd
Examine accuracy parity of a model
Usage
eval_acc_parity(
data,
outcome,
group,
probs,
cutoff = 0.5,
alpha = 0.05,
bootstraps = 2500,
digits = 2,
message = TRUE
)
Arguments
- data
Data frame containing the outcome, predicted outcome, and sensitive attribute
- outcome
Name of the outcome variable
- group
Name of the sensitive attribute
- probs
Predicted probabilities
- cutoff
Cutoff value for the predicted probabilities
- alpha
The 1 - significance level for the confidence interval, default is 0.05
- bootstraps
Number of bootstraps to use for confidence intervals
- digits
Number of digits to round the results to, default is 2
- message
Whether to print the results, default is TRUE
- confint
Logical indicating whether to calculate confidence intervals