Jonckheere-Terpstra test on trend

A nonparametric Test for Trend
2.8K Downloads
Updated 30 Mar 2018

Perform the Jonckheere-Terpstra test on trend.
There are situations in which treatments are ordered in some way, for example the increasing dosages of a drug. In these cases a test with the more specific alternative hypothesis that the population medians are ordered in a particular direction may be required. For example, the alternative hypothesis could be as follows: population median1 <= population median2 <= population median3. This is a one-tail test, and reversing the inequalities gives an analagous test in the opposite tail. Here, the Jonckheere-Terpstra test can be used. Bewick V., Cheek L., Ball J. Statistics review 10: further nonparametric methods. Critical Care 2004, 8: 196-199
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.

Created by Giuseppe Cardillo
giuseppe.cardillo-edta@poste.it

To cite this file, this would be an appropriate format: Cardillo G. (2008) Jonckheere-Terpstra test: A nonparametric Test for Trend http://www.mathworks.com/matlabcentral/fileexchange/22159

Cite As

Giuseppe Cardillo (2024). Jonckheere-Terpstra test on trend (https://github.com/dnafinder/jttrend), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2014b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Biotech and Pharmaceutical in Help Center and MATLAB Answers

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
2.0.0.0

inputparser; table implementation; github link

1.3.0.0

Changes in description

1.2.0.0

correction in input error handling typo error

1.1.0.0

Changes in help section

1.0.0.0

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.