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.
Glossary
Statistical Parity

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.
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.
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.
| Feature | Statistical Parity | Equalized Odds | Predictive 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 |
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.
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.
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.
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.
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.
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.
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.
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.
Enabling Efficiency, Speed & Accuracy
Intelligent Analysis, Decision & Execution
We build AI systems for teams that need search across company data, workflow automation across tools, or AI features inside products and internal software.
Talk to Us
Search across company data
Give teams answers from docs, tickets, runbooks, and product data with sources and permissions.
Useful when people spend too long searching or get different answers from different systems.

Automate internal workflows
Use AI to route work, draft outputs, trigger actions, and keep approvals and logs in place.
Useful when repetitive work moves across multiple tools and teams.

Add AI to products and internal tools
Build assistants, guided actions, or decision support into the software your team or customers already use.
Useful when AI needs to be part of the product, not a separate tool.
Related Terms
Statistical parity is one of many formal fairness criteria. Explore the broader landscape of metrics, mitigation techniques, and governance frameworks used to evaluate and ensure equitable algorithmic outcomes.
Equalized Odds
A stricter fairness criterion that requires a classifier to achieve equal true positive rates and equal false positive rates across protected groups. Unlike statistical parity, equalized odds conditions on the true outcome, ensuring that errors are distributed evenly. This metric is preferred when the base rates of the target variable differ legitimately between groups, as it penalizes models that mask inaccuracy in one group with higher accuracy in another.
Disparate Impact
A legal doctrine and quantitative measure originating from U.S. employment law. It identifies facially neutral policies that disproportionately harm protected groups. The Four-Fifths Rule serves as a practical threshold: a selection rate for any group that is less than 80% of the rate for the highest group constitutes evidence of adverse impact. Disparate impact analysis is a cornerstone of regulatory compliance audits.
Counterfactual Fairness
A causal definition of fairness where a decision is fair if it would remain the same in a counterfactual world where the individual belonged to a different demographic group. This approach uses structural causal models to distinguish discriminatory path-specific effects from legitimate, non-discriminatory influences. It addresses the limitations of purely observational metrics by modeling the underlying causal mechanisms.
Bias Mitigation
The application of technical interventions at three stages of the ML pipeline:
- Pre-processing: Transform training data to remove discriminatory patterns before model training
- In-processing: Add fairness constraints directly to the model's objective function during training
- Post-processing: Adjust model outputs or decision thresholds after prediction to satisfy fairness criteria Each approach involves distinct trade-offs between accuracy and fairness.
Fairness Toolkits
Open-source libraries that operationalize fairness evaluation and mitigation:
- AI Fairness 360 (AIF360): IBM's comprehensive suite with 70+ fairness metrics and 10+ bias mitigation algorithms
- Fairlearn: Microsoft's toolkit providing assessment dashboards and interactive visualizations for disaggregated performance analysis Both integrate with standard ML pipelines and support binary classification and regression tasks.
Model Card
A structured transparency document that reports the intended use, evaluation results, and ethical considerations of a trained model. Model cards disaggregate performance metrics across demographic groups, explicitly reporting fairness evaluations. Originating from Google research, they are now a standard requirement under proposed AI regulations for high-risk systems, enabling downstream auditors to assess suitability for deployment.

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.
Partnered with leading AI, data, and software stack.
How We Work
Custom AI workflows for your Business
One-fit-all AI don't work for modern businesses. At Inferensys, we aim to understand your business & custom requirements; which we use to define most efficient agentic workflows, the data, and the tools for your business.
01
Review the use case
We understand the task, the users, and where AI can actually help.
Read more02
Pick the right approach
We define what needs search, automation, or product integration.
Read more03
Build the first useful version
We implement the part that proves the value first.
Read more04
Improve from there
We add the checks and visibility needed to keep it useful.
Read moreThe first call is a practical review of your use case and the right next step.
Talk to Us