A lender approves loans with a score and a single cutoff. Regulators ask whether the rule treats two groups of applicants fairly. The lender has 900 past decisions with the eventual outcome: whether each approved or comparable applicant repaid.
Fairness has several definitions, and when the groups repay at different rates they cannot all hold at once. Equal approval rates, equal error rates among people who would repay, and scores that mean the same thing in both groups pull against each other. You will measure each, then let the studio find group thresholds that meet a chosen constraint at the lowest cost, and write the memo that sets out the trade-off for the people who have to decide. The data are simulated so that the score is calibrated differently in the two groups.
Compare the groups on who gets approved and, among people who would repay, who gets refused. Each difference has an interval, because a small group's rates vary a lot by chance.
How do approval rates and wrongful refusals compare between the groups?
Open Studios in the sidebar.
Open Decisions & fairness under Machine learning in the rail, then choose Audit decisions for fairness.
Choose credit decisions (sample) as the dataset.
Set the group to group.
Set the decision to decision.
Set the true outcome to outcome, and the score to score.A decision rule can look fair on who it selects and unfair on who it wrongly refuses, so you need both views.
Press Run.
Read the rates by group. Who is approved less often? Among people who would really repay, who gets refused more?When base rates differ between groups, equal selection and equal error rates generally cannot both hold. You have to choose.
Stage 2 · studios · ~8 min
What would fairness cost?
Post-processing chooses a threshold per group to meet a fairness constraint at the lowest overall cost. Read the cost next to a single threshold for everyone, and note who bears it.
What does meeting the constraint cost, compared with one threshold for everyone?
Open Fair thresholds. It starts from this panel's dataset and columns.
Press Run to find group thresholds that meet the constraint at the lowest cost.
Read what the constraint costs, compared with one threshold for everyone. Is it a price you would pay, and who should decide that?
Hints
Set both the decision and the true outcome. Without the outcome you can compare approval rates, not error rates.
When base rates differ, equal approval rates and equal error rates cannot both hold. The audit shows which one fails.
Choosing the definition of fair is a decision for people. The studio shows the price of each choice.
memo
A fairness memo
Write the memo for the lender's decision-makers: how the current rule treats each group on each fairness measure, with intervals, what a fair-threshold policy would change and cost, and the choice they have to make.
Current rule
Where it is unequal
The cost of a fair threshold
The decision to make
Rubric
Criterion
Points
Reports at least two fairness measures by group with intervals.
2
Explains why the measures cannot all be equal when base rates differ.
2
States the cost of the constrained thresholds against one threshold.
2
Leaves the choice of definition to the people accountable and says who bears the cost.
1
Notes the data are simulated and outcomes are only seen for some applicants.
1
Model answer
Show the model answer
Current rule. One cutoff on the score for everyone. The audit compares the groups on approval rate and, among applicants who repaid, on the share refused; read both differences and their intervals from your run. Because the score is calibrated differently in the two groups, the same score does not mean the same chance of repaying in each.
Where it is unequal. When the groups repay at different rates, a single cutoff cannot give both equal approval rates and equal error rates. Say which measure shows the larger gap.
The cost. Group thresholds chosen to meet the constraint change who is approved in each group. The studio reports the cost against the single threshold; quote it and say which applicants it falls on.
The decision. Which definition of fair to meet, and at what price, is for the people accountable for the lending policy, not for the analyst. In real lending data, outcomes are only observed for approved applicants, which these simulated data sidestep.