The following statements are available in the GLMPOWER procedure:
PROC GLMPOWER <options>;
BY variables;
CLASS variables;
CONTRAST ’label’ effect values <…effect values> </ options>;
MANOVA ’label’ <testoptions> </ detailoptions>;
MODEL dependentvariables = independenteffects;
PLOT <plotoptions> </ graphoptions>;
POWER <options>;
REPEATED factorspecification;
WEIGHT variable;
The PROC GLMPOWER statement, the MODEL statement, and the POWER statement are required. If your model contains classification effects, the classification variables must be listed in a CLASS statement, and the CLASS statement must appear before the MODEL statement. In addition, CONTRAST and POWER statements must appear after the MODEL statement. PLOT statements must appear after the POWER statement that defines the analysis for the plot.
If you specify one or more MANOVA or REPEATED statements, then the model is assumed to be multivariate. Otherwise, a univariate model is assumed, in which case multiple dependent variables represent cell means scenarios for a single response.
You can use multiple CONTRAST , MANOVA , REPEATED , POWER , and PLOT statements. Each CONTRAST statement defines a separate betweensubject contrast. Each MANOVA or REPEATED statement defines a separate withinsubject contrast for a multivariate model. Each POWER statement produces a separate analysis and uses the information that is contained in the CLASS , MODEL , WEIGHT , CONTRAST , MANOVA , and REPEATED statements. Each PLOT statement refers to the previous POWER statement and generates a separate graph (or set of graphs).
Table 48.3 summarizes the basic functions of each statement in PROC GLMPOWER. The syntax of each statement in Table 48.3 is described in the following pages.
Table 48.3: Statements in the GLMPOWER Procedure
Statement 
Description 

Invokes procedure and specifies exemplary data set 

Specifies variables to define subgroups for the analysis 

Declares classification variables 

Defines betweensubject linear tests of model parameters 

Defines withinsubject linear tests of model parameters for multivariate models, in terms of contrast matrix coefficients 

Defines model and specifies dependent variables; for univariate models, multiple dependent variables represent cell means scenarios for a single response 

Displays graphs for preceding POWER statement 

Identifies parameter to solve for and provides one or more scenarios for values of other analysis parameters 

Defines withinsubject linear tests of model parameters for multivariate models, in terms of common repeated measures transformations of the dependent variables 

Specifies variable for allocating sample sizes to different subject profiles 