OUTFILE Subcommand (PROXSCAL command)

OUTFILE saves coordinates of the common space, individual space weights, distances, transformed proximities, and transformed independent variables to an external IBM® SPSS® Statistics data file or previously declared dataset. The only specification required is a name for the output file.

COMMON. Common space coordinates. The coordinates of the common space are written to an external IBM SPSS Statistics data file or previously declared dataset. The columns (variables) represent the dimensions DIM_1, DIM_2, ..., DIM_n of the common space. The number of cases (rows) in the IBM SPSS Statistics data file equals the number of objects.

WEIGHTS. Individual space weights. The individual space weights are written to an external IBM SPSS Statistics data file or previously declared dataset. 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 dimensions. The generalized Euclidean model uses full-rank nonsingular weight matrices. The matrices are written to the data file row by row. The reduced rank model writes matrices to the data file in the same way as the generalized Euclidean model does but does not write the reduced part.

DISTANCES. Distances. The matrices containing the distances for each source are stacked beneath each other and written to an external IBM SPSS Statistics data file or previously declared dataset. The number of variables in the data file are equal to the number of objects (OBJ_1, OBJ_2, ..., OBJ_n) and the number of cases in the data file are equal to the number of objects times the number of sources.

TRANSFORMATION. Transformed proximities. The matrices containing the transformed proximities for each source are stacked beneath each other and written to an external IBM SPSS Statistics data file or previously declared dataset. The number of variables in the file are equal to the number of objects (OBJ_1, OBJ_2, ..., OBJ_n) and the number of cases in the data file are equal to the number of objects times the number of sources.

VARIABLES. Independent variables. The transformed independent variables are written to an external IBM SPSS Statistics data file or previously declared dataset. The variables are written to the columns (VAR_1, VAR_2, ..., VAR_n). The number of variables in the data file are equal to the number of independent variables and the number of cases are equal to the number of objects.

Example

PROXSCAL VARIABLES=source01 TO source04 
  /TABLE=row_id BY col_id 
  /OUTFILE=COMMON('/data/start.sav').
  • Here, the coordinates of the common space are written to the 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.