Skip to content
Prev 288 / 7420 Next

"random" lme syntax; related problem

On Mon, Jul 21, 2008 at 2:36 AM, Maaike A Versteegh
<M.A.Versteegh at rug.nl> wrote:
I don't recall making that suggestion.  If you plot the growth curves
for each chick by treatment or nest you'll see that's not a likely
model.  Look at the plots and think about how you would test for
treatment effects using lm and it's associated assumptions (including
linearity), then try something similar with lme, adding covariance
structures for random effects and errors to produce more realistic
estimates of standard errors (and betas).  You've got observations at
days within chicks within nests and you want to account for probable
correlations at each of those levels (noting you can't predict random
effects for nest/nstchk/day because there is only one observation at
that level, leaving no df for error).  The errors at the day level
likely have temporal correlation with unequally spaced lags suggesting
what type of correlation structure to try.  Also your variances are
non-homogeneous (in the sample data you sent) and the diagonal of the
error covariance matrix should be appropriately structured.  As far as
the convergence issues the likely culprits are near singularities in
model matrices or flat likelihood surfaces.  Following the suggestions
above may help.

If this advice is not readily clear I suggest consulting with a statistician.

Kingsford Jones