GLM Variable List (GLM: Repeated Measures command)

The list of dependent variables, factors, and covariates must be specified first.

  • WSFACTOR determines how the dependent variables on the GLM variable list will be interpreted.
  • The number of dependent variables on the GLM variable list must be a multiple of the number of cells in the within-subjects design. If there are six cells in the within-subjects design, each group of six dependent variables represents a single within-subjects variable that has been measured in each of the six cells.
  • Normally, the number of dependent variables should equal the number of cells in the within-subjects design multiplied by the number of variables named on the MEASURE subcommand (if one is used). If you have more groups of dependent variables than are accounted for by the MEASURE subcommand, GLM will choose variable names to label the output, which may be difficult to interpret.
  • Covariates are specified after keyword WITH. You can specify constant covariates. Constant covariates represent variables whose values remain the same at each within-subjects level.

Example

GLM MATH1 TO MATH4 BY METHOD WITH SES 
  /WSFACTOR=SEMESTER 4.
  • The four dependent variables represent a score measured four times (corresponding to the four levels of SEMESTER).
  • SES is a constant covariate. Its value does not change over the time covered by the four levels of SEMESTER.
  • Default contrast (POLYNOMIAL) is used.