Algorithmic Bias Explorer
A clinical risk prediction simulation based on the cost-as-proxy problem described by Obermeyer et al.
A clinical risk prediction simulation based on the cost-as-proxy problem described by Obermeyer et al.
Hospital care management flagging patients who would benefit from additional support.
Switch between cost prediction and direct need prediction.
Compare none, demographic parity, equalized odds, and calibration.
Each dot is a patient. X is the model's effective score, Y is actual health need. Dark dots are Group A, cardinal dots are Group B. Enrolled patients are shown at full strength; non-enrolled patients are muted.
The model is scored against the underlying need threshold, then summarized by group. This is where the tension becomes visible: correcting one problem can create another.
Loading...
Share of patients classified correctly against the true need threshold.
Positive prediction rate for Group A.
Positive prediction rate for Group B.
Difference in TPR between groups. Big gaps mean one group's high-need patients are being missed more often.
Difference in missed high-need cases between groups.
When equalized odds improves one metric, calibration or PPV can still move in the wrong direction.
This page is a simplified teaching model, not a clinical decision system. It simulates 500 patients with similar underlying health-need distributions across two abstract groups, then uses observed healthcare spending as a proxy when the target is set to cost.