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.

952 MATRIX—END MATRIX<br />

Valid keywords on the TYPE specification are:<br />

COV A matrix of covariances.<br />

CORR A matrix of correlation coefficients.<br />

MEAN A vector of means.<br />

STDDEV A vector of standard deviations.<br />

N A vector of numbers of cases.<br />

COUNT A vector of counts.<br />

Names of Matrix Variables from MGET<br />

• The MGET statement automatically creates matrix variable names for the matrices it reads.<br />

• All new variables created by MGET are reported to the user.<br />

• If a matrix variable already exists with the same name that MGET chose for a new variable,<br />

the new variable is not created and a warning is issued. The RELEASE statement can be used<br />

to get rid of a variable. A COMPUTE statement followed by RELEASE can be used to change<br />

the name of an existing matrix variable.<br />

MGET constructs variable names in the following manner:<br />

• The first two characters of the name identify the row type. If there are no cells and no split<br />

file groups, these two characters constitute the name:<br />

CV A covariance matrix (rowtype COV)<br />

CR A correlation matrix (rowtype CORR)<br />

MN A vector of means (rowtype MEAN)<br />

SD A vector of standard deviations (rowtype STDDEV)<br />

NC A vector of numbers of cases (rowtype N)<br />

CN A vector of counts (rowtype COUNT)<br />

• Characters 3–5 of the variable name identify the cell number or the split-group number. Cell<br />

identifiers consist of the letter F and a two-digit cell number. Split-group identifiers consist<br />

of the letter S and a two-digit split-group number; for example, MNF12 or SDS22.<br />

• If there are both cells and split groups, characters 3–5 identify the cell and characters 6–8<br />

identify the split group. The same convention for cell or split-file numbers is used—for<br />

example, CRF12S21.<br />

• After the name is constructed as described above, any leading zeros are removed from the<br />

cell number and the split-group number—for example, CNF2S99 or CVF2S1.

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

Saved successfully!

Ooh no, something went wrong!