[R] predict with logistic regression
Anupam Tyagi
AnupTyagi at yahoo.com
Tue Sep 19 17:11:09 CEST 2006
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.
More information about the R-help
mailing list