Effect size calculator
effect_sizeCalculates effect sizes from summary numbers: Cohen's d and Hedges' g from two means and SDs; d and r from a t statistic; η² from an F statistic; odds ratio and risk ratio from a 2×2 table; converts between d and r. Gives the size label (small/medium/large) and a 95% CI where possible.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"from": "<from>"
},
"name": "effect_size"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| a | No | 2×2: group 1 with outcome | |
| b | No | 2×2: group 1 without | |
| c | No | 2×2: group 2 with outcome | |
| d | No | 2×2: group 2 without | |
| f | No | ||
| r | No | ||
| t | No | ||
| df | No | t or F error degrees of freedom | |
| n1 | No | ||
| n2 | No | ||
| df1 | No | F effect degrees of freedom | |
| sd1 | No | ||
| sd2 | No | ||
| from | Yes | ||
| mean1 | No | ||
| mean2 | No | ||
| d_value | No |