Hi All,

Sorry for this is a very naive question. 

I am trying to do binary classification (male vs female)  using glm using 
following data:

X1    X2    X3    Class
2.3    4.5    2.1    Male
0.9    3.2   1.6     Male
1.7    1.8    2.6    Feamle



I am trying to use predict.glm for prediction with type="respose" which gives 
the predicted probabilities as per documentation. 

My question is: which of the two classes does this probability corresponds to? 
My understanding is that it is the probability of the class that each of the 
new data has. Is that correct?

Thanks.

Raj
        [[alternative HTML version deleted]]

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to