Algorithmic Fairness Audit (Group Fairness Metrics)
An algorithmic fairness audit compares a classifier's selection rates and error rates across protected groups using demographic parity, disparate impact, equal opportunity, equalized odds and predictive parity.
알고리즘 공정성 감사는 인구통계적 동등성·영향 비율·기회 균등·균등화 오즈·예측 동등성으로 분류기의 선택률과 오류율을 보호 집단 사이에 비교하는 방법입니다.
Does my credit model approve one demographic group much less often, or make more errors for it?
우리 신용 모형이 특정 집단을 훨씬 덜 승인하거나 그 집단에 더 많은 오류를 내지는 않나요?
Per-group selection rate, TPR, FPR, PPV and accuracy are computed from true labels and predicted labels or thresholded scores, with calibration gaps when scores are given. Group gaps are summarised as differences and ratios, the four-fifths rule is checked, stratified bootstrap gives confidence intervals, and, when only scores are given, a threshold scan shows how the parity gap changes.
When to use Algorithmic Fairness Audit (Group Fairness Metrics)
- You have true outcomes, model predictions and a protected attribute
- You must document group fairness before deployment
- You want to see the trade-off between threshold and parity
When to use something else
- You lack ground-truth labels — only selection-rate parity can be assessed, use a disparity-in-outcomes analysis
- You want to remove bias during training — use an in-processing mitigation method
Assumptions and requirements
- Labels are accurate and not themselves biased
- Groups are large enough for stable rates
- The chosen fairness criterion fits the decision context
What the analysis reports
- Selection rate, TPR, FPR and PPV by group, with calibration when scores are given
- Demographic parity difference and disparate impact ratio
- Equal opportunity and equalized odds differences
- Bootstrap confidence intervals
- Threshold trade-off curve (scores only)
How to report it
Across [k] groups (N = [n]), the demographic parity difference was [value] (95% CI [lo] to [hi]), the disparate impact ratio was [value] and the equalized odds difference was [value].
Common variants
자주 쓰는 설정
The same analysis with settings already chosen. Each runs Algorithmic Fairness Audit (Group Fairness Metrics) itself, at the same price.
Related methods
How this method is validated
이 방법의 검증 근거
- Independent computation. 1 reference test compares the results with scikit-learn.
독립 계산. scikit-learn 대조 참조 시험 1건 통과.
Tolerances are relative differences (absolute differences for values near zero). R comparisons and reference tests are re-run before each release of the analysis engine.
허용오차는 상대 차이입니다(0 근처 값은 절대 차이). R 대조와 참조 시험은 분석 엔진을 배포할 때마다 다시 돌립니다.
Run Algorithmic Fairness Audit (Group Fairness Metrics) on Quorant
- Data you need
- a table (CSV or Excel) with an outcome variable and a grouping variable
- Price
- 400 credits for one analysis up to 10,000 rows (complexity level 3); larger or wider data costs more. Optional methodologist review: 1800 credits.
- Checking
- Compared with independent computations
- Before you pay
- A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.