If you can't get satisfaction in R you can do this easily with AD Model Builder's Random Effects module. Cheers, Dave -- David A. Fournier P.O. Box 2040, Sidney, B.C. V8l 3S3 Canada Phone/FAX 250-655-3364 http://otter-rsch.com