[R-sig-ME] glmer error

David Duffy David.Duffy at qimr.edu.au
Thu Feb 16 02:35:47 CET 2012


On Wed, 15 Feb 2012, Felipe Nunes wrote:

> glmer(dummy ~ x + time + (time | subject), data, family=binomial(link
> = "logit"), REML=T, verbose=T)
>
> Error in glm.fit(fr$X, fr$Y, weights = wts, offset = offset, family =
> family,  :
>
> NA/NaN/Inf in foreign function call (arg 1)
>
> I omitted NAs, changed the model specification, transformed x to log(x) but
> nothing solved the problem. I think the problem is on variable 'x' given
> that is the only one that causes that problem.

You need to provide us with a subset of your dataset that causes the same 
problem.  Alternatively, debug(glm.fit) and look at the contents of 
"x[good,]" etc.  Maybe it's separation.




More information about the R-sig-mixed-models mailing list