Skip to content
Prev 14748 / 20628 Next

Random slope does not improve hierarchical fitting across time

Dear Ben,


First of all, many thanks for your quick response. Moreover, I'm aware that you are an expertise in this field, so I'm doubly happy of receiving your comments.

I have two doubts about what you say (the clue point is maybe the first):


1) The effect of time is in the model as fixed effect (and it is significant), ok. But I also would expect that each subject, i = 1,...,n, has:

   a) His underlying baseline level (ie, a subject-specific baseline effect = beta0 + random intercept = beta0 + ui0) ,and

   b) A particular trend-evolution across time (a subject especific slope = fixed effect of time + random slope = beta_t + uit).

It is indeed very common when dealing repeated measurements across time (a particular case of longitudinal models) to have these two significant

effects.  In fact, always I have fitted longitudinal measurements over time (with unstructure matrix correlation by default), I got that random intercept

and slope model improves the accuracy of considering a single random intercept. So I think this is compatible with the idea of an autoregressive model.

Is it correct?


 2) I have fitted the GLMM with the option corStruct = "full":

glmmADMB.0.int.NB <- glmmadmb(claimyr ~ obstime + (1|ID), corStruct = "full", data = tr.j, family = "nbinom")

And I get the following R error message:

Parameters were estimated, but standard errors were not: the most likely problem is that the curvature at MLE was zero or negative

The function maximizer failed (couldn't find parameter file)


Best,


Xavier