Mann-Whitney U Test
stats_mann_whitneyPerform a Mann-Whitney U test on two independent groups to assess whether their underlying distributions differ significantly.
Instructions
Run a Mann-Whitney U test on two independent groups.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| group_a | Yes | First group of numeric observations (at least 2 values). | |
| group_b | Yes | Second group of numeric observations (at least 2 values). | |
| alternative | No | Alternative hypothesis: 'two-sided', 'less', or 'greater'. | two-sided |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n_a | Yes | Size of the first group. | |
| n_b | Yes | Size of the second group. | |
| method | Yes | How the p-value was computed: 'exact' when both groups have n <= 8 and there are no ties, else 'asymptotic'. | |
| p_value | Yes | p-value. | |
| statistic | Yes | The Mann-Whitney U statistic (for the first group). | |
| alternative | Yes | Alternative hypothesis tested. |