Example (MANOVA: Repeated Measures command)

MANOVA Y1 TO Y4 BY GROUP(1,2)
  /WSFACTORS=YEAR(4)
  /CONTRAST(YEAR)=POLYNOMIAL
  /RENAME=CONST, LINEAR, QUAD, CUBIC
  /PRINT=TRANSFORM PARAM(ESTIM)
  /WSDESIGN=YEAR
  /DESIGN=GROUP.
  • WSFACTORS immediately follows the MANOVA variable list and specifies a repeated measures analysis in which the four dependent variables represent a single variable measured at four levels of the within-subjects factor. The within-subjects factor is called YEAR for the duration of the MANOVA procedure.
  • CONTRAST requests polynomial contrasts for the levels of YEAR. Because the four variables, Y1, Y2, Y3, and Y4, in the active dataset represent the four levels of YEAR, the effect is to perform an orthonormal polynomial transformation of these variables.
  • RENAME assigns names to the dependent variables to reflect the transformation.
  • PRINT requests that the transformation matrix and the parameter estimates be displayed.
  • WSDESIGN specifies a within-subjects design that includes only the effect of the YEAR within-subjects factor. Because YEAR is the only within-subjects factor specified, this is the default design, and WSDESIGN could have been omitted.
  • DESIGN specifies a between-subjects design that includes only the effect of the GROUP between-subjects factor. This subcommand could have been omitted.