Casewise Data (CORRESPONDENCE command)

  • Each variable is followed by an integer value range in parentheses. The value range consists of the variable’s minimum value and its maximum value.
  • Values outside of the specified range are not included in the analysis.
  • Values do not have to be sequential. Empty categories yield a zero in the input table and do not affect the statistics for other categories.

Example

DATA LIST FREE/VAR1 VAR2.
BEGIN DATA
3 1
6 1
3 1
4 2
4 2
6 3
6 3
6 3
3 2
4 2
6 3
END DATA.
CORRESPONDENCE TABLE=VAR1(3,6) BY VAR2(1,3).
  • DATA LIST defines two variables, VAR1 and VAR2.
  • VAR1 has three levels, coded 3, 4, and 6. VAR2 also has three levels, coded 1, 2, and 3.
  • Since a range of (3,6) is specified for VAR1, CORRESPONDENCE defines four categories, coded 3, 4, 5, and 6. The empty category, 5, for which there is no data, receives system-missing values for all statistics and does not affect the analysis.