As the first step in the decommissioning of the site has been converted to read-only mode.

Here are some tips for How to share your SAS knowledge with your professional network.

The "Handy-Dandy, Quick-n-Dirty" Automated Contrast Generator - ASAS/IMLR Macro to Support the GLM, MIXED, and GENMOD Procedures

From sasCommunity
Revision as of 14:18, 22 September 2017 by Paulkaefer (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Paul A. Thompson, Ph.D.
Division of Biostatistics, School of Medicine, Washington University in St. Louis


Contrasts are an important component of the armamentarium of the statistician. In the SAS/STAT ® GLM, ANOVA, MIXED, and GENMOD procedures, the contrasts are used to answer specific additional questions. In many cases, it is difficult to define contrasts which are estimable, or correctly formed. A macro which converts a question about differences between cells (defined in several ways) into estimable contrasts is described. This macro uses SAS/IML ® to convert the comparison into the various components of the comparison into SAS ® system contrasts. Using several macro components unique to the SAS/IML system, the macro generates contrasts which are invariably estimable.

Online materials