Data. The variables must be numeric. To convert string variables to numeric variables, use the Automatic Recode procedure, which is available on the Transform menu.
Assumptions. Nonparametric tests do not require assumptions about the shape of the underlying distribution. Use samples from continuous probability distributions.
To Obtain a Runs Test
From the menus choose:
Analyze
Nonparametric Tests
Runs...
Select one or more numeric test variables.
Optionally, click Options for descriptive statistics, quartiles, and control of the treatment of missing data.
Example
NPAR TESTS RUNS(MEDIAN)=V2 /RUNS(24.5)=V2 /RUNS(1)=V3.
• This example performs three runs tests. The first tests variable V2 using the median as the
cut point. The second also tests V2, this time using 24.5 as the cut point. The third tests
variable V3 with value 1 specified as the cut point.
[此贴子已经被作者于2008-2-13 2:20:36编辑过]