I've been struggling with this analyses for a while now. Did quite a bit of reading but I'm getting more confused than before.
I wanna look at the the response of animals to a treatment (4 levels). Each group of 5 animals were subjected to one treatment level, and kept in the same enclosure. Response was measured for each subjected at time0 (previous to treat.), 5days, 10 and 50days post treatment. Covariate is log(BodyMass at time0). So subjects are repeated and nested within bin. After setting ID, enclosure, and treatment as factors I am using lme4 to fit the model:
m1<-lmer(response~treat + Time +(Time|ID)+(1|enclosure), data=data1)
and get the Warning messages:1: In optwrap(optimizer, devfun, getStart(start, rho$lower, rho$pp),  :  convergence code 1 from bobyqa: bobyqa -- maximum number of function evaluations exceeded2: In checkConv(attr(opt, "derivs"), opt$par, ctrl = control$checkConv,  :  Model failed to converge with max|grad| = 1.55933 (tol = 0.002)3: In checkConv(attr(opt, "derivs"), opt$par, ctrl = control$checkConv,  :  Model failed to converge: degenerate  Hessian with 2 negative eigenvalues
What am I doing wrong?
Cheers
Ligia 		 	   		  
	[[alternative HTML version deleted]]

