Skip to content
EvalSuite
Documentation menu

Effect sizes

Hedges' g

Implementedeffect-size.hedges_g

Definition

Cohen's d with a small-sample bias correction.

Formula

g = d · (1 − 3 / (4(n₁ + n₂) − 9))

Inputs and outputs

  • sample a
  • sample b

Returns: EffectSizeResult

Assumptions

No assumptions beyond valid, aligned inputs of the documented types.

Limitations

No metric-specific limitations are documented yet. Interpret the value alongside the task, data, and other metrics.

Python API

PythonSince v0.1.0
import evalsuite as es

es.hedges_g(scores_a, scores_b)

References

  1. Hedges, L. V. (1981). Distribution theory for Glass's estimator of effect size and related estimators. Journal of Educational Statistics, 6(2), 107–128.

Implementation status