27.03.2013 Views

SPSS® 12.0 Command Syntax Reference

SPSS® 12.0 Command Syntax Reference

SPSS® 12.0 Command Syntax Reference

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

1290 PROXIMITIES<br />

analysis. If a variable list is specified, the specified variables can be a subset of the variables<br />

in the matrix file.<br />

• With a large number of variables, the matrix data file will wrap when it is displayed (as<br />

with LIST) and will be difficult to read. Nonetheless, the matrix values are accurate and<br />

can be used as matrix input.<br />

Format of the Matrix Data File<br />

Split Files<br />

Example<br />

• The matrix data file includes three special variables created by the program: ROWTYPE_<br />

and VARNAME_. Variable ROWTYPE_ is a short string variable with value PROX (for<br />

proximity measure). PROX is assigned value labels containing the distance measure used<br />

to create the matrix and either SIMILARITY or DISSIMILARITY as an identifier. Variable<br />

VARNAME_ is a short string variable whose values are the names of the new variables.<br />

Variable CASENO_ is a numeric variable with values equal to the original case numbers.<br />

• The matrix file includes the string variable named on the ID subcommand. This variable<br />

is used to identify cases. Up to 20 characters can be displayed for the identifier variable;<br />

longer values are truncated. The identifier variable is present only when VIEW=CASE (the<br />

default) and when the ID subcommand is used.<br />

• The remaining variables in the matrix file are the variables used to form the matrix.<br />

• When split-file processing is in effect, the first variables in the matrix system file are the<br />

split variables, followed by ROWTYPE_, the case-identifier variable (if VIEW=CASE and<br />

ID are used), VARNAME_, and the variables that make up the matrix.<br />

• A full set of matrix materials is written for each split-file group defined by the split variables.<br />

• A split variable cannot have the same name as any other variable written to the matrix<br />

data file.<br />

• If split-file processing is in effect when a matrix is written, the same split file must be in<br />

effect when that matrix is read by any procedure.<br />

PROXIMITIES V1 TO V20<br />

/MATRIX=OUT(DISTOUT).<br />

• PROXIMITIES produces a default Euclidean distance matrix for cases using variables V1<br />

through V20 and saves the matrix in the SPSS-format file DISTOUT.<br />

• The names of the variables on the matrix file will be VAR1, VAR2, ...VARn.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!