Skip to content

kSamples

K-Sample Rank Tests and their Combinations

v1.2-12 · Aug 26, 2025 · GPL (>= 2)

Description

Compares k samples using the Anderson-Darling test, Kruskal-Wallis type tests with different rank score criteria, Steel's multiple comparison test, and the Jonckheere-Terpstra (JT) test. It computes asymptotic, simulated or (limited) exact P-values, all valid under randomization, with or without ties, or conditionally under random sampling from populations, given the observed tie pattern. Except for Steel's test and the JT test it also combines these tests across several blocks of samples. Also analyzed are 2 x t contingency tables and their blocked combinations using the Kruskal-Wallis criterion. Steel's test is inverted to provide simultaneous confidence bounds for shift parameters. A plotting function compares tail probabilities obtained under asymptotic approximation with those obtained via simulation or exact calculations.

Downloads

15.1K

Last 30 days

1004th

45.8K

Last 90 days

206.6K

Last year

Trend: +3.4% (30d vs prior 30d)

CRAN Check Status

14 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Reverse Dependencies (12)

depends

suggests

Dependency Network

Dependencies Reverse dependencies SuppDists CryptRndTest EnviroPRA2 EvaluateCore LSDsensitivity MSCsimtester PMCMRplus WeibullFit cmstatr fda.usc ldamatch mxnorm mmcmcBayes kSamples

Version History

new 1.2-12 Mar 10, 2026
updated 1.2-12 ← 1.2-10 diff Aug 26, 2025
updated 1.2-10 ← 1.2-9 diff Oct 7, 2023
updated 1.2-9 ← 1.2-8 diff May 19, 2019
updated 1.2-8 ← 1.2-7 diff Jun 2, 2018
updated 1.2-7 ← 1.2-6 diff Aug 12, 2017
updated 1.2-6 ← 1.2-4 diff Jun 14, 2017
updated 1.2-4 ← 1.2-3 diff Jun 9, 2016
updated 1.2-3 ← 1.0.1 diff Feb 16, 2016
updated 1.0.1 ← 1.0 diff Feb 9, 2015
new 1.0 Aug 30, 2012