Skip to content

Choose a test

Choose the test that matches the decision you need to make.

Test Use it to ask
MannWhitneyU Do values in the group under review tend to rank higher or lower than values in the reference group?
Dsos Did a score move toward the high end you chose as harmful?
DeLong On the same cases, does the candidate rank outcomes better than the current model?
Venkatraman On the same cases, do the models make different trade-offs between catching cases and false alarms?

For group comparisons, use MannWhitneyU to check whether values tend to rank higher in one group. Use Dsos when you have a score linked to a concern; higher values must mean more harm.

For two models on the same cases, use DeLong to compare overall ranking or Venkatraman to compare trade-offs across cutoffs. See Paired AUROC versus shape for the difference.

A score change does not always mean harm

An alert tells you that the scores changed, not whether people were worse off. Use a score that reflects the concern you want to catch. See Benign vs harmful shift for examples.

Next steps

Start with the Quickstart, then see API: Testing for exact inputs and results.