[R] Strange predicted values ?

orkun temiz at deprem.gov.tr
Thu Aug 7 09:09:17 CEST 2003


Hello

I carried out a logistic regression and found predicted values.
Then I want to see both predictors (var1,var2..) and predicted values
in same matrix. In other words, I need to know each combinations
and predicted values.

I used:
cbind(var1,var2,var3,var4,predict(glm.obj,type="resp"))

I got  a somewhat strange result:

var1  var2  var3  var4  var5 var6      predicted vals
------   -----  ----- -------- -----  -----      -------------------
  6        6       1      1        1      1            4.24e-07
  6        6       1      1        1      1            8.37e-11
  6        6       1      1        1      1            6.8e-07
   .
   .
   .

I had expected to have a same predicted value for
same combinations.

Can anyone explain to me why ?
Or any suggestion ?

kind regards


Ahmet Temiz
TURKEY


 


______________________________________



______________________________________
The views and opinions expressed in this e-mail message are ...{{dropped}}




More information about the R-help mailing list