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.

RUNS Subcommand<br />

<strong>Syntax</strong><br />

Operations<br />

Example<br />

NPAR TESTS RUNS({MEAN })=varlist<br />

{MEDIAN}<br />

{MODE }<br />

{value }<br />

NPAR TESTS 1097<br />

RUNS tests whether the sequence of values of a dichotomized variable is random. The output<br />

includes a Run Test table showing the test value (cut point used to dichotomize the variable<br />

tested), number of runs, number of cases below the cut point, number of cases greater than or<br />

equal to the cut point, and test statistic Z with its two-tailed probability for each variable.<br />

• The minimum specification is a cut point in parentheses followed by a test variable.<br />

• The cut point can be specified by an exact value or one of the keywords MEAN, MEDIAN,<br />

or MODE.<br />

• All variables tested are treated as dichotomous: cases with values less than the cut point<br />

form one category, and cases with values greater than or equal to the cut point form the<br />

other category.<br />

• Test statistics are calculated for each variable specified.<br />

NPAR TESTS RUNS(MEDIAN)=V2 /RUNS(24.5)=V2 /RUNS(1)=V3.<br />

• This example performs three runs tests. The first tests variable V2 using the median as the<br />

cut point. The second also tests V2, this time using 24.5 as the cut point. The third tests<br />

variable V3 with value 1 specified as the cut point.<br />

SIGN Subcommand<br />

<strong>Syntax</strong><br />

NPAR TESTS SIGN=varlist [WITH varlist [(PAIRED)] ]<br />

SIGN tests whether the distribution of two paired variables in a two-related-samples test is the<br />

same. The output includes a Frequency table showing for each pair the number of positive<br />

differences, number of negative differences, number of ties, and the total number and a Test<br />

Statistics table showing the Z statistic and two-tailed probability.<br />

• The minimum specification is a list of two variables.<br />

• Variables should be at least at the ordinal level of measurement.

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

Saved successfully!

Ooh no, something went wrong!