Example: Matrix Output to External File (PROXIMITIES command)

GET FILE='/data/crime.sav'.
PROXIMITIES MURDER TO MOTOR
  /ID=CITY
  /MEASURE=EUCLID
  /MATRIX=OUT(PROXMTX).
  • PROXIMITIES reads data from the IBM® SPSS® Statistics data file crime.sav and writes one set of matrix materials to file PROXMTX.
  • The active dataset is still crime.sav. Subsequent commands are executed on this file.