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... Thanks a lot! Bruno -- View this message in context: http://r.789695.n4.nabble.com/ROC-Curve-negative-AUC-tp4650469.html Sent from the R help mailing list archive at Nabble.com.
wrong direction for ranking On Thu, Nov 22, 2012 at 1:58 PM, brunosm <brunosm87@gmail.com> wrote:> the area under the curve (AUC) is negative? > > I'm using ROC function with a logistic regression, package Epi. > > First time it happens... > > Thanks a lot! > > Bruno >-- =============================WenSui Liu Credit Risk Manager, 53 Bancorp wensui.liu@53.com 513-295-4370 ============================= [[alternative HTML version deleted]]
On Fri, Nov 23, 2012 at 7:58 AM, brunosm <brunosm87@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]]