Skip to content
Prev 109236 / 398500 Next

error using user-defined link function with mixed models (LMER)

On 2/10/07, Jessi Brown <jessilbrown at gmail.com> wrote:
lmer is designed to work with arbitrary families but I haven't done a
lot of testing outside the binomial and poisson families.

Try looking at the structure of an instance of your family and
comparing it to, say,

str(binomial())

Make sure that all the components are there and have the correct form.

The next step is to use verbose output so you can see the progress of
the iterations.  Add the optional argument control = list(msVerbose =
1) to your call to lmer.

Instead of immediately requesting a summary, use str(apfa.lmer.1) to
check the structure.  Again you may want to compare this description
to that from str applied to a similar fit using the binomial family.