mannWhitneyU
constmannWhitneyU: (sample1,sample2,options) =>any=mannWhitneyUFn
Defined in: ds/src/stats/index.js:56
Mann-Whitney U test (Wilcoxon rank-sum test) Non-parametric alternative to two-sample t-test
Parameters
sample1
number[]
First sample
sample2
number[]
Second sample
options?
any = {}
{alternative: ‘two-sided’|‘less’|‘greater’}
Returns
any
{statistic (U), pValue, alternative}