compare_groups
Compare a metric across groups with automatic test selection (t-test/ANOVA or non-parametric equivalents), effect sizes, and plain-English interpretation.
Instructions
Statistical comparison of metric_column across group_column levels.
2 groups → Welch's t-test or Mann-Whitney U (depending on normality)
+ Cohen's d / rank-biserial effect size + 95% CI on mean difference.
>2 groups → ANOVA or Kruskal-Wallis + eta-squared. Returns per-group
stats, the test result, and a plain-English interpretation.
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": {
"source_id": "<source_id>",
"group_column": "<group_column>",
"metric_column": "<metric_column>"
},
"name": "compare_groups"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source_id | Yes | ||
| group_column | Yes | ||
| metric_column | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||