I try to find probability values of some predictor combinations using logistic reg. in response level.
Firstly I found coefficients by glm function.
Then I followed two ways to get probability values:
1- probility <- exp(X0+bX1+cX2+...)/((1+exp(X0+bX1+cX2+...))
2- probility <- predict(glm.obj,type="resp")
Should have these two given same result ? if so, I did not have. Why ?
Does anyone have any idea ?
thanks in advance
Ahmet Temiz TURKEY
______________________________________
______________________________________
The views and opinions expressed in this e-mail message are the ... {{dropped}}______________________________________________ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help
