mannWhitneyUTest#

swordfish.function.mannWhitneyUTest()#

Perform the Mann-Whitney U test on X and Y.

Parameters:
  • X (Constant) – A numeric vector.

  • Y (Constant) – A numeric vector.

  • correct (Constant) – A Boolean value indicating whether to consider continuity correction when calculating the p-value. The default value is true.

Returns:

A dictionary object with the following keys:

  • stat: A table containing p-values under three different alternative hypotheses

  • correct: Whether to consider continuity correction when calculating p-value

  • method: The string “Mann-Whitney U test”

  • U: U statistic

Return type:

Constant