Jonckheere-Terpstra (ordered trend)
Coming soonNonparametric ANOVA
This test is implemented and is currently going through StatMinds’ production verification: every statistic is independently checked against a trusted reference (scipy / R), locked with regression tests, and the screen is exercised across assumption-met/violated and significant/non-significant scenarios before it opens up.
See what’s live nowOrdered-alternative nonparametric omnibus test for k ≥ 3 independent groups.
Tests whether there is a monotone trend (θ_1 ≤ θ_2 ≤ … ≤ θ_k, or ≥) in the specified group order. Computes J = Σ_{i<j} U_{ij} (sum of pairwise Mann-Whitney U statistics in the assumed direction) and refers Z = (J − E[J])/SE(J) to the standard normal. Reports J, Z, p, and the per-group medians with 95% CIs. Typically 10-30% more powerful than Kruskal-Wallis when the a-priori ordering is correct; no power against non-monotone (inverted-U) patterns.
Worked example
Do the groups increase in a predicted order?
The Jonckheere-Terpstra test detects an ordered (monotonic) trend across a-priori-ordered groups — more powerful than Kruskal-Wallis for a trend.
There was a significant increasing trend across dose groups, J-T z = 3.4, p < .001.
A Jonckheere-Terpstra test showed a significant monotonic increase across the ordered groups, z = 3.4, p < .001.
When to use it
- Dose-response or graded-intensity designA study compares anxiety reduction across four mindfulness training doses (0 hrs / 4 hrs / 8 hrs / 16 hrs).
- Ordered severity / staging in clinical researchCancer-stage analysis: serum biomarker measured in n = 200 patients across 4 stages.
When NOT to — use instead
- Unordered factorJT requires a meaningful a priori ordering. → Kruskal-Wallis H (non-parametric ANOVA)
- Two groups onlyJT is k ≥ 3. → Mann-Whitney U
- Binary outcome (not continuous / ordinal)JT is for continuous / ordinal DV. → Cochran-Armitage Trend Test
- Need to control for covariates
Hypotheses
Parameter tested: monotone trend in group central tendency
Assumptions (and what to do if they fail)
Check: Report total N and per-group n_j.
If violated: Small N makes the Z approximation unreliable.
Check: Report the largest tie block.
If violated: Heavy ties reduce power and may destabilise the variance estimate.
Ready to run a Jonckheere-Terpstra (ordered trend) on your own data?
Guided setup, automatic assumption checks, effect sizes, figures and an APA write-up.
Run this test →