Opens in a new tab

Home / Resources / Method Selection

Which Statistical Test Should I Use? A Research Decision Guide

Which statistical test to use depends on the outcome type, the comparison you want to estimate, whether observations are independent or linked, and the study design, not on the number of variables in your file. Start from the question and the primary estimand, then match a method whose assumptions fit the data structure. A test that runs in software is not necessarily the correct one.

Method Selection
INDEPENDENT MEANSWelch t-test
PAIRED MEANSPaired t-test
ASSUMPTIONSIndependence, design
SOFTWARESPSS, R, Stata
REPORTOutcome, design, why

A spreadsheet shows variables, but it does not show how participants were sampled, measured or linked. Those facts, together with the outcome type, the estimand and the number of groups, determine which approaches are defensible. Kirkwood and Sterne (2003) make the same point for medical statistics: analysis methods must be linked to the design and purpose of a study.

Begin with the question you want to answer

Decision flow from research question to outcome type, data structure and candidate methods.

Are you comparing group means, describing an association, predicting an individual outcome, assessing change over time or estimating a treatment effect? A study can contain several types of variables but still have a single primary outcome. Decide what estimate matters before selecting a significance test.

Match the outcome to the data structure

Study question Data structure Typical starting approach
Mean differs between two independent groups Continuous outcome, independent observations Welch two-sample t-test or suitable regression
Mean change in the same participants Paired continuous observations Paired t-test of within-person differences
Binary outcome associated with predictors Independent binary outcome Logistic regression; report the relevant estimand
Binary outcome before/after in same participants Paired binary responses McNemar test or paired binary model
More than two independent means Continuous outcome, groups independent ANOVA/regression, with suitable variance assumptions
Several repeated observations per person Correlated longitudinal outcome Mixed model, GEE or suitable repeated-measures approach
Time until an event Censoring and variable follow-up Survival methods, possibly Cox regression
Relationship among categories Independent contingency-table counts Chi-square or exact procedures as justified

These are starting points, not a software algorithm. They omit some assumptions and alternatives. A causal analysis of observational treatment effects requires additional design and confounding considerations even if logistic or linear regression is used.

Which statistical test to use: five checks before committing

  1. Outcome scale: Is it continuous, ordinal, categorical, binary, count or time-to-event?
  2. Independence: Are observations independent, paired, clustered, repeated or matched?
  3. Study design: Randomized, observational, cross-sectional, cohort, case-control or survey?
  4. Primary estimand: Mean difference, risk difference, conditional odds ratio, hazard ratio, association or prediction performance?
  5. Assumptions and precision: Are residuals, variance structure, sample size, sparse cells and missingness compatible with the chosen approach?

A highly correlated set of observations should not be treated as independent because rows appear separately in a file (Bland & Altman, 1994).

Why variable type alone is insufficient

The same binary outcome might be analyzed by McNemar’s test in matched pairs, logistic regression for independent people or generalized estimating equations for clustered participants. For continuous data, a paired t-test and a two-sample t-test answer different questions even if both groups have exactly the same number of observations.

Hypothetical examples

Example A: Two independent wards are compared on mean blood pressure. You may begin with a two-sample comparison, but if the ward is the unit of assignment or patients cluster within wards, ordinary patient-level independence may fail. The number of wards can be more important than the patient count for uncertainty.

Example B: The same 80 patients complete a symptom score before and after care. The paired difference is the natural analysis unit. An independent two-sample test discards pairing and can misrepresent the precision.

Example C: A study tracks time until readmission, but some participants have no readmission before follow-up ends. A simple comparison of yes/no outcomes loses follow-up information; time-to-event methods may better address the question.

Do not choose solely from a normality test

Normality tests can flag departures in large datasets that have limited practical consequences for a particular mean comparison. Conversely, a nonsignificant test does not establish normality. Assess the assumptions relevant to the test statistic, design, sample size and outliers, and consider robust methods where appropriate (Fagerland, 2012).

Reporting a choice in Methods

A good methods section names the outcome and design first, then explains the selected approach and its assumptions. For example:

REPORTING TEMPLATE

Mean within-participant changes were analyzed using a paired t-test because outcomes were measured twice for the same individuals.

This is only a model sentence and should not be used unless it describes the real analysis.

Frequently asked questions

Software can suggest procedures, but it cannot establish the scientific question, dependence structure, estimand or causal assumptions.

Not mechanically. Assess assumptions relevant to the analysis, including the distribution of errors or within-person differences and the sample design.

Yes, if tests address different prespecified objectives; control interpretation and multiplicity when many hypotheses are explored.

Quantitative Data AnalysisNot sure which test fits your design? A statistician reviews your outcome, design and dependence structure and confirms the analysis before you run it.

Request an Assessment

Quantitative Data Analysis

The Quantitative Data Analysis service is carried out in-house by PhD-level statisticians. A statistically trained Research Coordinator reviews your request, and the analytical work, deliverables, timeline and fixed project fee are confirmed before work begins. The research question, interpretation and conclusions remain with you.

References

  1. Bland, J. M., & Altman, D. G. (1994). Statistics notes: Correlation, regression, and repeated data. BMJ, 308(6933), 896. https://doi.org/10.1136/bmj.308.6933.896
  2. Fagerland, M. W. (2012). t-tests, non-parametric tests, and large studies—A paradox of statistical practice? BMC Medical Research Methodology, 12, Article 78. https://doi.org/10.1186/1471-2288-12-78
  3. Kirkwood, B. R., & Sterne, J. A. C. (2003). Essential medical statistics (2nd ed.). Blackwell Science. https://www.wiley.com/en-us/essential-medical-statistics-2nd-edition-p-9780865428713

Last reviewed November 2026 by the OnlineSPSS Statistical Team. Worked examples use hypothetical values and are not client data.

NEXT STEP

Need this done for
your study?

Share your research in about a minute and receive a complimentary assessment the same day: scope, timeline and one fixed fee.

No Commitment Required

Strictly Confidential

Fixed Project Fee

In-House PhD-Level Statisticians

Same-Day Response

Serving Researchers Since 2014