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.

734 <strong>Syntax</strong> <strong>Reference</strong><br />

will be produced for dimension 1 versus dimension 2, dimension 2 versus dimension 3,<br />

and dimension 1 versus dimension 3.<br />

SAVE Subcommand<br />

SAVE lets you add variables containing the object scores computed by HOMALS to the working<br />

data file.<br />

• If SAVE is not specified, object scores are not added to the working data file.<br />

• A variable rootname can be specified on the SAVE subcommand to which HOMALS adds<br />

the number of the dimension. Only one rootname can be specified and it can contain up<br />

to six characters.<br />

• If a rootname is not specified, unique variable names are automatically generated. The<br />

variable names are HOMn_m, where n is a dimension number and m is a set number. If<br />

three dimensions are saved, the first set of names is HOM1_1, HOM2_1, and HOM3_1. If<br />

another HOMALS is then run, the variable names for the second set are HOM1_2, HOM2_2,<br />

HOM3_2, and so on.<br />

• Following the rootname, the number of dimensions for which you want to save object<br />

scores can be specified in parentheses. The number cannot exceed the value on the<br />

DIMENSION subcommand.<br />

• If the number of dimensions is not specified, the SAVE subcommand saves object scores<br />

for all dimensions.<br />

• If you replace the working data file by specifying an asterisk (*) on a MATRIX subcommand,<br />

the SAVE subcommand is not executed.<br />

Example<br />

HOMALS CAR1 CAR2 CAR3 CAR4(5)<br />

/DIMENSION=3<br />

/SAVE=DIM(2).<br />

• Four variables, each with five categories, are analyzed.<br />

• The DIMENSION subcommand specifies that results for three dimensions will be computed.<br />

• SAVE adds the object scores from the first two dimensions to the working data file. The<br />

names of these new variables will be DIM00001 and DIM00002, respectively.<br />

MATRIX Subcommand<br />

The MATRIX subcommand is used to write category quantifications to a matrix data file.<br />

• The specification on MATRIX is keyword OUT and a file enclosed in parentheses.<br />

• You can specify the file with either an asterisk (*) to indicate that the working data file is<br />

to be replaced or with the name of an external file.<br />

• The matrix data file has one case for each value of each original variable.<br />

The variables of the matrix data file and their values are:<br />

ROWTYPE_ String variable containing value QUANT for all cases.

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

Saved successfully!

Ooh no, something went wrong!