Skip to content
Prev 11056 / 20628 Next

Error with predict.merMod and random slopes

On 13-11-12 07:50 AM, Nick Donnelly wrote:
Thanks for the very detailed report.  This *should* work, the fact
that it doesn't constitutes a bug.

  I'm guessing that you might be able to work around the problems by
defining the interactions up front, e.g.

transform(dataTrain,latencyPO=interaction(latency,PO))

and then using (latencyPO|subjectID) as the random effect.

  I will take a closer look (maybe with a smaller example so that it
runs faster ...)

  Ben Bolker