Skip to content

Data types, distributions and choosing a test

Selecting the appropriate statistical test is a fundamental requirement for scientific validity in biomedical research. The selection process is systematically guided by three primary factors: the type of data (level of measurement), the distribution of the data (normality), and the study design (number and relationship of groups). Quantitative data follows either parametric or non-parametric pathways depending on whether it meets the assumption of a normal distribution, while qualitative data requires tests of proportions and frequencies. Accurate test selection ensures that research conclusions are robust, reproducible, and mathematically sound.

Key points

  • Test selection criteria: Based on data type, distribution (parametric vs. non-parametric), and study design (number of groups and their relationship).
  • Data Types: Categorized into Continuous (measured on a scale) and Categorical (Nominal or Ordinal groups).
  • Parametric Tests: Used for normally distributed continuous data; they are mathematically powerful (e.g., t-test, ANOVA).
  • Non-Parametric Tests: Used for skewed data, small sample sizes, or ordinal data; based on medians and ranks (e.g., Mann-Whitney U, Kruskal-Wallis).
  • Study Design: Differentiates between Independent (different subjects) and Paired (same subjects measured twice) groups.
  • Categorical Analysis: Employs Chi-Square for independent proportions and McNemar’s for paired proportions.
  • Correlation: Pearson’s is used for normal data, while Spearman’s is used for non-normal or ranked data.

1. Core Principles of Selection

  • Data Type: Nominal, Ordinal, Interval, or Ratio.
  • Distribution: Normal/Parametric vs. Skewed/Non-Parametric.
  • Study Design:
    • Number of groups (2 vs. 3+).
    • Relationship (Independent/Unpaired vs. Related/Paired).

2. Data Categorization

  • Continuous (Quantitative): Data measured on a numerical scale (e.g., blood pressure, age).
  • Categorical (Qualitative):
    • Nominal: Groups without inherent order (e.g., blood type, gender).
    • Ordinal: Groups with a logical rank or sequence (e.g., cancer stages I-IV).

3. Parametric vs. Non-Parametric Framework

  • Parametric Assumptions: Normal distribution (bell curve) and equal variances.
  • Non-Parametric Characteristics: No normality assumption; uses ranks/medians; ideal for skewed data or very small samples.

4. Decision Tree for Statistical Tests

A. Continuous, Normally Distributed Data (Parametric)

  • 2 Independent Groups: Unpaired Student's t-test.
  • 2 Paired Groups: Paired Student's t-test.
  • 3+ Independent Groups: One-Way ANOVA (Analysis of Variance).

B. Continuous Skewed or Ordinal Data (Non-Parametric)

  • Instead of Unpaired t-test: Mann-Whitney U Test (Wilcoxon Rank-Sum Test).
  • Instead of Paired t-test: Wilcoxon Signed-Rank Test.
  • Instead of ANOVA: Kruskal-Wallis Test.

C. Categorical Data (Proportions/Frequencies)

  • Independent Proportions: Chi-Square χ2χ^2 Test.
    • Note: Use Fisher’s Exact Test if any cell frequency is < 5.
  • Paired Proportions: McNemar’s Test.

D. Correlation (Assessing Relationships)

  • Normally Distributed: Pearson’s Correlation Coefficient rr.
  • Non-Normal or Ordinal: Spearman’s Rank Correlation Coefficient ρρ.