OUTFILE Subcommand (QUICK CLUSTER command)

OUTFILE saves the final cluster centers in an external IBM® SPSS® Statistics data file or a previously declared dataset in the current session. You can later use these final cluster centers as initial cluster centers for a different sample of cases that use the same variables. You can also cluster the final cluster centers themselves to obtain clusters of clusters.

  • The only specification is a filename or previously declared dataset name for the file. Filenames should be enclosed in quotes and are stored in the working directory unless a path is included as part of the file specification. Datasets are available during the current session but are not available in subsequent sessions unless you explicitly save them as data files.
  • The program displays the name of the saved file in the procedure information notes.

Example

QUICK CLUSTER A B C D
  /CRITERIA = CLUSTER(3)
  /OUTFILE = '/data/QC1.sav'.
  • QUICK CLUSTER writes the final cluster centers to the file QC1.sav.