Displaying 1 result from an estimated 1 matches for "croispulm".
2005 Nov 07
1
repeated values, nlme, correlation structures
...values cannot be handled with standard coStruct 
classes of nlme, I have done a first fit with nlme using the mean of 
each group. Comparing several models, the best fit is:
modm0c<-nlme(pds~Asym/(1+exp((xmid-age)/scal)),
    fixed=list(Asym~1,xmid~1,scal~1),
    random=Asym+xmid~1|nichoir,data=croispulm,
    start=list(fixed=c(10,5,2.2)),
    method="ML",
    corr=corCAR1()
    )
with pds = weight, age = mean age of each age group, nichoir = nestbox 
(a factor of 17 levels)
Based on the empirical autocorrelation function of the normalised 
residuals drawn from this model one can accept...