PRINT Statement (MATRIX-END MATRIX command)

The PRINT statement displays matrices or matrix expressions. Its syntax is as follows:

PRINT [matrix expression]
      [/FORMAT="format descriptor"]
      [/TITLE="title"]
      [/SPACE={NEWPAGE}]
              {n      }
      [{/RLABELS=list of quoted names}]
       {/RNAMES=vector of names      }

      [{/CLABELS=list of quoted names}]
       {/CNAMES=vector of names      }

Notes

  • The MDISPLAY global setting specifies how matrices are displayed. By default, IBM® SPSS® Statistics displays matrices to TEXT. The TABLES setting uses pivot tables to display matrices. When the MDISPLAY global setting is used, the PRINT statement uses either TEXT or TABLES mode exclusively (whichever is specified for MDISPLAY).
  • When the PRINT statement is used in TABLES mode, it supports long row and column names when they are explicitly specified in either the /RLABELS or /CLABELS subcommands. When a PRINT statement is used in TEXT mode, row and column names are truncated to 8 bytes on any PRINT subcommand in which they are specified. When row and column names are not specified, default names row1, row2, … and col1, col2, … are used.
  • When the PRINT statement is used in TABLES mode, the scaling factor is shown in the output annotation.