Example: Matrix Input from active dataset (FACTOR command)

GET FILE='/data/cormtx.sav'.
FACTOR MATRIX IN(COR=*).
  • This example starts a new session and reads an existing matrix data file. GET retrieves the matrix data file cormtx.sav.
  • MATRIX = IN specifies an asterisk because the matrix data file is the active dataset. If MATRIX = IN(cormtx.sav) is specified, the program issues an error message.
  • If the GET command is omitted, the program issues an error message.