VARIABLES Subcommand (ANOVA command)
VARIABLES
specifies the analysis list.
- More than one design can be specified on the same
ANOVA
command by separating the analysis lists with a slash. - Variables named before the keyword
BY
are dependent variables. Value ranges are not specified for dependent variables. - Variables named after
BY
are factor (independent) variables. - Every factor variable must have a value range indicating its minimum and maximum values. The values must be separated by a space or a comma and enclosed in parentheses.
- Factor variables must have integer values. Non-integer values for factors are truncated.
- Cases with values outside the range specified for a factor are excluded from the analysis.
- If two or more factors have the same value range, you can specify the value range once following the last factor to which it applies. You can specify a single range that encompasses the ranges of all factors on the list. For example, if you have two factors, one with values 1 and 2 and the other with values 1 through 4, you can specify the range for both as 1,4. However, this may reduce performance and cause memory problems if the specified range is larger than some of the actual ranges.
- Variables named after the keyword
WITH
are covariates. - Each analysis list can include only one
BY
and oneWITH
keyword.