WMWssp - Wilcoxon-Mann-Whitney Sample Size Planning
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.
Last updated
nonparametric-statisticoptimal-designsample-size-calculationwilcoxon-mann-whitney-test
3.48 score 3 stars 9 scripts 210 downloadspseudorank - Pseudo-Ranks
Efficient calculation of pseudo-ranks and (pseudo)-rank based test statistics. In case of equal sample sizes, pseudo-ranks and mid-ranks are equal. When used for inference mid-ranks may lead to paradoxical results. Pseudo-ranks are in general not affected by such a problem. See Happ et al. (2020, <doi:10.18637/jss.v095.c01>) for details.
Last updated
cppnonparametricnonparametric-statisticspseudo-rankpseudo-ranksrankrank-teststrend-testcpp
3.45 score 3 stars 19 scripts 212 downloads