Inferensys

Glossary

Statistical Parity

A fairness metric requiring that the probability of a positive prediction is equal across all demographic groups, regardless of the true underlying outcome rates.
Developer reviewing semantic search engine results on laptop, relevance scores visible, technical search demo.
FAIRNESS METRIC

What is Statistical Parity?

Statistical parity is a foundational fairness metric requiring that a model's positive prediction rate be identical across all protected demographic groups, ensuring equal outcomes regardless of true underlying qualifications.

Statistical parity, also known as demographic parity, is a group fairness criterion that mandates a classifier's selection rate—the probability of receiving a positive prediction—must be mathematically equal across all protected groups. Formally, it requires that P(Ŷ=1 | A=a) = P(Ŷ=1 | A=b) for any two groups a and b, where Ŷ is the predicted outcome and A is the protected attribute. This metric focuses purely on the distribution of algorithmic outcomes, deliberately ignoring the ground-truth labels in the training data to ensure no group is disproportionately favored or burdened by the model's decisions.

While statistical parity provides a powerful guarantee of equal representation in outcomes, it introduces a critical tension known as the accuracy-fairness trade-off. Because the metric does not condition on the true target variable Y, it can force a model to select unqualified individuals from one group to match the selection rate of a more qualified group, or vice versa. This limitation distinguishes it from metrics like equalized odds, which condition on true outcomes. In practice, statistical parity is often enforced through post-processing techniques or by incorporating it as a Lagrangian constraint during model training, making it a cornerstone of bias mitigation in high-stakes domains like hiring and lending.

FAIRNESS METRIC COMPARISON

Statistical Parity vs. Other Fairness Metrics

A technical comparison of statistical parity against other foundational group fairness metrics, highlighting their definitions, requirements, and trade-offs.

FeatureStatistical ParityEqualized OddsPredictive Parity

Core Definition

P(ŷ=1|A=a) = P(ŷ=1|A=b) for all groups a,b

TPR and FPR are equal across groups

PPV is equal across groups

Requires Ground Truth Labels

Satisfies Independence Criterion

Satisfies Separation Criterion

Satisfies Sufficiency Criterion

Allows Perfect Prediction

Sensitive to Base Rate Differences

Primary Legal/Regulatory Alignment

Disparate Impact doctrine

Equal Opportunity mandates

Calibration requirements

FAIRNESS METRIC

Key Characteristics of Statistical Parity

Statistical parity, also known as demographic parity, is a group fairness criterion that mandates equal positive prediction rates across all protected demographic groups, irrespective of the true underlying outcomes.

01

Definition and Core Formula

Statistical parity is satisfied when the probability of a positive prediction is identical across all groups defined by a protected attribute (e.g., race, gender). Formally, for a binary classifier Ŷ and protected attribute A, the condition is P(Ŷ=1 | A=a) = P(Ŷ=1 | A=b) for all groups a and b. This metric focuses solely on the output distribution of the model, not its accuracy or the true labels. It is the most intuitive definition of equality of outcome in automated decision-making.

Group-Focused
Measurement Scope
02

Independence from Ground Truth

A defining characteristic of statistical parity is its deliberate independence from the true label (Y). The metric does not consider whether the positive predictions are correct. This is a critical distinction from accuracy-based fairness metrics like equalized odds. By ignoring the base rate of outcomes, statistical parity enforces a strict proportional representation in the model's decisions, which can be a legal or policy requirement in contexts where historical labels are themselves tainted by systemic bias.

Ignores Y
Relationship to True Label
03

The Demographic Parity Difference (DPD)

In practice, perfect equality is rare, so fairness is measured using the Demographic Parity Difference (DPD). This is calculated as the absolute difference between the selection rates of two groups: DPD = |P(Ŷ=1 | A=unprivileged) - P(Ŷ=1 | A=privileged)|. A DPD of 0 indicates perfect statistical parity. A common fairness threshold, particularly in tools like Fairlearn and AIF360, is a DPD ratio of 0.8 or less, aligning with the Four-Fifths Rule used in employment law.

≤ 0.8
Common Fairness Threshold (Ratio)
04

The Accuracy-Fairness Trade-off

Enforcing statistical parity often introduces a direct accuracy-fairness trade-off. If the true base rates of a positive outcome differ between groups, forcing equal prediction rates requires the model to deliberately make more errors for one group—either increasing false positives for the underprivileged group or increasing false negatives for the privileged group. This tension makes statistical parity controversial in high-stakes domains like medicine, where denying a correct diagnosis to achieve a demographic quota is ethically problematic.

Inherent
Trade-off Nature
05

Lack of Individual Fairness Guarantees

Statistical parity is a purely group-level fairness metric. It provides no guarantees of fairness for any specific individual. A model can satisfy statistical parity perfectly while still making wildly unjust decisions for particular people, a concept known as counterfactual unfairness. For example, a model could accept all qualified men and unqualified women while rejecting all unqualified men and qualified women, achieving perfect gender parity in acceptance rates but violating the principle of treating similar individuals similarly.

Group-Level
Granularity of Guarantee
06

Legal and Regulatory Context

Statistical parity is closely aligned with the legal doctrine of disparate impact, which identifies facially neutral policies that disproportionately harm a protected class. In the U.S., the Four-Fifths Rule from the Uniform Guidelines on Employee Selection Procedures is a direct application of the parity ratio. Under the European Union Artificial Intelligence Act, high-risk AI systems must be tested for discriminatory impacts, making statistical parity a primary quantitative tool for demonstrating compliance during a bias audit.

Disparate Impact
Related Legal Doctrine
STATISTICAL PARITY

Frequently Asked Questions

Clear, technical answers to the most common questions about statistical parity as a fairness metric in machine learning, including its calculation, limitations, and relationship to other fairness criteria.

Statistical parity is a group fairness metric requiring that the probability of receiving a positive prediction is identical across all demographic groups, regardless of the true underlying outcome rates. Formally, for a binary classifier ( \hat{Y} ) and a protected attribute ( A ), the constraint is ( P(\hat{Y}=1 \mid A=a) = P(\hat{Y}=1 \mid A=b) ) for all groups ( a, b ). This definition is also known as demographic parity or equal acceptance rate. The metric is assessed by comparing the selection rate—the proportion of individuals predicted positively—across groups. A common threshold for violation is the four-fifths rule, where a selection rate for any group less than 80% of the highest group's rate indicates potential disparate impact. Statistical parity makes no reference to ground truth labels, distinguishing it from accuracy-conditional metrics like equalized odds.

Prasad Kumkar

About the author

Prasad Kumkar

CEO & MD, Inference Systems

Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.

His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.