The Test Chooser and the Navigator
Go from a question to a recommended method with reasons, walk the Statistics Guide as a tree, and keep track of how many tests you have run.
What runs in CodeSplash
- Kruskal–Wallis test Verified in Python and R
- One-way ANOVA (Welch / classic) Verified in Python and R
You will be able to
- Use the Test Chooser to get a recommendation with reasons and alternatives
- Find a method through the Navigator
- Explain what the multiple-testing ledger records
Read first
You don't need to know the name
ReadAnalyze holds hundreds of named tests. You rarely need to start from a name. Analyze's home and the top of its rail offer three ways in:
- Choose a test: question, then variables, then a recommended method.
- Navigator: the Statistics Guide as a decision tree.
- Multiple testing: every hypothesis test you ran, grouped into families.
Below them, each method family has a card on the home and a row in the rail. A family opens on a card for each of its methods.
Which would you pick?
PredictPredict first
You want to know whether body mass differs across three penguin species. Before asking the chooser, which family fits?
Reveal
One-way ANOVA: a numeric outcome across more than two independent groups. A t test handles only two groups, χ² compares counts, and correlation needs two numeric columns. Now check whether the chooser agrees, and read its reasons.
Ask the chooser
In the appPress Choose a test and pick the penguins dataset. Under What is your question?, choose Compare groups. Put body_mass in Outcome and species in Groups / factors. The walkthrough does the same with {{outcome}} and {{group}}.
The chooser reads your data as you answer. What the data say lists what it found, and Why this test? explains the recommendation in terms of your columns.
Read the recommendation
ExploreLook at three parts of the recommendation.
- Recommended: the method it suggests, with your roles filled in.
- Why this test?: the reason, stated about your data.
- Alternatives: other methods and when you would pick them.
Change one answer. Under What do you want to show?, switch from That the groups differ to That the groups are equivalent (within a margin), and watch the recommendation change. The method follows your question, not only your data.
When you are happy, Set up this analysis opens it with everything filled in.
Keep count of your tests
ReadRun enough tests and something will look significant by chance. Every hypothesis test you run is recorded in Multiple testing, in a familyMultiple-testing ledgerCodeSplash's record of every hypothesis test in a project, used to adjust for multiple comparisons.. Its home has a card for each family with a one-line summary. Open a family to see each test with its adjusted p-value.
On a family's page you can edit its name, purpose and adjustment. Lock (pre-specify) freezes its members, method and α, so nothing can move in or out after you have seen results. Mark a test as an Exploratory look when it was not planned.
Check your understanding
CheckpointCheck yourself
The chooser recommends a method you did not expect. What should you read first?
Show the answer
Answer: b
The reason is stated about your data. Either it spotted something you missed, or you know something it can't, such as a planned design. Both are good outcomes.
Check yourself
You want an overview of every step a careful analysis should cover. Which do you open?
Show the answer
Answer: b
The Navigator walks the Statistics Guide step by step, including the data checks before a test and the reporting checklist after it.
Check yourself
What does Lock (pre-specify) do to a test family?
Show the answer
Answer: a
Locking records what you planned before seeing results, which is what makes an adjustment honest.
Try your own question
ReflectThink of a question you could ask of your own data, in plain words, and pick the chooser card that matches. If none matches, what is missing from your question: an outcome, a group, or a comparison?
If your outcome is skewed or your groups are small, the rank-based alternative may suit you better:
Recap
Recap- Choose a test turns a question and your columns into a recommendation with reasons.
- Navigator shows the whole Statistics Guide; Multiple testing tracks every test you ran.
- The recommendation follows your question, so change the answer when your question changes.
Concepts in this lesson