Andra,

Two common methods are the AUC (area under the curve) and the Log Likelihood.

The ROCR package has several nice functions for evaluating the accuracy of your model


--
Noah Silverman
UCLA Department of Statistics
8117 Math Sciences Building
Los Angeles, CA 90095

On Aug 25, 2011, at 9:58 PM, Andra Isan wrote:

> Hi All,
> 
> When modeling with glm and family = binomial (link = logit) and response values of 0 and 1, I get the predicted probabilities of assigning to my class one, then I would like to compare it with my vector y which does have the original labels. How should I change the  probabilities into values of zero and 1 and then compare it with my vector y to find out about the accuracy of my prediction?
> 
> Thanks,
> Andra
> 
> ______________________________________________
> 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.


	[[alternative HTML version deleted]]

