[R-sig-ME] Another case of -1.0 correlation of random effects
Kevin E. Thorpe
kevin.thorpe at utoronto.ca
Fri Apr 9 15:10:04 CEST 2010
Ken Knoblauch wrote:
> Kevin E. Thorpe <kevin.thorpe at ...> writes:
>
>> My data come from a crossover trial and are balanced.
>>
>> > str(gluc)
>> 'data.frame': 96 obs. of 4 variables:
>> $ Subject : int 1 2 3 5 6 7 10 11 12 13 ...
>> $ Treatment: Factor w/ 2 levels "Barley","Oat": 1 1 1 1 1 1 1 1 1 1 ...
>> $ Dose : int 8 8 8 8 8 8 8 8 8 8 ...
>> $ iAUC : num 110 256 129 207 244 ...
>>
>
>> clip>
>
> Shouldn't you make Subject into a factor?
>
> Ken
>
I just tried that and it had no effect on the results.
--
Kevin E. Thorpe
Biostatistician/Trialist, Knowledge Translation Program
Assistant Professor, Dalla Lana School of Public Health
University of Toronto
email: kevin.thorpe at utoronto.ca Tel: 416.864.5776 Fax: 416.864.3016
More information about the R-sig-mixed-models
mailing list