Nonparametric Statistics Notes - Wald-Wolfowitz Runs Test
The Wald-Wolfowitz runs test is a nonparametric alternative to the t-test for independent samples. The procedure expects the data to be arranged in the same way as for the t-test for independent samples (Basic Statistics). Specifically, the data file should contain a coding variable (independent variable) with at least two distinct codes that uniquely identify the group membership of each case in the data file. Select Comparing two independent samples (groups) from the Nonparametric Statistics Startup Panel - Quick tab to display the Comparing Two Groups dialog, in which you select the coding variable and a dependent variable list (variables in which the two groups are to be compared), and the codes used in the coding variable for identifying the two groups.
Siegel (1956) recommends a continuity correction when the combined sample sizes is not very large. This adjusted z-score, along with its adjusted p-value, is given on the Wald-Wolfowitz Runs Test Results spreadsheet.
See Comparing Two Groups - Quick tab for further details.