util_power
Statistical power and sample size — Power analysis for study and experiment design. test=two-sample | one-sample | paired (exact noncentral t, matches G*Power) | proportions (A/B conversion rates via Cohen's h; p1= and p2= or lift=%) | correlation (r=). Give effect= (Cohen's d) or diff= + sd=; with n= returns achieved power, verdict and minimum detectable effect; without n= returns the n required (per group) plus an n-by-power table; n= alone returns the minimum detectable effect (with p1= for proportions: the detectable conversion rates). Options: alpha (0.05), power (0.8), alternative=two-sided|one-sided, ratio=n2/n1. Price: $0.002 USDC (Base, via x402).
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": {
"test": "<test>",
"effect": "<effect>"
},
"name": "util_power"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| test | Yes | two-sample | |
| effect | Yes | 0.5 |