[R] AUC for logistic regression [was: (no subject)]
andy_liaw at merck.com
Wed Dec 15 20:25:06 CET 2004
My guess is `area under the ROC curve'. There's the roc package in
BioConductor that I believe can compute this.
> From: Spencer Graves
> What's AUC? If you mean AIC (Akaike Information
> Criterion), and
> if you fit logistic regression using "glm", the help file
> says that glm
> returns an object of class "glm", which is a list containing
> among other
> things an attribute aic. For example, suppose you fit a
> model as follows:
> fit <- glm(y~x, famil=binomial()...)
> Then fit$aic returns the AIC.
> You may also wish to consider anova and anova.glm.
> hope this helps. spencer graves
> rrouzier at mdanderson.org wrote:
> >Dear R-helper,
> >I would like to compare the AUC of two logistic regression
> models (same
> >population). Is it possible with R ?
> >Thank you
> >Roman Rouzier
> > [[alternative HTML version deleted]]
> >R-help at stat.math.ethz.ch mailing list
> >PLEASE do read the posting guide!
> Spencer Graves, PhD, Senior Development Engineer
> O: (408)938-4420; mobile: (408)655-4567
> R-help at stat.math.ethz.ch mailing list
> PLEASE do read the posting guide!
More information about the R-help