I am sorry to ask a trivial question but I am not a statistician. When I need to compare more than two groups in a unbalanced design with SAS system I use PROC GLM (like the example in data5.csv from Cody R. "Applied statistics and SAS programming language" p.223). R glm gives different results. Thanks Massimo Cressoni