Subscribe Bookmark RSS Feed

Script to display "letter" and contrasts report

I want to write a script to display a report containing a "letter" display from a Tukey HSD analysis and three contrast tests in an ANOVA. I manually did the "letters" in FIT Y BY X and manually did the contrasts using the glm platform in FIT MODEL. I can't see how in a script to indicate doing both or to do a contrast, much less three of them.

Does anyone know how how to write a script to do this? How do I indicate a contrast?