Stat Nonparametric K
stat_nonparametric_kRun Kruskal-Wallis or Friedman tests to compare three or more groups when normality is violated. Use it for ordinal or non-normal continuous outcomes instead of ANOVA.
Instructions
Kruskal-Wallis (independent) or Friedman (repeated) — three or more groups, no normality assumption.
WHEN TO USE: 3+ groups with ordinal outcomes, or continuous outcomes where normality is badly violated. WHEN NOT TO USE: when the parametric assumptions hold — the rank test is less powerful.
Follow a significant result with stat_pairwise_tests(parametric=False) and
a correction.
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": {
"name": "<name>",
"dv": "<dv>"
},
"name": "stat_nonparametric_k"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dv | Yes | ||
| name | Yes | ||
| within | No | ||
| between | No | ||
| subject | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |