On Fri, Nov 23, 2012 at 7:58 AM, brunosm <brunos...@gmail.com> wrote:
> Hi all, > > does anyone know why the area under the curve (AUC) is negative? > > I'm using ROC function with a logistic regression, package Epi. > > First time it happens... > > Have you looked at the ROC curve? That should tell you whether there's some strange non-convexity going on or whether the variable is just being put into the calculations backwards. -thomas -- Thomas Lumley Professor of Biostatistics University of Auckland [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.