public static TestResult MannWhitneyTest(
IReadOnlyList<double> a,
IReadOnlyList<double> b
)
Public Shared Function MannWhitneyTest (
a As IReadOnlyList(Of Double),
b As IReadOnlyList(Of Double)
) As TestResult
public:
static TestResult^ MannWhitneyTest(
IReadOnlyList<double>^ a,
IReadOnlyList<double>^ b
)
static member MannWhitneyTest :
a : IReadOnlyList<float> *
b : IReadOnlyList<float> -> TestResult
The Mann-Whitney test is a non-parametric alternative to Student's t-test (StudentTTest(IReadOnlyCollectionDouble, IReadOnlyCollectionDouble)). Essentially, it supposes that the medians of the two samples are equal and tests the likelihood of this null hypothesis. Unlike the t-test, it does not assume that the sample distributions are normal.
ArgumentNullException | a or b is . |
InsufficientDataException | a or b contains fewer than two values. |