[R] classification accuracy in logistic regression

Achim Zeileis Achim.Zeileis at wu-wien.ac.at
Thu Nov 20 18:42:00 CET 2008


On Thu, 20 Nov 2008, David Kaplan wrote:

> Hi all,
>
> I'm looking for a program that will take the predicted probabilities from a 
> logistic regression using glm{stats}, dichotomize them according to a 
> threshold that I can control, and then use them to form sensitivity, 
> specificity, false pos and false neg rates.

I would look at the ROCR package on CRAN which provides convenient 
access to various measures and associated graphics.
Z

> Thanks in advance.
>
> David
>
>
> -- 
> =======================================================================
> David Kaplan, Ph.D.
> Professor
> Department of Educational Psychology
> University of Wisconsin - Madison
> Educational Sciences, Room, 1061
> 1025 W. Johnson Street
> Madison, WI 53706
>
> email: dkaplan at education.wisc.edu
> homepage:
> http://www.education.wisc.edu/edpsych/default.aspx?content=kaplan.html
> Phone: 608-262-0836
>
> ______________________________________________
> R-help at 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.
>
>



More information about the R-help mailing list