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.

1078 NONPAR CORR<br />

Example<br />

NONPAR CORR VARS=PRESTIGE SPPRES PAPRES16 WITH DEGREE PADEG MADEG.<br />

• The three variables listed before WITH define the rows; the three variables listed after WITH<br />

define the columns of the correlation matrix.<br />

• Spearman’s rho is displayed by default.<br />

Example<br />

NONPAR CORR VARIABLES=SPPRES PAPRES16 PRESTIGE<br />

/SATCITY WITH SATHOBBY SATFAM.<br />

• NONPAR CORR produces two Correlations tables.<br />

• By default, Spearman’s rho is displayed.<br />

PRINT Subcommand<br />

By default, NONPAR CORR displays Spearman correlation coefficients. The significance<br />

level(s) are displayed below the coefficients. The significance level is based on a two-tailed<br />

test. Use PRINT to change these defaults.<br />

• The Spearman and Kendall coefficients are both based on ranks.<br />

SPEARMAN Spearman’s rho. Only Spearman coefficients are displayed. This is the default.<br />

KENDALL Kendall’s tau-b. Only Kendall coefficients are displayed.<br />

BOTH Kendall and Spearman coefficients. Both coefficients are displayed. If<br />

MATRIX is used to write the correlation matrix to a matrix data file, only<br />

Spearman coefficients are written with the matrix materials.<br />

SIG Display the significance level. This is the default.<br />

NOSIG Display the significance level in an annotation.<br />

TWOTAIL Two-tailed test of significance. This test is appropriate when the direction of<br />

the relationship cannot be determined in advance, as is often the case in<br />

exploratory data analysis. This is the default.<br />

ONETAIL One-tailed test of significance. This test is appropriate when the direction of<br />

the relationship between a pair of variables can be specified in advance of<br />

the analysis.<br />

SAMPLE Subcommand<br />

NONPAR CORR must store cases in memory to build matrices. SAMPLE selects a random<br />

sample of cases when computer resources are insufficient to store all the cases. To request a<br />

random sample, simply specify the subcommand. SAMPLE has no additional specifications.

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

Saved successfully!

Ooh no, something went wrong!