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.

VARIABLES Subcommand<br />

PARTIAL CORR 1193<br />

VARIABLES requires a correlation list of one or more pairs of variables for which partial<br />

correlations are desired and a control list of one or more variables that will be used as<br />

controls for the variables in the correlation list, followed by optional order values in<br />

parentheses.<br />

• The correlation list specifies pairs of variables to be correlated while controlling for the<br />

variables in the control list.<br />

• To request a square or lower-triangular matrix, do not use keyword WITH in the correlation<br />

list. This obtains the partial correlation of every variable with every other variable in<br />

the list.<br />

• To request a rectangular matrix, specify a list of correlation variables followed by<br />

keyword WITH and a second list of variables. This obtains the partial correlation of<br />

specific variable pairs. The first variable list defines the rows of the matrix and the second<br />

list defines the columns.<br />

• The control list is specified after keyword BY.<br />

• The correlation between a pair of variables is referred to as a zero-order correlation.<br />

Controlling for one variable produces a first-order partial correlation, controlling for two<br />

variables produces a second-order partial, and so on.<br />

• You can specify order values in parentheses following the control list to indicate the exact<br />

partials to be computed. These values also determine the partial correlation matrix or<br />

matrices to be printed. Up to five order values can be specified. Separate each value with<br />

at least one space or comma. The default order value is the number of control variables.<br />

• One partial is produced for every unique combination of control variables for each order<br />

value.<br />

• To specify multiple analyses, use multiple VARIABLES subcommands or a slash to separate<br />

each set of specifications on one VARIABLES subcommand. PARTIAL CORR computes<br />

the zero-order correlation matrix for each analysis list separately.<br />

Example<br />

PARTIAL CORR RENT FOOD PUBTRANS WITH TEACHER MANAGER BY NETSALRY(1).<br />

• PARTIAL CORR produces a rectangular matrix. Variables RENT, FOOD, and PUBTRANS<br />

form the matrix rows, and variables TEACHER and MANAGER form the columns.<br />

• Keyword VARIABLES is omitted. This is allowed because the variable list is the first specification<br />

on PARTIAL CORR.<br />

Example<br />

PARTIAL CORR RENT WITH TEACHER BY NETSALRY, NETPRICE (1).<br />

PARTIAL CORR RENT WITH TEACHER BY NETSALRY, NETPRICE (2).<br />

PARTIAL CORR RENT WITH TEACHER BY NETSALRY, NETPRICE (1,2).<br />

PARTIAL CORR RENT FOOD PUBTRANS BY NETSALRY NETPURSE NETPRICE<br />

(1,3).<br />

• The first PARTIAL CORR produces two first-order partials: RENT with TEACHER controlling<br />

for NETSALRY, and RENT with TEACHER controlling for NETPRICE.

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

Saved successfully!

Ooh no, something went wrong!