OUTFILE Subcommand (PREFSCAL command)

OUTFILE saves coordinates of the common space, individual space weights, distances, and transformed proximities to an external IBM® SPSS® Statistics data file or previously declared dataset (DATASET DECLARE command). The data file/dataset name must be different for each keyword.

COMMON('savfile'|'dataset'). Common space coordinates. The coordinates of the common space. The columns (variables) represent the dimensions DIM_1, DIM_2, ..., DIM_n of the common space. The number of cases in the external file equals the total number of objects (row plus column objects).

WEIGHTS('savfile'|'dataset'). Individual space weights. The individual space weights. The columns represent the dimensions DIM_1, DIM_2, …, DIM_n of the space weights. The number of cases depends on the individual differences model specified on the MODEL subcommand. The weighted Euclidean model uses diagonal weight matrices. Only the diagonals are written to file, and the number of cases is equal to the number of sources. The generalized Euclidean model has full-rank nonsingular weight matrices, one matrix for each source. The matrices are stacked beneath each other in the external IBM SPSS Statistics data file. The number of cases equals the number of sources times the number of dimensions.

DISTANCES('savfile'|'dataset'). Distances. The matrices containing the distances between the objects for each source are stacked beneath each other in the external IBM SPSS Statistics data file. The number of variables in the data file is equal to the total number of objects (ROW_1, ROW_2, ..., ROW_n, COL_1, COL_2, …, COL_m). The number of cases in the data file is equal to the total number of objects times the number of sources.

TRANSFORMATION('file'|'dataset'). Transformed proximities. The matrices containing the transformed proximities for each source are stacked beneath each other in the external IBM SPSS Statistics data file. The number of variables in the external file is equal to the total number of objects (ROW_1, ROW_2, ..., ROW_n, COL_1, COL_2, …, COL_m). The number of cases in the external file is equal to the total number of objects times the number of sources.

Example

PREFSCAL var01 TO var15
  /OUTFILE = COMMON('/data/start.sav').
  • Here, the coordinates of the common space are written to the external IBM SPSS Statistics data file start.sav.
  • 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.