[R-sig-ME] glmer error
Rune Haubo
rhbc at imm.dtu.dk
Thu Feb 16 07:26:28 CET 2012
On 16 February 2012 02:35, David Duffy <David.Duffy at qimr.edu.au> wrote:
> On Wed, 15 Feb 2012, Felipe Nunes wrote:
>
>> glmer(dummy ~ x + time + (time | subject), data, family=binomial(link
>> = "logit"), REML=T, verbose=T)
Will data=pool solve it?
/Rune
PS: REML=T makes no sense for GLMMs and is, I believe, just ignored.
>>
>> 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.
>
>
> _______________________________________________
> R-sig-mixed-models at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-sig-mixed-models
More information about the R-sig-mixed-models
mailing list