CBA gif


PROC ANOVA Summary

(Adapted from http://www.yorku.ca/dept/psych/lab/sas/sasanova.htm, by Michael Friendly, York University, Ontario, Canada.)

This is meant to be a brief summary of the syntax of the most widely used statements with PROC ANOVA There are actually more statements and options that can be used with proc ANOVA -- you can find out by typing HELP ANOVA in the command area on the main SAS Display Manager Window. For further information, you might look at Linear Models in SAS An overview of regression and analysis of variance procedures. (from Univ. Michigan).

In the statements below, uppercase is used for keywords, lowercase for things you fill in. Variable names are no more than 8 chars. in length.

PROC ANOVA

PROC ANOVA handles only balanced ANOVA designs.

PROC ANOVA DATA=datasetname;
     CLASS factorvars;
     MODEL responsevar = factorvars;   /* See below                  */
     MEANS factorvars  / BON           /* Bonferroni t-tests,
                                                         g=r(r-1)/2  */
                         T or LSD      /* Unprotected t-tests        */
                         TUKEY         /* Tukey studentized range    */
                         SCHEFFE       /* Scheffe contrasts          */
                         ALPHA=pvalue  /* default: 5%                */
                         CLDIFF        /* Confidence limits          */
                         LINES         /* Non-significant subsets    */
                         ;     /* use LINES or CLDIFF                */

Back to DISC 7397 main page

Back to DISC 8397 main page
mail E-mail to JLPeixoto@uh.edu
Home Page
Back to Dr. Peixoto's home page