Stat Anova
stat_anovaRun one-way ANOVA to compare means across three or more independent groups with a continuous outcome, then use pairwise tests to identify which groups differ.
Instructions
One-way ANOVA — three or more independent groups, continuous outcome.
WHEN TO USE
3+ independent groups; normality and homogeneity plausible.
Instead of running multiple t-tests, which inflates the Type I error rate.
WHEN NOT TO USE
Variances unequal →
stat_welch_anova.Same participants in every condition →
stat_rm_anova.Both a between and a within factor →
stat_mixed_anova.Badly non-normal →
stat_nonparametric_k.
A significant omnibus F says only that some groups differ, not which. Always
follow with stat_pairwise_tests and a multiple-comparison 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>",
"between": "<between>"
},
"name": "stat_anova"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dv | Yes | ||
| name | Yes | ||
| between | Yes | ||
| effsize | No | np2 (partial eta-squared) | n2 (eta-squared). | np2 |
| ss_type | No | Sums-of-squares type; 2 (default, recommended for unbalanced designs) | 1 | 3. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |