pub fn mannwhitneyu_py(
py: Python<'_>,
x: &Bound<'_, PyArray1<f64>>,
y: &Bound<'_, PyArray1<f64>>,
alternative: &str,
use_continuity: bool,
) -> PyResult<Py<PyAny>>Expand description
Mann-Whitney U test for independent samples.
Parameters:
- x: First array of observations
- y: Second array of observations
- alternative: Alternative hypothesis: “two-sided” (default), “less”, or “greater”
- use_continuity: Whether to apply continuity correction (default: True)
Returns:
- Dict with ‘statistic’, ‘pvalue’