Skip to content
Prev 82983 / 398502 Next

glmmADMB: Generalized Linear Mixed Models using AD Model Builder

On 12/19/05, Hans Julius Skaug <Hans.Skaug at mi.uib.no> wrote:
Ah yes, that example.  It is also given as the 'toenail' data set in
the 'mlmus' package of data sets from the book "Multilevel and
Longitudinal Modeling Using Stata" by Sophia Rabe-Hesketh and Anders
Skrondal (Stata Press, 2005).

It is not surprising that it is difficult to fit such a model to these
data because the data do not look like they come from such a model. 
You did not include the estimates of the variance of the random
effects in your output.  It is very large and very poorly determined. 
If you check the distribution of the posterior modes of the random
effects (for linear mixed models these are called the BLUPs - Best
Linear Unbiased Predictors - and you could call them BLUPs here too
except for the fact that they are not linear and they are not unbiased
and there isn't a clear sense in which they are "best") it is clearly
not a Gaussian distribution with mean zero.  I enclose a density plot.
 You can see that it is bimodal and the larger of the two peaks is for
a negative value.  These are the random effects for those subjects
that had no positive responses - 163 out of the 294 subjects.
[1] 163

There is no information to estimate the random effects for these
subjects other than "make it as large and negative as possible".  It
is pointless to estimate the fixed effects for such a clearly
inappropriate model.
 lattice package.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ranef.pdf
Type: application/pdf
Size: 21345 bytes
Desc: not available
Url : https://stat.ethz.ch/pipermail/r-help/attachments/20051219/ae0b7bad/ranef.pdf