Menu location: Analysis_Nonparametric_Cuzick Trend Test.
This function provides a Wilcoxon-type test for trend across a group of three or more independent random samples.
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 Ri is the sum of the pooled ranks for the ith group, li is the sum of scores for the ith group, ni 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.
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 rank-sum / Mann-Whitney test between more than two groups of data (Cuzick, 1985).
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|
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.