Format of the Matrix Data File (DISCRIMINANT command)

  • The matrix data file has two special variables created by the program: ROWTYPE_ and VARNAME_. Variable ROWTYPE_ is a short string variable having values N, COUNT, MEAN, STDDEV, and CORR (for Pearson correlation coefficient). The variable VARNAME_ is a short string variable whose values are the names of the variables used to form the correlation matrix.
  • When ROWTYPE_ is CORR, VARNAME_ gives the variable associated with that row of the correlation matrix.
  • Between ROWTYPE_ and VARNAME_ is the grouping variable, which is specified on the GROUPS subcommand of DISCRIMINANT.
  • The remaining variables are the variables used to form the correlation matrix.