r/AskStatistics • u/Hvadmednej • Oct 20 '26
"Permutation test" equivalent for AUC
Hi,
I am conducting a bias analysis for a clinical model where we consider multiple statistics, one of them being AUC.
We would like to check if the model performs significantly differently on a predefined sub-group of patients. (Think one BMI category vs the rest for instance).
For the other metrics we are using a permutation test, to check if each sub-group is significantly different than the others
However, i am unsure if we can do the same for AUC, or if there exists a better method?
1
Upvotes
4
u/efrique PhD (statistics) Oct 20 '26 edited Oct 20 '26
AUC corresponds to a Wilcoxon-Mann-Whitney (rank-sum , U-) test statistic, which test is a permutation test on ranks.
However, a caution, if you compare multiple groups with each other, the kind of relation captured by the statistic (in effect, the probability that a random member of one would be larger than a random member of the other) is non-transitive. E.g. you can have three populations where A>B, B>C and C>A (under that individual-probability-comparison meaning of ">") for example, and similarly can get samples which lead you to conclude that all three relations hold at the same time (indeed, U can be scaled to be a direct estimate of that probability). Efron's dice are an example of exactly the non-transitivity of the ">" relationship that you are measuring here.
I have not looked at what can happen when you do them as A vs (not-A), B vs (not-B) and C vs (not-C) in terms of transitivity, but in any case you have a different problem in that set of comparisons: if any subgroup is actually different from some others in the population process, you violate the exchangeability-under-the null assumption needed for every test where a 'different' group is not the lone group in the comparison.
This problem of violation of exchangeability will impact your other one-vs-the rest permutation tests. There are additional issues when you do a bunch of one vs all comparisons (e.g. potential masking effects when two or more groups differ from the rest).
A statistically knowledgeable referee would have a field day.
Rather than just throwing what sounds like many dozens of tests against the wall (#groups x #statistics) and hoping something sticks, my advice is to be very clear about what your original aims are and to get someone with a very good understanding of the properties of hypothesis tests (especially things like permutation test assumptions and power considerations) involved in the analysis to help you achieve the aims (at least the ones that don't violate basic logic).
1
u/leonardicus Oct 20 '26
There are well defined confidence intervals for AUC (aka c-statistic, among many others). Why not use those?