The ANOVA Procedure

Syntax: ANOVA Procedure

The following statements are available in the ANOVA procedure:

PROC ANOVA <options> ;
CLASS variables </ option> ;
MODEL dependents = effects </ options> ;
ABSORB variables ;
BY variables ;
FREQ variable ;
MANOVA <test-options> </ detail-options> ;
MEANS effects </ options> ;
REPEATED factor-specification </ options> ;
TEST <H=effects> E=effect ;

The PROC ANOVA, CLASS, and MODEL statements are required, and they must precede the first RUN statement. The CLASS statement must precede the MODEL statement. If you use the ABSORB, FREQ, or BY statement, it must precede the first RUN statement. The MANOVA, MEANS, REPEATED, and TEST statements must follow the MODEL statement, and they can be specified in any order. These four statements can also appear after the first RUN statement.

Table 25.1 summarizes the function of each statement (other than the PROC statement) in the ANOVA procedure:

Table 25.1: Statements in the ANOVA Procedure

Statement

Description

ABSORB

Absorbs classification effects in a model

BY

Specifies variables to define subgroups for the analysis

CLASS

Declares classification variables

FREQ

Specifies a frequency variable

MANOVA

Performs a multivariate analysis of variance

MEANS

Computes and compares means

MODEL

Defines the model to be fit

REPEATED

Performs multivariate and univariate repeated measures analysis of variance

TEST

Constructs tests that use the sums of squares for effects and the error term you specify