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.

Options<br />

MATRIX DATA 959<br />

• ROWTYPE_. This is a string variable with A8 format. Its values define the data type for each<br />

record. For example, it might identify a row of values as means, standard deviations, or correlation<br />

coefficients. Every SPSS-format matrix data file has a ROWTYPE_ variable.<br />

• Factor variables. There can be any number of factors. They occur only if the data include<br />

within-cells information, such as the within-cells means. Factors have the system-missing<br />

value on records that define pooled information. Factor variables appear in the order in<br />

which they are specified on the FACTORS subcommand.<br />

• VARNAME_. This is a string variable with A8 format. MATRIX DATA automatically generates<br />

VARNAME_ and its values based on the variables named on VARIABLES. You never<br />

enter values for VARNAME_. Values for VARNAME_ are blank for records that define vector<br />

information. Every matrix in the program has a VARNAME_ variable.<br />

• Continuous variables. These are the variables that were used to generate the correlation<br />

coefficients or other aggregated data. There can be any number of them. Continuous<br />

variables appear in the order in which they are specified on VARIABLES.<br />

Data Files. You can define both inline data and data in an external file.<br />

Data Format. By default, data are assumed to be entered in freefield format with each vector<br />

or row beginning on a new record (the keyword LIST on the FORMAT subcommand). If each<br />

vector or row does not begin on a new record, use the keyword FREE. You can also use FOR-<br />

MAT to indicate whether matrices are entered in upper or lower triangular or full square or<br />

rectangular format, and whether or not they include diagonal values.<br />

Variable Types. You can specify split-file and factor variables using the SPLIT and FACTORS<br />

subcommands. You can identify record types by specifying ROWTYPE_ on the VARIABLES<br />

subcommand if ROWTYPE_ values are included in the data, or by implying ROWTYPE_ values<br />

on CONTENTS.<br />

Basic Specification<br />

The basic specification is VARIABLES and a list of variables. Additional specifications are<br />

required as follows:<br />

• FILE is required to specify the data file if the data are not inline.<br />

• If data are in any format other than lower-triangular with diagonal values included, FORMAT<br />

is required.<br />

• If the data contain values in addition to matrix coefficients, such as the mean and standard<br />

deviation, either variable ROWTYPE_ must be specified on VARIABLES and ROWTYPE_<br />

values must be included in the data, or CONTENTS must be used to describe the data.<br />

• If the data include split-file variables, SPLIT is required. If there are factors, FACTORS is<br />

required.<br />

Specifications on most MATRIX DATA subcommands depend on whether ROWTYPE_ is included<br />

in the data and specified on VARIABLES, or whether it is implied using CONTENTS.

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

Saved successfully!

Ooh no, something went wrong!