Stat Rm Anova
stat_rm_anovaRun repeated-measures ANOVA for one within-subjects factor with three or more levels. Use it when the same participants are measured across conditions, with effect size and sphericity correction.
Instructions
Repeated-measures ANOVA — one within-subjects factor with three or more levels.
WHEN TO USE: the same participants measured under 3+ conditions. WHEN NOT TO USE:
Only two conditions → a paired t-test is simpler and equivalent.
Missing data → a linear mixed-effects model uses all available data, whereas RM-ANOVA deletes whole cases.
Badly non-normal → Friedman test.
Always check sphericity first (stat_sphericity_test) and report the
corrected p-value if it is violated.
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>",
"within": "<within>",
"subject": "<subject>"
},
"name": "stat_rm_anova"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dv | Yes | ||
| name | Yes | ||
| within | Yes | ||
| effsize | No | ng2 (generalized eta-squared, default) | np2. | ng2 |
| subject | Yes | ||
| correction | No | auto (recommended) | True (always Greenhouse-Geisser) | False (never). | auto |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |