pub fn shapiro_py(
py: Python<'_>,
data: &Bound<'_, PyArray1<f64>>,
) -> PyResult<Py<PyAny>>Expand description
Shapiro-Wilk test for normality
Tests the null hypothesis that the data was drawn from a normal distribution.
Parameters:
- data: Input data array
Returns:
- Dict with ‘statistic’ (W statistic) and ‘pvalue’