Hi Vito, If you can't get satisfaction within R you should be able to do this easily with AD Model Builders random effects module. Dave -- David A. Fournier P.O. Box 2040, Sidney, B.C. V8l 3S3 Canada Phone/FAX 250-655-3364 http://otter-rsch.com