Skip to content

WMWssp

Wilcoxon-Mann-Whitney Sample Size Planning

v0.5.3 · Feb 18, 2025 · GPL-3

Description

Calculates the minimal sample size for the Wilcoxon-Mann-Whitney test that is needed for a given power and two sided type I error rate. The method works for metric data with and without ties, count data, ordered categorical data, and even dichotomous data. But data is needed for the reference group to generate synthetic data for the treatment group based on a relevant effect. See Happ et al. (2019, <doi:10.1002/sim.7983>) for details.

Downloads

240

Last 30 days

18763rd

603

Last 90 days

2.5K

Last year

Trend: +17.7% (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

Version History

new 0.5.3 Mar 10, 2026
updated 0.5.3 ← 0.4.0 diff Feb 18, 2025
updated 0.4.0 ← 0.3.7 diff Jul 8, 2019
updated 0.3.7 ← 0.3.6 diff Mar 10, 2019
updated 0.3.6 ← 0.3.4 diff Mar 6, 2019
updated 0.3.4 ← 0.3.2 diff Jul 7, 2018
new 0.3.2 Feb 18, 2018