Hi, I am trying to get the 95% confidence intervals for the coefficients
in the lmer model below.
mod5<-lmer((centre.log.mass)~centre.log.dbh+centre.log.height+(1+centre.log.height|sp
ecies_site),data=data3,REML=F)
I have tried to use the function ci(mod5) but get the following error
message:
Error in .local(object, n, verbose, ...) :
Code for non-trivial theta_T not yet written
However, the function works when I alter my model as below:
mod6<-lmer((centre.log.mass)~centre.log.dbh+centre.log.height+(1|species_site)+(0+cen
tre.log.height|species_site),data=data3,REML=F)
I'm not sure this what this altered model means, (i.e. why are random
effects terms different, i'm still allowing both the intercept and the
slope of height to vary by group?) but the model output is different
from my original model. The coefficients are different and I seem to
now have eliminated any correlation between the slope and intercept.
Which I'm thinking was the reason why the ci function wouldn't work in
the first place?