Cuzick's Test for Trend
Menu location: Analysis_Nonparametric_Cuzick Trend Test.
This function provides a Wilcoxontype test for trend across a group of three or more independent random samples.
Assumptions:

data must be at least ordinal

groups must be selected in a meaningful order i.e. ordered
If you do not choose to enter your own group scores then scores are allocated uniformly (1 ... n) in order of selection of the n groups.
The test statistic is calculated as follows:
 where R_{i} is the sum of the pooled ranks for the ith group, l_{i} is the sum of scores for the ith group, n_{i} is the sample size for the ith group and N is the total number of observations. For the null hypothesis of no trend across the groups T will have mean E(T), variance var(T) and the null hypothesis is tested using the normalised test statistic z.
Technical Validation
A logistic distribution is assumed for errors. Probabilities for z are derived from the standard normal distribution. Please note that this test is more powerful than the application of the Wilcoxon ranksum / MannWhitney test between more than two groups of data (Cuzick, 1985).
Example
From Cuzick (1985).
Test workbook (Nonparametric worksheet: CMT 64, CMT 167, CMT 170, CMT 175, CMT 181).
Mice were inoculated with cell lines, CMT 64 to 181, which had been selected for their increasing metastatic potential. The number of lung metastases found in each mouse after inoculation are quoted below:
CMT 64  CMT 167  CMT 170  CMT 175  CMT 181 
0  0  2  0  2 
0  0  3  3  4 
1  5  6  5  6 
1  7  9  6  6 
2  8  10  10  6 
2  11  11  19  7 
4  13  11  56  18 
9  23  12  100  39 
25  21  132  60  
97 
To analyse these data in StatsDirect you must first enter them in five workbook columns appropriately labelled. Alternatively, open the test workbook using the file open function of the file menu. Then select Cuzick's Trend Test from the Nonparametric section of the analysis menu. Select the columns marked "CMT 64", "CMT 167", "CMT 170", "CMT 175" and "CMT 181" when prompted for data. Click on "No" when you are prompted about group scores, this does not apply to most analyses provided you select the variables in the order you are studying them. With automatic group scoring you must be careful to select the variables in the order across which you want to look for trend.
For this example:
one sided p (corrected for ties) = 0.0172
With these data we are interested in a trend in one direction only, therefore, we can use a one sided test for trend. We have shown a statistically significant trend for increasing number of metastases across these malignant cell lines in this order.