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.

CATPCA 201<br />

The keyword TO in a variable list can only be used with variables that are in the ANALYSIS<br />

subcommand, and TO applies only to the order of the variables in the ANALYSIS<br />

subcommand. For variables that are in the VARIABLES subcommand but not in the ANALYSIS<br />

subcommand, the keyword TO cannot be used. For example, if /VARIABLES = v1 TO<br />

v5 and /ANALYSIS = v2 v1 v4, then /PLOT OBJECT(v1 TO v4) will give two<br />

object plots, one labeled with v1 and one labeled with v4.<br />

PLOT Subcommand<br />

The PLOT subcommand controls the display of plots. The default keywords are OBJECT and<br />

LOADING. That is, the two keywords are in effect when the PLOT subcommand is omitted or<br />

when the PLOT subcommand is given without any keyword. If a keyword is duplicated (for<br />

example, /PLOT = RESID RESID), then only the last one is effective. If the keyword NONE is<br />

used together with other keywords (for example, /PLOT = RESID NONE LOADING), then only<br />

the keywords following NONE are effective. That is, when keywords contradict, the later one<br />

overwrites the earlier ones.<br />

• All the variables to be plotted must be specified on the ANALYSIS subcommand.<br />

• If the variable list following the keywords CATEGORIES, TRANS, RESID, and PROJCENTR<br />

is empty, it will cause a syntax error, and the procedure will terminate.<br />

• The variables in the variable list for labeling the object point following OBJECT, BIPLOT,<br />

and TRIPLOT must be specified on the VARIABLES subcommand but need not appear on<br />

the ANALYSIS subcommand. This means that variables not included in the analysis can<br />

still be used to label plots.<br />

• The keyword TO in a variable list can only be used with variables that are in the ANALYSIS<br />

subcommand, and TO applies only to the order of the variables in the ANALYSIS subcommand.<br />

For variables that are in the VARIABLES subcommand but not in the ANALYSIS subcommand,<br />

the keyword TO cannot be used. For example, if /VARIABLES = v1 TO v5<br />

and /ANALYSIS = v2 v1 v4, then /PLOT OBJECT(v1 TO v4) will give two<br />

object plots, one labeled with v1 and one labeled with v4.<br />

• For a one-dimensional solution, only unidimensional plots (transformation plot, residuals<br />

plot, and plot of projected centroids) are produced.<br />

• For multidimensional plots, all of the dimensions specified on the DIMENSION subcommand<br />

are produced in a matrix scatterplot if the specified number of dimensions is greater<br />

than two; if the specified number of dimensions is two, a scatterplot is produced.<br />

The following keywords can be specified:<br />

OBJECT (varlist)(n) Plots of the object points. Following the keyword, a list of variables in<br />

parentheses can be given to indicate that plots of object points labeled<br />

with the categories of the variables should be produced (one plot for<br />

each variable). If the variable list is omitted, a plot labeled with case<br />

numbers is produced.

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

Saved successfully!

Ooh no, something went wrong!