compare_models function

Perform permutation tests to compare the performance metric across all pairs of a group variable.