SAVE Subcommand (HOMALS command)
SAVE
lets
you add variables containing the object scores computed by HOMALS
to the working data file.
- If
SAVE
is not specified, object scores are not added to the working data file. - A variable rootname can be specified on the
SAVE
subcommand to whichHOMALS
adds the number of the dimension. Only one rootname can be specified and it can contain up to six characters. - If a rootname is not specified, unique variable names
are automatically generated. The variable names are HOM n_m, where n is a dimension number
and m is a set number. If three
dimensions are saved, the first set of names is HOM1_1, HOM2_1, and HOM3_1. If another
HOMALS
is then run, the variable names for the second set are HOM1_2, HOM2_2, HOM3_2, and so on. - Following the rootname, the number of dimensions
for which you want to save object scores can be specified in parentheses.
The number cannot exceed the value on the
DIMENSION
subcommand. - If the number of dimensions is not specified, the
SAVE
subcommand saves object scores for all dimensions. - If you replace the working data file by specifying
an asterisk (*) on a
MATRIX
subcommand, theSAVE
subcommand is not executed.
Example
HOMALS CAR1 CAR2 CAR3 CAR4(5)
/DIMENSION=3
/SAVE=DIM(2).
- Four variables, each with five categories, are analyzed.
- The
DIMENSION
subcommand specifies that results for three dimensions will be computed. -
SAVE
adds the object scores from the first two dimensions to the working data file. The names of these new variables will be DIM00001 and DIM00002, respectively.