MEASURE Subcommand (GLM: Repeated Measures command)
In a doubly multivariate analysis, the dependent variables represent multiple variables measured under the different levels of the within-subjects factors. Use MEASURE to assign names to the variables that you have measured for the different levels of within-subjects factors.
- Specify a list of one or more variable names to be used in labeling the averaged results. If no within-subjects factor has more than two levels, MEASURE has no effect. You can use up to 255 bytes for each name.
- The number of dependent variables in the dependent variables list should equal the product of the number of cells in the within-subjects design and the number of names on MEASURE.
- If you do not enter a MEASURE subcommand and there are more dependent variables than cells in the within-subjects design, GLM assigns names (normally MEASURE_1, MEASURE_2, and so on) to the different measures.
- All of the dependent variables corresponding to each measure should be listed together and ordered so that the within-subjects factor named last on the WSFACTORS subcommand varies most rapidly.
Example
GLM TEMP11 TEMP12 TEMP21 TEMP22 TEMP31 TEMP32,
WEIGHT11 WEIGHT12 WEIGHT21 WEIGHT22 WEIGHT31 WEIGHT32 BY GROUP
/WSFACTOR=DAY 3 AMPM 2
/MEASURE=TEMP WEIGHT
/WSDESIGN=DAY, AMPM, DAY BY AMPM
/DESIGN.
- There are 12 dependent variables: six temperatures and six weights, corresponding to morning and afternoon measurements on three days.
- WSFACTOR identifies the two factors (DAY and AMPM) that distinguish the temperature and weight measurements for each subject. These factors define six within-subjects cells.
- MEASURE indicates that the first group of six dependent variables correspond to TEMP and the second group of six dependent variables correspond to WEIGHT.
- These labels, TEMP and WEIGHT, are used on the output as the measure labels.
- WSDESIGN requests a full factorial within-subjects model. Because this is the default, WSDESIGN could have been omitted.