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.

956 MATRIX—END MATRIX<br />

FNAMES Specification<br />

To write an SPSS matrix-format data file with factor or group codes, you can use the<br />

FNAMES specification to provide variable names for the grouping or factor variables.<br />

• The variable list following the keyword FNAMES is a list of valid SPSS variable names,<br />

separated by commas.<br />

• If you omit the FNAMES specification, the default names FAC1, FAC2,..., etc., are used.<br />

SPLIT Specification<br />

To write an SPSS matrix-format data file with split-file groups, you must use the SPLIT specification<br />

to provide a row matrix containing the values of each of the split-file variables for<br />

the matrix expression being written by the current MSAVE statement.<br />

• The split vector must have the same number of columns as there are split-file variables in<br />

the matrix data file being written. You can use a scalar when there is only one split-file variable.<br />

For example, SPLIT=3 indicates that the matrix data being written are for the value<br />

3 of the split-file variable.<br />

• The values of the split vector are written to the matrix-format data file as values of the splitfile<br />

variable(s).<br />

• To create a complete matrix-format data file with split-file variables, you must execute<br />

MSAVE statements for every combination of values of the split-file variables. (If factor variables<br />

are present, you must execute MSAVE statements for every combination of factor<br />

codes within every combination of values of the split-file variables.)<br />

SNAMES Specification<br />

To write an SPSS matrix-format data file with split-file groups, you can use the SNAMES<br />

specification to provide variable names for the split-file variables.<br />

• The variable list following the keyword SNAMES is a list of valid SPSS variable names<br />

separated by commas.<br />

• If you omit the SNAMES specification, the default names SPL1, SPL2,..., etc., are used.<br />

DISPLAY Statement<br />

DISPLAY provides information on the matrix variables currently defined in a matrix program<br />

and on usage of internal memory by the matrix processor. Two keywords are available on<br />

DISPLAY:<br />

DICTIONARY Display variable name and row and column dimensions for each matrix<br />

variable currently defined.<br />

STATUS Display the status and size of internal tables. This display is intended as a<br />

debugging aid when writing large matrix programs that approach the memory<br />

limitations of your system.<br />

If you enter the DISPLAY statement with no specifications, both DICTIONARY and STATUS<br />

information is displayed.

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

Saved successfully!

Ooh no, something went wrong!