Jonckheere-Terpstra test on trend
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
Citation pour cette source
Giuseppe Cardillo (2024). Jonckheere-Terpstra test on trend (https://github.com/dnafinder/jttrend), GitHub. Récupéré le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
Les versions qui utilisent la branche GitHub par défaut ne peuvent pas être téléchargées
Version | Publié le | Notes de version | |
---|---|---|---|
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 |