Choose a statistical test
choose_testPicks the right statistical test from the study design, and returns why, assumptions to check, the effect size to report, follow-up (post-hoc) tests, and how to run it in R, Python and SPSS. Ask the user any missing answers first (goal, outcome type, number of groups, paired or not, normal or not).
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": {
"goal": "<goal>",
"outcome": "<outcome>"
},
"name": "choose_test"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| goal | Yes | ||
| groups | No | compare_groups: number of groups or time points. | |
| normal | No | Is the numeric data roughly normal (bell-shaped)? Use false if unsure or n is small. | |
| paired | No | Same people measured more than once? | |
| outcome | Yes | Type of the outcome (dependent) variable. For relationship: numeric means both variables are numeric. | |
| small_counts | No | Categorical data: any expected cell count below 5? |