For a binary classifier evaluated on a demographic group with base rate p=P(Y=1∣A=a)∈(0,1), how do you derive Chouldechova’s identity relating false positive rate (FPR), false negative rate (FNR), positive predictive value (PPV) and p, and why does it prove that an imperfect classifier cannot satisfy both predictive parity and equalised odds when two groups have unequal base rates?

ML systems and evaluation, Fairness
Level L5 Expert. Length Long. Nature Mat Mathematical.

What's being asked

Whether you can prove the fundamental impossibility trade-off among fairness definitions from Bayes’ rule.

Key idea

Expressing expected positives and false positives in terms of p, FPR, FNR and PPV yields FPR=p1−p1−PPVPPV(1−FNR); holding PPV and FNR fixed across groups with different p forces FPR to differ unless the classifier is perfect.

Steps

  1. Write PPV=P(Y=1∣Y^=1)=P(Y^=1,Y=1)P(Y^=1,Y=1)+P(Y^=1,Y=0) (within group A=a).
  2. Substitute P(Y^=1,Y=1)=p (1−FNR) and P(Y^=1,Y=0)=(1−p) FPR: PPV=p(1−FNR)p(1−FNR)+(1−p)FPR.
  3. Invert to isolate the odds 1−PPVPPV=(1−p)FPRp(1−FNR), and rearrange to obtain Chouldechova’s identity: FPR=p1−p⋅1−PPVPPV⋅(1−FNR).
  4. Prove the impossibility: suppose predictive parity holds (PPVA=PPVB=q) and equalised odds holds (FPRA=FPRB and FNRA=FNRB). If 0<q<1 and FNR<1 (so the factor 1−qq(1−FNR)>0), then FPRA=FPRB forces pA1−pA=pB1−pB, hence pA=pB.
  5. Conclude: whenever base rates differ (pA≠pB) and 0<q<1 (the classifier makes both false positives and true positives), you must choose which criterion to relax (predictive parity vs equalised odds); both hold together only when pA=pB or in boundary cases with q=1 (FPR=0, including a perfect classifier) or q=0 (FNR=1).

Common mistakes

How long your answer should be

Five lines of probability algebra and a three-line contradiction proof; 6–8 minutes.

Last checked on 4 December 2026.

Read this

Previous in ML systems and evaluation: For a probabilistic binary classifier issuing discrete forecast values f1,…,fK with bin sizes n1,…,nK (summing to N), bin observed frequencies oˉk=1nk∑i∈Bkyi and overall base rate oˉ=1N∑i=1Nyi, how do you derive Murphy’s three-term decomposition of the Brier score into reliability, resolution and uncertainty, and what does each term measure?
Next in ML systems and evaluation: In off-policy evaluation with context x, action a, reward r, logging policy μ(a∣x)>0 and target policy π(a∣x), the inverse propensity scoring (IPS) estimator is V^IPS=1n∑i=1nriπ(ai∣xi)μ(ai∣xi) and the doubly robust (DR) estimator is V^DR=1n∑i=1n[V^r^(xi)+π(ai∣xi)μ^(ai∣xi)(ri−r^(xi,ai))], where V^r^(x)=∑aπ(a∣x)r^(x,a). How do you prove that IPS is unbiased, and why is DR unbiased whenever either the propensity model μ^=μ or the reward model r^(x,a)=E[r∣x,a] is exact?