Statistical Test Decision Tree
Choosing the right statistical test is the hinge between a defensible analysis and a reviewer’s rejection. This section offers three ways to reach the correct test for a given research question:
- An interactive decision assistant – a click-through wizard that routes you from research question to recommended test in three to five questions.
- A static decision tree – a single colour-coded flowchart covering every supported test, suitable for printing.
- Method pages for every test in the tree, each laid out in the same ten-section template: research question, assumptions, hypotheses, R code, output interpretation, effect size, APA 7 reporting sentence, pitfalls, alternatives, further reading.
Sections
- Foundations – measurement scales, descriptive statistics, normality checks, outlier handling, hypothesis testing basics.
- Differences – comparing groups on means, medians, variances, or proportions.
- Associations – quantifying how variables move together: correlation and regression families.
- Interdependence – exploratory structure discovery: factor analysis, cluster analysis.
How to use this section
If you already know what you are comparing and how, jump to the relevant method page. If you need help deciding, use the wizard; it asks only the questions that change the recommendation. The static tree is the reference map – useful once you have worked through the wizard a few times and want a single-page overview.
Every example uses R (with tidyverse, rstatix, car, broom, gtsummary, ggstatsplot, psych, lavaan, factoextra, and cluster) and simulated biomedical data. No SPSS, no Python, no Stata.
Structure inspired by the University of Zurich Methodenberatung (methodenberatung.uzh.ch). All text, examples, R code, and reporting sentences are independently authored in English.
Sections
5 pages
Foundations
1 pages
Differences Between Groups
9 pages
Associations Between Variables
2 pages
Interdependence Analysis
TOOL
Interactive Wizard
Answer a few questions and be routed to the appropriate test.
TOOL
Static Decision Tree
Visual Mermaid chart of the same routing logic.