Correcting for confounding in analyzing receiver operating characteristic curves