Site icon Codanics

Which Statistical Test Should I Use? Free Test Chooser

Which Statistical Test Should I Use?: free online tool by Codanics that runs in your browser
Statistics

Which Statistical Test Should I Use? Interactive Test Chooser

Not sure whether you need a t-test, ANOVA, chi-square, Mann–Whitney or regression? Answer a few plain-language questions about your study and get the right test, the alternative if assumptions fail, R code, SPSS menu steps and a link to the matching free calculator.

✅ No login needed100% freeRuns in your browserYour data stays on your device
Which Statistical Test Should I Use?✅ Free · no login📚 Cite this tool
Your data never leaves your PC. Your data is analysed on your own computer or phone, even when you upload a CSV or Excel file. Nothing is uploaded, stored or seen by Codanics, and no login is needed.
  • PriceFree, no login or sign-up needed
  • Your dataProcessed in your browser, never uploaded
  • Works onPhone, tablet or computer, any modern browser
  • Made byDr. Muhammad Aammar Tufail, Codanics
  • Published15 November 2026
  • Last updated16 November 2026

📚 How to cite this tool

This tool is free. If it helped your thesis, paper, report or assignment, please cite it. It keeps the tools free and helps other students find them.

Citation · APA 7th edition

Tufail, M. A. (2026). Which statistical test should I use? Interactive test chooser [Online tool]. Codanics. Retrieved 16 November 2026, from https://codanics.com/tools/which-statistical-test/

In-text citation: (Tufail, 2026) · Narrative: Tufail (2026)

The access date is today’s date, filled in automatically. Author: Muhammad Aammar Tufail. Published 15 November 2026.

🚀 Follow Codanics channel on WhatsApp for more updatesNew free tools, scholarships, PhD positions and research tips, straight to your phone. Free lessons on YouTube too.

How to use the Which Statistical Test Should I Use?

  1. Choose what you want to find out: compare groups, look for a relationship, predict an outcome, measure agreement, compare counts or analyse survival.
  2. Answer the follow-up questions about your outcome variable, the number of groups and whether the groups are paired.
  3. If you are not sure whether your data are normal, choose Not sure and check a histogram with the descriptive statistics calculator.
  4. Read the recommended test, its non-parametric alternative and the assumptions, then copy the R code or follow the SPSS steps.
  5. Open the matching free Codanics calculator to run the test straight away.

Statistical test selection table

GoalOutcomeGroups / designParametric testNon-parametric alternative
CompareContinuous1 group vs valueOne-sample t-testWilcoxon signed-rank
CompareContinuous2 independentWelch’s t-testMann–Whitney U
CompareContinuous2 pairedPaired t-testWilcoxon signed-rank
CompareContinuous3+ independent, 1 factorOne-way ANOVA + TukeyKruskal–Wallis + Dunn
CompareContinuous3+ independent, 2 factorsTwo-way ANOVAAligned rank transform ANOVA
CompareContinuous3+ repeatedRepeated-measures ANOVA / mixed modelFriedman
CompareBinary / categorical2+ independentChi-square test of independence (Fisher’s exact for small counts)
CompareBinary2 pairedMcNemar’s test
RelationshipTwo continuous–Pearson rSpearman ρ
RelationshipTwo categorical–Chi-square + Cramér’s V
PredictContinuous / binary / countSeveral predictorsLinear / logistic / Poisson regression
AgreementCategories / scores / methodsRaters or methodsCohen’s or Fleiss’ kappa / ICC / Bland–Altman
SurvivalTime to eventGroups / covariatesKaplan–Meier + log-rank / Cox regression

Parametric or non-parametric?

Parametric tests (t-test, ANOVA, Pearson) compare means and assume the data, or the residuals, are roughly normal. They are more powerful when that holds. Non-parametric tests (Mann–Whitney, Kruskal–Wallis, Spearman) use ranks, so they cope with skewed data, outliers and ordinal scales. With more than about 30 observations per group, t-tests and ANOVA are fairly robust to non-normality.

Three questions decide most choices: (1) What type is the outcome? (2) How many groups, and are they independent or paired? (3) Are the data roughly normal? Get those right and the test usually follows.

New to statistics? Start with the free ABC of statistics series and types of data analysis, then learn to run every test in R with the R with Aammar course.

Learn the statistics behind these numbers. Codanics has free statistics, R and Python lessons on YouTube and full courses for researchers.

Frequently asked questions

How do I know which statistical test to use?

It depends on your goal (comparing groups, relationships or prediction), the type of outcome variable (continuous, ordinal, binary, categorical or count), the number of groups and whether the groups are independent or paired. Answer those questions in the tool to get the right test.

When should I use a t-test instead of ANOVA?

Use a t-test for two groups and ANOVA for three or more. Running several t-tests instead of one ANOVA increases the chance of a false positive result.

What if my data are not normally distributed?

With small samples and clearly skewed data, use the non-parametric alternative: Mann–Whitney instead of an independent t-test, Wilcoxon instead of a paired t-test, Kruskal–Wallis instead of one-way ANOVA and Spearman instead of Pearson.

Should I use chi-square or Fisher's exact test?

Use chi-square when expected counts are 5 or more in at least 80% of cells. For small samples, especially 2×2 tables with low expected counts, use Fisher’s exact test.

Is correlation enough to compare two measurement methods?

No. Two methods can be highly correlated but disagree systematically. Use Bland–Altman analysis to measure the bias and limits of agreement.

Does this replace a statistician?

No. It covers the most common designs in theses and papers. For complex designs (nested, multilevel or longitudinal data), talk to a statistician or your supervisor before collecting data.

Do I need to log in or create an account to use the Which Statistical Test Should I Use??

No. There is no login, no sign-up and no email required. Open the page and start using it straight away, for free, on any device.

How do I cite this tool in my thesis or paper?

Use the citation box on this page. In APA 7th edition: Tufail, M. A. (2026). Which statistical test should I use? Interactive test chooser [Online tool]. Codanics. Retrieved [date you used it], from https://codanics.com/tools/which-statistical-test/. BibTeX, RIS (EndNote, Mendeley, Zotero), MLA, Harvard, Chicago and Vancouver formats are also available.

Free guides and courses from Codanics

More free tools

See all free Codanics tools → · Codanics on YouTube · WhatsApp channel

Made by Dr. Muhammad Aammar Tufail, Codanics. First published 15 November 2026, last updated 16 November 2026. Found a bug or have an idea for a new tool? Tell us on the WhatsApp channel or in the comments on YouTube. Results are for learning and planning; check important analyses with a statistician or your supervisor.
Exit mobile version