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.

204 <strong>Syntax</strong> <strong>Reference</strong><br />

SAVE Subcommand<br />

The SAVE subcommand is used to add the transformed variables (category indicators<br />

replaced with optimal quantifications), the object scores, and the approximation to the<br />

working data file. Excluded cases are represented by a dot (the system-missing symbol) on<br />

every saved variable.<br />

TRDATA Transformed variables. Missing values specified to be treated as passive are<br />

represented by a dot.<br />

OBJECT Object (component) scores.<br />

APPROX Approximation for variables that do not have optimal scaling level MNOM.<br />

• Following TRDATA, a rootname and the number of dimensions to be saved for variables<br />

specified as MNOM can be specified in parentheses.<br />

• For variables that are not specified as MNOM, CATPCA adds two numbers separated by the<br />

symbol _. For variables that are specified as MNOM, CATPCA adds three numbers. The<br />

first number uniquely identifies the source variable names and the last number uniquely<br />

identifies the CATPCA procedures with the successfully executed SAVE subcommands.<br />

For variables that are specified as MNOM, the middle number corresponds to the dimension<br />

number (see the next bullet for more details). Only one rootname can be specified,<br />

and it can contain up to five characters for variables that are not specified as MNOM and<br />

three characters for variables that are specified as MNOM (if more than one rootname is<br />

specified, the first rootname is used; if a rootname contains more than five/three characters,<br />

the first five/three characters are used at most).<br />

• If a rootname is not specified for TRDATA, rootname TRA is used to automatically generate<br />

unique variable names. The formulas are ROOTNAMEk_n and ROOTNAMEk_m_n, where<br />

k increments from 1 to identify the source variable names by using the source variables’<br />

position numbers in the ANALYSIS subcommand, m increments from 1 to identify the<br />

dimension number, and n increments from 1 to identify the CATPCA procedures with the<br />

successfully executed SAVE subcommands for a given data file in a continuous SPSS<br />

session. For example, with three variables specified on ANALYSIS, LEVEL = MNOM for the<br />

second variable, and two dimensions to save, the first set of default names, if they do not<br />

exist in the data file, would be TRA1_1, TRA2_1_1, TRA2_2_1, and TRA3_1. The next set<br />

of default names, if they do not exist in the data file, would be TRA1_2, TRA2_1_2,<br />

TRA2_2_2, and TRA3_2. However, if, for example, TRA1_2 already exists in the data file,<br />

then the default names should be attempted as TRA1_3, TRA2_1_3, TRA2_2_3, and<br />

TRA3_3. That is, the last number increments to the next available integer.<br />

• Following OBJECT, a rootname and the number of dimensions can be specified in<br />

parentheses to which CATPCA adds two numbers separated by the symbol _. The first<br />

number corresponds to the dimension number. The second number uniquely identifies the<br />

CATPCA procedures with the successfully executed SAVE subcommands (see the next<br />

bullet for more details). Only one rootname can be specified, and it can contain up to five<br />

characters (if more than one rootname is specified, the first rootname is used; if a<br />

rootname contains more than five characters, the first five characters are used at most).<br />

• If a rootname is not specified for OBJECT, rootname OBSCO is used to automatically<br />

generate unique variable names. The formula is ROOTNAMEm_n, where m increments<br />

from 1 to identify the dimension number and n increments from 1 to identify the CATPCA

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

Saved successfully!

Ooh no, something went wrong!