[R-sig-ME] Problem with bootMer and models with offset

Martin Hecht martin.hecht at iqb.hu-berlin.de
Tue Oct 14 17:45:51 CEST 2014


this resolved the issue
thanks a lot!!

Am 14.10.2014 16:05, schrieb Ben Bolker:
> Martin Hecht <martin.hecht at ...> writes:
>
>> Am 14.10.2014 10:30, schrieb Martin Hecht:
>>> Am 14.10.2014 04:16, schrieb Ben Bolker:
>>>> Martin Hecht <martin.hecht <at> ...> writes:
>>>>
>>>>> Hi,
>>>>>
>>>>> I am using the latest version of R (3.1.1) and lme4 (1.1-7) .
>>>>>
>>>>> I'm getting some weird implausible bootstrap results from bootMer for a
>>>>> model with an offset (models without offset work fine).
>>>>>
>   OK, I think I see the problem here.  bootMer is able to handle
> offsets correctly when they're written in the form
>
>     y ~ x + (1|f) + offset(offset_term)
>
> rather than
>
>     y ~ x + (1|f) , offset=offset_term
>
> (I so rarely use the second form that I forgot to check it -- I think
> this is just a hole in bootMer).
>
>   Can you see if that fixes your problem?
>
>   Meanwhile, I will add a Github issue.
>
> _______________________________________________
> R-sig-mixed-models at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-sig-mixed-models


-- 
Dipl.-Psych. Martin Hecht

Institut zur Qualitätsentwicklung im Bildungswesen
Humboldt-Universität zu Berlin
Dienstsitz: Luisenstraße 56
Postanschrift: Unter den Linden 6, 10099 Berlin

Tel: +49-(0)30 2093-46589
Fax: +49-(0)30 2093-5336
Email: martin.hecht at iqb.hu-berlin.de
www: http://www.iqb.hu-berlin.de



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