Skip to content
Prev 12542 / 20628 Next

Problem with bootMer and models with offset

Martin Hecht <martin.hecht at ...> writes:
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.