01 / GROUP OUTCOMES
Confusion & Rate Table
One threshold: 0.50 for both groups
| Group | n | Base | TN | FP | FN | TP | Select | TPR | FPR | TNR | PPV | NPV | Accuracy |
|---|
Fairness audit bench / UCI Adult / Logistic regression
Audit a real held-out score set against demographic parity, equal opportunity, equalized odds, predictive parity, and calibration. Then move along the measured accuracy-fairness frontier using group-specific decision thresholds.
Live Audit
Loading held-out model scores…
01 / GROUP OUTCOMES
One threshold: 0.50 for both groups
| Group | n | Base | TN | FP | FN | TP | Select | TPR | FPR | TNR | PPV | NPV | Accuracy |
|---|
02 / CRITERIA
Pass if |gap| ≤ 0.05; impact ratio ≥ 0.80
| Criterion | Definition | Value | Check |
|---|
03 / CONSTRAINT
Unequal base rates activate the incompatibility result for a non-perfect calibrated score.
| Rule | Targets | Gives Up |
|---|
This is an empirical illustration, not a proof. The theorem’s exceptions include equal base rates and perfect prediction.
04 / DISCRIMINATION
Threshold-free score behavior
A group threshold selects one point on each curve. Randomized threshold mixtures can reach convex combinations between points.
| Group | Threshold | FPR | TPR |
|---|
05 / CALIBRATION
10 equal-width score bins
| Group | Bin | n | Mean Score | Observed | Residual |
|---|
06 / POST-PROCESSING
Computing threshold sweep…
Drag the plotted point, focus it and press Left or Right, or use this range control.
Selected Threshold Pair
| Point | Group A Threshold | Group B Threshold | Accuracy | EO Gap | Dominated |
|---|
Method
All rates come from the held-out arrays in the browser. A positive prediction means predicted income above $50,000 at the active threshold. Gap signs are Group A minus Group B.
Data
The model trains on the UCI Adult training file and this page loads its official held-out test split after removing rows with missing fields. The target is whether annual income exceeded $50,000 in 1994 Census data. Race and sex are excluded from the feature matrix but retained for this audit. Their omission does not remove proxy relationships in education, occupation, hours, or other features.
Recorded categories reflect the source dataset, not a current or complete account of identity. “Non-White” is an audit aggregation chosen to keep this 2-group bench statistically legible; it collapses materially different groups and must not be used to make deployment claims.
Limitations