Run one-way or two-way ANOVA
statistics_anovaOne-way and two-way ANOVA with interaction (Type II or III sums of squares), R-squared, Tukey HSD post-hoc comparisons and the Brown-Forsythe (median-centred Levene) test of equal variances. Sums of squares use centred two-pass accumulation and match NIST StRD SiRstv. Price $0.03 USDC. POST /api/v1/statistics/anova. An unpaid call returns the x402 payment terms and does not run.
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": {
"design": "<design>",
"rows": "<rows>"
},
"name": "statistics_anova"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rows | Yes | rows, array. Required. | |
| design | Yes | design, string, one of one_way, two_way. Required. | |
| levene | No | levene, boolean. Required. | |
| ssType | No | ssType, string, one of II, III. Required. | II |
| posthoc | No | posthoc, string, one of tukey, none. Required. | none |
| confidence | No | confidence, number. Required. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | No | table. Array. | |
| tukey | No | tukey. Array. | |
| levene | No | levene. Object. | |
| sources | No | sources. Array. | |
| rSquared | No | rSquared. Number. | |
| droppedRows | No | droppedRows. Number. | |
| limitations | No | limitations. Array. |