nispace.stats.effectsize.hedges_nan

nispace.stats.effectsize.hedges_nan(a, b)[source]

NaN-aware Hedges’ g for independent groups (see hedges).

Parameters:
  • a (array_like, shape (n_obs_a, n_features) / (n_obs_b, n_features)) – Same convention as cohen_nan. NaN entries excluded per-column.

  • b (array_like, shape (n_obs_a, n_features) / (n_obs_b, n_features)) – Same convention as cohen_nan. NaN entries excluded per-column.

Returns:

g

Return type:

np.ndarray, shape (n_features,)

Notes

Not called anywhere in NiSpace’s internal pipeline: Y_transform= “hedges(a,b)” dispatches to the numba-jitted hedges_nan_fast (core/transform_y.py), not this function.

References

[39]; [40].