Skip to content

HELP GLM

2 messages · CHIRIBOGA Xavier, Jim Lemon

#
Dear colleagues,


I am trying to perform GLM but I got the following message.


 m2<-glm(induction~time+plant,data=b)
Error in glm.fit(x = c(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,  :
  NA/NaN/Inf in 'y'
Adem?s: Warning messages:
1: In Ops.factor(y, mu) : '-' not meaningful for factors
2: In Ops.factor(eta, offset) : '-' not meaningful for factors
3: In Ops.factor(y, mu) : '-' not meaningful for factors


Do you know why it is not working?


Thank you for your help,


Xavier
#
After scrupulous textual analysis, I conclude that you have at least
one NA/NaN/Inf in b$induction. There is also a hint that you should
acquaint yourself with family="binomial".

Sherlock

On Tue, Jan 31, 2017 at 11:18 AM, CHIRIBOGA Xavier
<xavier.chiriboga at unine.ch> wrote: