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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

RNAMES Keyword<br />

MATRIX—END MATRIX 937<br />

RNAMES allows you to supply the name of a vector or a vector expression containing row<br />

labels for the matrix.<br />

• Either a row vector or a column vector can be used, but the vector must contain string data.<br />

• If too many names are supplied, the extras are ignored. If not enough names are supplied,<br />

the last rows remain unlabeled.<br />

CLABELS Keyword<br />

CLABELS allows you to supply column labels for the matrix.<br />

• The labels must be separated by commas.<br />

• Enclose individual labels in quotation marks or apostrophes if they contain imbedded<br />

commas or if you want to preserve lowercase letters. Otherwise, quotation marks or apostrophes<br />

are optional.<br />

• If too many names are supplied, the extras are ignored. If not enough names are supplied,<br />

the last columns remain unlabeled.<br />

CNAMES Keyword<br />

CNAMES allows you to supply the name of a vector or a vector expression containing column<br />

labels for the matrix.<br />

• Either a row vector or a column vector can be used, but the vector must contain string data.<br />

• If too many names are supplied, the extras are ignored. If not enough names are supplied,<br />

the last columns remain unlabeled.<br />

Scaling Factor in Displays<br />

When a matrix contains very large or very small numbers, it may be necessary to use scientific<br />

notation to display the data. If you do not specify a display format, the matrix processor<br />

chooses a power-of-10 multiplier that will allow the largest value to be displayed, and it displays<br />

this multiplier on a heading line before the data. The multiplier is not displayed for each<br />

element in the matrix. The displayed values, multiplied by the power of 10 that is indicated<br />

in the heading, equal the actual values (possibly rounded).<br />

• Values that are very small, relative to the multiplier, are displayed as 0.<br />

• If you explicitly specify a scientific-notation format (Ew.d), each matrix element is<br />

displayed using that format. This permits you to display very large and very small numbers<br />

in the same matrix without losing precision.<br />

Example<br />

COMPUTE M = {.0000000001357, 2.468, 3690000000}.<br />

PRINT M /TITLE "Default format".<br />

PRINT M /FORMAT "E13" /TITLE "Explicit exponential format".

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

Saved successfully!

Ooh no, something went wrong!