WSDESIGN Subcommand (GLM: Repeated Measures command)
WSDESIGN
specifies the design for within-subjects factors. Its specifications
are like those of the DESIGN
subcommand,
but it uses the within-subjects factors rather than the between-subjects
factors.
- The default
WSDESIGN
is a full factorial design, which includes all main effects and all interactions for within-subjects factors. The default is in effect whenever a design is processed without a precedingWSDESIGN
or when the precedingWSDESIGN
subcommand has no specifications. - A
WSDESIGN
specification cannot include between-subjects factors or terms based on them, nor does it accept interval-level variables. - The keyword
INTERCEPT
is not allowed onWSDESIGN
. - Nested effects are not allowed. Therefore, the symbols ( ) are not allowed here.
- If more than one
WSDESIGN
subcommand is specified, only the last one is in effect.
Example
GLM JANLO,JANHI,FEBLO,FEBHI,MARLO,MARHI BY SEX
/WSFACTOR MONTH 3 STIMULUS 2
/WSDESIGN MONTH, STIMULUS
/DESIGN SEX.
- There are six dependent variables, corresponding to three months and two different levels of stimulus.
- The dependent variables are named on the
GLM
variable list in an order such that the level of stimulus varies more rapidly than the month. Thus, STIMULUS is named last on theWSFACTOR
subcommand. - The
WSDESIGN
subcommand specifies only the main effects for within-subjects factors. There is no MONTH-by-STIMULUS interaction term.