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.

REGRESSION 1357<br />

variable can be used in more than one subset, and each subset can<br />

include any number of variables. Variables named on TEST remain in<br />

the equation when the method is completed.<br />

Example<br />

REGRESSION VARIABLES=POP15 TO GROWTH, SAVINGS<br />

/DEPENDENT=SAVINGS<br />

/METHOD=STEPWISE<br />

/METHOD=ENTER.<br />

• STEPWISE applies the stepwise procedure to variables POP15 to GROWTH.<br />

• All variables not in the equation when the STEPWISE method is completed will be forced<br />

into the equation with ENTER.<br />

Example<br />

REGRESSION VARIABLES=(COLLECT)<br />

/DEPENDENT=SAVINGS<br />

/METHOD=TEST(MEASURE3 TO MEASURE9)(MEASURE3,INCOME)<br />

/METHOD=ENTER GROWTH.<br />

• The VARIABLES=(COLLECT) specification assembles a correlation matrix that includes all<br />

variables named on the DEPENDENT and METHOD subcommands.<br />

• REGRESSION first builds the full equation of all the variables named on the first METHOD<br />

subcommand: SAVINGS regressed on MEASURE3 to MEASURE9 and INCOME. For each<br />

set of test variables (MEASURE3 to MEASURE9, and MEASURE3 and INCOME), the R2 change, F, probability, sums of squares, and degrees of freedom are displayed.<br />

• GROWTH is added to the equation by the second METHOD subcommand. Variables<br />

MEASURE3 to MEASURE9 and INCOME are still in the equation when this subcommand<br />

is executed.<br />

STATISTICS Subcommand<br />

STATISTICS controls the display of statistics for the equation and for the independent variables.<br />

• If STATISTICS is omitted or if it is specified without keywords, R, ANOVA, COEFF, and<br />

OUTS are displayed (see below).<br />

• If any statistics are specified on STATISTICS, only those statistics specifically requested<br />

are displayed.<br />

• STATISTICS must be specified before DEPENDENT and METHOD subcommands. The last<br />

specified STATISTICS affects all equations.<br />

Global Statistics<br />

DEFAULTS R, ANOVA, COEFF, and OUTS. These are displayed if STATISTICS is omitted<br />

or if it is specified without keywords.<br />

ALL All statistics except F.

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

Saved successfully!

Ooh no, something went wrong!