Stat Sphericity Test
stat_sphericity_testTest sphericity with Mauchly's test before repeated-measures ANOVA with three or more conditions, so you can apply Greenhouse-Geisser correction when the assumption is violated.
Instructions
Mauchly's test of sphericity for a repeated-measures factor with 3+ levels.
When to use: before a repeated-measures ANOVA with three or more conditions. When it fails: report the Greenhouse-Geisser corrected p-value and the epsilon. The uncorrected F is anti-conservative when sphericity is violated.
Not applicable with only two levels — a paired t-test needs no sphericity assumption.
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_sphericity_test"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dv | Yes | ||
| name | Yes | ||
| method | No | mauchly | |
| within | Yes | ||
| subject | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |