Choose a statistical test
choose_testRecommends the appropriate statistical test for a research goal and lists assumptions to verify. Use it first when unsure which test to run.
Instructions
Recommends which test tool to run for a research question, with the assumptions to check. Call this first when unsure.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| goal | Yes | ab_test: compare variants of an experiment (A/B/n) against a control; plan_ab_test: sample size for one. | |
| paired | No | Same subjects measured twice / matched pairs. | |
| has_covariate | No | A numeric variable to adjust for. | |
| multiple_outcomes | No | Several numeric outcomes analysed together. | |
| outliers_or_ranks | No | Data are ranks, ordinal, or have strong outliers. | |
| outcome_is_numeric | No | A/B tests: the metric is a number per visitor (revenue, time) rather than converted yes/no. | |
| known_population_sd | No |