Skip to content

K Independent Samples Tests

Compares three or more groups without assuming normality: Kruskal-Wallis H (default), the median test and Jonckheere-Terpstra (for ordered groups).

  • Instead of one-way ANOVA for ordinal outcomes or clearly non-normal data.
  • Jonckheere-Terpstra when the groups have a natural order and you expect a trend.
  • Independent observations; similarly shaped distributions if you want to talk about medians.
  • Ranks: mean rank per group.
  • Test Statistics: H (chi-square), df and significance. A significant result says at least one group differs; follow up with pairwise Mann-Whitney tests and a Bonferroni correction.

Income differed across regions, H(3) = 12.7, p = .005.

Syntax: NPAR TESTS /K-W=income BY region(1 4).


This page comes from OrcStat’s built-in help (the same text as in the app’s Help panel). To suggest a change, open an issue.