Why This Decision Matters So Much
A systematic review of papers in leading medical journals found that over 50% contained at least one statistical error, with inappropriate test selection ranking among the most frequent problems. The stakes are high: using a parametric test on non-normal data inflates the false positive rate, potentially generating "significant" findings that are artifacts of the wrong method. Conversely, unnecessarily using a weaker non-parametric test reduces statistical power real effects go undetected.
Both types of errors can have downstream consequences: flawed conclusions, failed replications, and ultimately research that cannot inform clinical practice. The good news is that choosing correctly is learnable and systematic.
The 4 Questions That Determine Every Test
Work through these four questions in sequence. Your answers directly map to the decision table in the next section.
What is your research objective?
Comparing groups? Looking for a correlation or association? Predicting an outcome? Evaluating a diagnostic test? Analyzing survival time? This single question defines the entire direction of your analysis.
What type of data is your outcome variable?
Continuous/numerical: Blood pressure, HbA1c, weight, age, lab values. Categorical: Disease present/absent, response yes/no, grade 1/2/3, improved/not improved. Ordinal: Likert scores, pain scales, disease stages. This is the most critical data characteristic.
How many groups, and are they independent or paired?
Two groups or three or more? Are subjects in different groups (independent e.g., patients vs controls, Drug A vs Drug B) or are the same subjects measured multiple times (paired/repeated e.g., before/after, multiple time points)?
Is your continuous data normally distributed?
Run the Shapiro-Wilk test (best for n < 50) or Kolmogorov-Smirnov test (larger samples). A p-value > 0.05 suggests no significant departure from normality. For n > 30 per group, the central limit theorem usually permits parametric tests even with mild non-normality.
Complete Statistical Test Decision Table
Find your scenario using the first four columns. The correct test is in the last column.
| Objective | Outcome Type | Groups | Design | Distribution | Correct Test |
|---|---|---|---|---|---|
| Compare | Continuous | 2 | Independent | Normal | Independent t-Test |
| Compare | Continuous | 2 | Paired | Normal | Paired t-Test |
| Compare | Continuous | 2 | Independent | Non-normal | Mann-Whitney U |
| Compare | Continuous | 2 | Paired | Non-normal | Wilcoxon Signed-Rank |
| Compare | Continuous | 3+ | Independent | Normal | One-Way ANOVA |
| Compare | Continuous | 3+ | Repeated | Normal | Repeated Measures ANOVA |
| Compare | Continuous | 3+ | Independent | Non-normal | Kruskal-Wallis |
| Compare | Continuous | 3+ | Repeated | Non-normal | Friedman Test |
| Compare | Categorical | Any | Independent | Chi-Square / Fisher's Exact | |
| Correlate | Both continuous | Normal | Pearson r | ||
| Correlate | Continuous / ordinal | Non-normal | Spearman | ||
| Association | Both categorical | Chi-Square | |||
| Predict | Binary outcome | Logistic Regression | |||
| Predict | Continuous outcome | Linear / Multiple Regression | |||
| Survival | Time-to-event | Kaplan-Meier + Log-Rank | |||
| Diagnostic | Continuous predictor | ROC Curve + AUC |
Parametric vs Non-Parametric: When to Use Each
This is the most frequent source of confusion. The answer is more nuanced than "always test normality and follow the result."
Use Parametric Tests When:
- Data is approximately normally distributed (Shapiro-Wilk p > 0.05)
- Sample size is large n > 30 per group (central limit theorem applies)
- You want maximum statistical power
- Outcome is a true continuous variable (not ordinal)
Use Non-Parametric Tests When:
- Data is non-normal AND sample size is small (n < 30 per group)
- Outcome is ordinal (Likert scales, pain scores, disease grades)
- Data contains extreme outliers you cannot legitimately remove
- Outcome is a count or proportion with many zeros
The Most Important Tests in Medical Research Explained
Independent t-Test
The most commonly used test in medical research. Compares the means of two independent groups with continuous, normally distributed outcomes. Example: mean systolic blood pressure in patients receiving Drug A (n=45) vs Drug B (n=45). Output: t-statistic, p-value, mean difference, 95% CI, Cohen's d effect size.
Critical mistake to avoid: Using the independent t-test when the two groups are actually the same subjects measured twice (e.g., before/after treatment). That requires the Paired t-Test, which is more powerful because it removes between-subject variability.
One-Way ANOVA
Extends the t-test to three or more independent groups. It tests whether at least one group mean differs significantly from the others, without inflating the false-positive rate the way multiple t-tests would. A significant F-test tells you something differs, but not which pair always follow up with Tukey's HSD or Bonferroni post-hoc correction to identify which specific groups differ.
Mann-Whitney U Test
The non-parametric alternative to the independent t-test. Instead of comparing means, it ranks all values together and tests whether one group tends to have higher-ranked values. Highly appropriate for: small samples with non-normal data, ordinal scales (VAS pain scores, Likert items), and outcomes with extreme outliers.
Chi-Square Test
For categorical outcomes: comparing frequencies or proportions between groups. Example: proportion of patients who responded to treatment vs placebo. The critical assumption is that all expected cell frequencies must be 5. When any expected cell is < 5, use Fisher's Exact Test instead StatClinic's chi-square tool runs both automatically.
Pearson and Spearman Correlation
Both measure association between two variables but have different assumptions. Pearson r measures linear correlation and requires normality. Spearman measures rank-order (monotonic) correlation with no normality assumption appropriate for ordinal data or non-normal continuous data. Always create a scatter plot first; the correlation coefficient can be misleading without visual inspection.
Logistic Regression
For predicting a binary outcome (disease yes/no, readmission yes/no) from multiple predictor variables while controlling for confounders. Produces Odds Ratios (OR) with 95% CI. Practical rule of thumb: at minimum 10 events per predictor variable. With fewer, consider penalized regression (Firth's method) or reducing predictors.
Common Mistakes That Invalidate Results
- Using independent t-test for paired data always use Paired t-test or Wilcoxon when the same subjects contribute two measurements
- Multiple t-tests instead of ANOVA comparing 3 groups with 3 separate t-tests inflates the Type I error from 5% to ~14.3%; use ANOVA + post-hoc tests
- Ignoring expected cell frequencies in Chi-Square switch to Fisher's Exact when any expected cell count is < 5
- Using Pearson correlation for Likert/ordinal data use Spearman instead, as Likert data is ordinal, not continuous
- Post-hoc test selection choosing your statistical test after looking at the data (data dredging) invalidates the p-value entirely; pre-specify analyses
- Not reporting effect sizes a p-value tells you whether an effect exists; Cohen's d, -2, or OR tells you how large it is. Journals increasingly require both
Frequently Asked Questions
Need help analyzing your study?
Use StatClinic AI Statistical Assistant 25+ free tools including normality testing, all major statistical tests, and automatic APA-format output.
Use StatClinic AI Statistical Assistant