08-26-2011 02:20 PM
When doing Tukey's HSD, SPSS gives the results of a homogeneous subset (ie., categorizing different groups into different subsets). Just wonder if the same analyses can be done in SAS? If so, how to write the syntax for this?
08-29-2011 08:59 AM
I am not sure what is "multi-compare". What I want is "homogeneous subsets", which look like the last table in the webpage:
The reason I ask for this kind of output is that I encountered the situation like this: I have five groups of people (A, B, C, D, and E). B differ from every other group. A does not differ from C, D, and E. However, C differ from D and E, and D do not differ from E. I have lots of analysis results like this, and found it extremely difficult to report them. Therefore, if I can use homogeneous subset (or other possible solutions) then that will be useful.
To art297: I will try your method and see if it works! Thanks!
08-29-2011 11:31 PM
Yes. If it were ANOVA. The more information please check the documentation about proc glm.
class A B;
model Y=A B A*B;
means A B / tukey;