Scipy.stats. Chatterjeexi
3 days ago
- #scipy
- #correlation
- #statistics
- The xi correlation coefficient measures association between variables, effective even when the association is not monotonic.
- Parameters include x and y arrays, axis specification, method for p-value calculation, y_continuous assumption, nan handling policy, and keepdims option.
- Returns a SignificanceResult object with statistic (xi correlation) and pvalue (probability under null hypothesis of independence).
- Notes highlight handling of ties in x and asymmetry in x and y by design.
- Supports Array API Standard for various backends like NumPy, CuPy, PyTorch, JAX, and Dask.
- Examples demonstrate usage with perfectly correlated data, noise introduction, and handling ties in x.