cohens_d
Calculate the standardized mean difference between two samples using pooled standard deviation. Returns effect size value with warnings when variance is zero.
Instructions
Standardized mean difference between two samples (pooled SD). Rough guidance: ~0.2 small, ~0.5 medium, ~0.8 large -- context-dependent. Returns {"value": float or null, "warnings": [...]}. value is null only when both samples have zero variance and unequal means, where the effect size is mathematically infinite -- see the warning for which direction and use the raw mean difference instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| a | Yes | ||
| b | Yes |