Re: [R] predict with logistic regression

From: Anupam Tyagi <AnupTyagi_at_yahoo.com>
Date: Tue 19 Sep 2006 - 15:11:09 GMT

Jan Sabee <jan.sabee <at> gmail.com> writes:

> I know that is probability of predict for new dataset.
> My question is how can I know each probability according to class (sore).
> I mean that I need the result of predit something like (M=1, F=0):
> 1 2 3 4 5 6 7 8 9 10
> 1 0 0 0 1 0 1 1 0 1

As I understand your question: you have the probability, and you can use these to decide whether you think it is high enough for you to think whether it is M=1 or F=0. Anupam.



R-help@stat.math.ethz.ch 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. Received on Wed Sep 20 03:57:35 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Tue 19 Sep 2006 - 18:30:05 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.