O'Reilly logo

SAS Essentials: Mastering SAS for Data Analytics, 2nd Edition by Wayne A. Woodward, Alan C. Elliott

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

13ANALYSIS OF VARIANCE

This chapter illustrates how to perform an analysis of variance (ANOVA) for several common designs. These procedures are used to compare means across groups or to compare three or more repeated measures (dependent samples). SAS® provides three major procedures for performing ANOVA: PROC ANOVA, PROC GLM, and PROC MIXED. We will discuss PROC MIXED in Chapter 14.

In this chapter, we use both PROC ANOVA and PROC GLM in our analysis of a one-way ANOVA. PROC ANOVA is a basic procedure that is useful for one-way ANOVA or for multiway factorial designs with fixed factors and an equal number of observations per cell.

PROC GLM is a SAS procedure that is similar to but more advanced than PROC ANOVA. (GLM stands for General Linear Model.) We also use PROC GLM for the one-way repeated measures analysis, because it involves techniques not supported by PROC ANOVA. In Chapter 14, we illustrate the use of PROC MIXED to analyze a model with both fixed and random factors and for a repeated measures design with a grouping factor. The “Going Deeper” section in this chapter describes how to perform posthoc comparisons for a one-way ANOVA.

13.1 COMPARING THREE OR MORE MEANS USING ONE-WAY ANALYSIS OF VARIANCE

A one-way ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required