%0 Journal Article %T A SAS macro for generating letter displays of pairwise mean comparisons %A Hans-Peter Piepho %J Communications in Biometry and Crop Science %D 2012 %I Warsaw Agricultural University %X Data from many experiments are routinely subjected to analysis of variance, followed by a multiple comparison of means. A popular way to present the result of mean comparisons is by attaching super-scripted letters to the means, with a common letter on two means indicating that they are not significantly different. When the standard error of a difference is not constant, the algorithm traditionally used for generating such displays may fail to represent all significant differences. This paper reports on a so-called insert-and-absorb algorithm that is guaranteed to always truthfully represent all significant differences. This algorithm was implemented in a SAS macro %MULT. Its usage is illustrated using three examples. %K multiple comparison %K insert-and-absorb algorithm %K lines display %K letter display %K compact letter display %K mixed model %K generalized linear mixed model %K standard error of a difference %K analysis of variance %K %MULT macro %U http://agrobiol.sggw.waw.pl/~cbcs/pobierz.php?plik=CBCS_7_1_2.pdf