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.

1354 REGRESSION<br />

• The DEPENDENT subcommand can be specified only once and must be followed immediately<br />

by one or more METHOD subcommands.<br />

• CRITERIA, STATISTICS, and ORIGIN must be specified before DEPENDENT and METHOD.<br />

If any of these subcommands are specified more than once, only the last specified is in<br />

effect for all subsequent equations.<br />

• More than one variable can be specified on the DEPENDENT subcommand. An equation<br />

is estimated for each.<br />

• If no variables are specified on METHOD, all variables named on VARIABLES but not on<br />

DEPENDENT are considered for selection.<br />

Operations<br />

Example<br />

• REGRESSION calculates a correlation matrix that includes all variables named on<br />

VARIABLES. All equations requested on the REGRESSION command are calculated<br />

from the same correlation matrix.<br />

• The MISSING, DESCRIPTIVES, and SELECT subcommands control the calculation of the<br />

correlation matrix and associated displays.<br />

• If multiple METHOD subcommands are specified, they operate in sequence on the equations<br />

defined by the preceding DEPENDENT subcommand.<br />

• Only independent variables that pass the tolerance criterion are candidates for entry into<br />

the equation (see the CRITERIA subcommand on p. 1359).<br />

REGRESSION VARIABLES=POP15,POP75,INCOME,GROWTH,SAVINGS<br />

/DEPENDENT=SAVINGS<br />

/METHOD=ENTER POP15,POP75,INCOME<br />

/METHOD=ENTER GROWTH.<br />

• VARIABLES calculates a correlation matrix of five variables for use by REGRESSION.<br />

• DEPENDENT defines a single equation, with SAVINGS as the dependent variable.<br />

• The first METHOD subcommand enters POP15, POP75, and INCOME into the equation.<br />

• The second METHOD subcommand adds GROWTH to the equation containing POP15 to<br />

INCOME.<br />

VARIABLES Subcommand<br />

VARIABLES names all the variables to be used in the analysis.<br />

• The minimum specification is a list of two variables or the keyword ALL or COLLECT.<br />

COLLECT, which must be specified in parentheses, is the default.<br />

• Only one VARIABLES subcommand is allowed and it must precede any DEPENDENT or<br />

METHOD subcommands.<br />

• You can use keyword TO to refer to consecutive variables in the working data file.

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

Saved successfully!

Ooh no, something went wrong!