Skip to content

difficulties getting coef() to work in some lmer() calls

2 messages · David Park, Douglas Bates

9 days later
#
On Dec 3, 2007 1:45 PM, David Park <dkp at gwu.edu> wrote:
Which indicates that the coefficients being estimated for each level
of st.num do not correspond to any of the fixed-effects coefficients,
hence the coef method, in the sense that it is used in nlme and lme4,
cannot be applied.

You will need to change the fixed-effects specification so that it
includes z.inc.  This may mean modifying the contrasts from
factor(z.inc).  I would suggest switching to polynomial contrasts then
replacing the linear term by z.inc