Cuzick's test for trend

A Wilcoxon-Type Test for Trend
Updated 30 Mar 2018

Perform the Cuzick's test on trend.
This function provides a Wilcoxon-type 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 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. 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 J. A Wilcoxon-Type Test for Trend. Statistics in Medicine 1985;4:87-89.

Created by Giuseppe Cardillo

To cite this file, this would be an appropriate format: Cardillo G. (2008) Cuzick's test: A Wilcoxon-Type Test for Trend

Cite As

Giuseppe Cardillo (2024). Cuzick's test for trend (, GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2014b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Versions that use the GitHub default branch cannot be downloaded

Version Published Release Notes

inputparser; table implementation; github link

Changes in description

Statistics Toolbox is required

logical indexinf improved

Changes ih help section

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.