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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

REGRESSION 1363<br />

SIG Display one-tailed probabilities of the correlation coefficients in the Correlations<br />

table.<br />

BADCORR Display the correlation coefficients only if some coefficients cannot be<br />

computed.<br />

COV Display covariance in the Correlations table.<br />

XPROD Display sum of squares and cross-product deviations from the mean in the<br />

Correlations table.<br />

N Display numbers of cases used to compute correlation coefficients in the<br />

Correlations table.<br />

ALL All descriptive statistics.<br />

Example<br />

REGRESSION DESCRIPTIVES=DEFAULTS SIG COV<br />

/VARIABLES=AGE,FEMALE,YRS_JOB,STARTPAY,SALARY<br />

/DEPENDENT=SALARY<br />

/METHOD=ENTER STARTPAY<br />

/METHOD=ENTER YRS_JOB.<br />

• The variable means, standard deviations, and number of cases are displayed in the<br />

Descriptive Statistics table and the correlation coefficients, one-tailed probabilities of the<br />

correlation coefficients, and covariance are displayed in the Correlations table.<br />

• Statistics are displayed for all variables named on VARIABLES, even though only variables<br />

SALARY, STARTPAY, and YRS_JOB are used to build the equations.<br />

• STARTPAY is entered into the equation by the first METHOD subcommand. YRS_JOB is<br />

entered by the second METHOD subcommand.<br />

SELECT Subcommand<br />

By default, all cases in the working data file are considered for inclusion on REGRESSION.<br />

Use SELECT to include a subset of cases in the correlation matrix and resulting regression<br />

statistics.<br />

• The required specification on SELECT is a logical expression.<br />

• The syntax for the SELECT subcommand is as follows:<br />

/SELECT=varname relation value<br />

• The variable named on SELECT should not be specified on the VARIABLES subcommand.<br />

• The relation can be EQ, NE, LT, LE, GT, or GE.<br />

• Only cases for which the logical expression on SELECT is true are included in the calculation<br />

of the correlation matrix and regression statistics.<br />

• All other cases, including those with missing values for the variable named on SELECT,<br />

are not included in the computations.

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

Saved successfully!

Ooh no, something went wrong!