Statistical Test Chooser and Assumption Checker
A decision guide for choosing between t-tests, ANOVA, non-parametric tests, chi-square and regression, plus normality, variance and outlier checks on your data.
Runs in your browser. Your files never leave your device. See how to check
…
How to do it
- 1Describe the study
In Choose a test answer the questions on goal, outcome type, number of groups and pairing.
- 2Add the sample details
Enter the total sample size, the significance level and what you know about normality and variances.
- 3Check your data
In Check assumptions paste each group's values and read Shapiro-Wilk, Levene, outliers and the Q-Q plot.
- 4Use the results
Press Use these results to send the normality and variance findings back to the chooser.
- 5Read the recommendation
Note the suggested test, the fallback, the assumptions to report and the effect size.
- 6Print or revise
Print the checklist for your report, or test yourself with the quiz and the cheat sheet.
About this tool
Choosing the test is where many student projects go wrong. A t-test on skewed data with five people per group, a chi-square test with expected counts of two, or an ANOVA on paired measurements can all invalidate an otherwise careful study. This tool walks through the questions a statistician would ask: what you want to find out, what kind of outcome you measured, how many groups there are, whether the same subjects were measured more than once, and how large the sample is. It then names the recommended test, a fallback when an assumption fails, the assumptions to report and a suitable effect size. A second tab checks those assumptions on your own numbers with the Shapiro-Wilk test for normality, the Levene or Brown-Forsythe test for equal variances, Tukey fences for outliers and a normal Q-Q plot.
Who this is for
Undergraduates writing a research methods report, postgraduates planning a thesis analysis, nurses and teachers reading a published study, and anyone who has to justify a test choice to a supervisor or reviewer.
How the decision is made
The goal comes first. Comparing groups leads to the t-test, ANOVA and their rank-based alternatives; a relationship between two measured variables leads to Pearson or Spearman correlation; two categorical variables lead to chi-square or Fisher's exact test; comparing one sample with a known value leads to the one-sample t-test, the Wilcoxon signed-rank test or a one-proportion test; predicting an outcome leads to linear, logistic, ordinal or multinomial regression depending on the outcome type. Within comparisons, paired designs route to the paired t-test, the Wilcoxon signed-rank test, repeated-measures ANOVA, the Friedman test, McNemar's test or Cochran's Q. When the groups are independent but the variances differ, Welch's t-test or Welch's ANOVA is suggested, and when expected counts are small, Fisher's exact test replaces chi-square.
The assumption checks
Paste the values of each group. The Shapiro-Wilk W statistic and its p-value follow Royston's AS R94 algorithm and match R and SciPy for samples from 3 to 5,000 values. The variance check runs Levene's test centred on the median (the Brown-Forsythe version, robust to skew) or on the mean. Outliers are values beyond 1.5 interquartile ranges from the quartiles. Skewness, excess kurtosis and a Q-Q plot let you judge normality by eye as well as by p-value, which matters because large samples flag tiny departures and small samples miss large ones.
Worked example
A student compares reaction times of two independent groups of 20. Both pass Shapiro-Wilk (p above 0.05), but the Brown-Forsythe test gives p = 0.01, so the variances differ. Answering compare, continuous, two groups, independent, normal yes, variances no leads to Welch's t-test, with Cohen's d or Hedges' g as the effect size and the Mann-Whitney U test as the fallback.
Limits
The chooser covers the standard tests taught in a first and second statistics course; it does not handle mixed models, survival analysis, multilevel designs or Bayesian methods. A p-value from an assumption test is not the final word, and the plots and your knowledge of the data should guide the decision. Confirm important analyses with a statistician.
Worked example
Two independent groups, normal data, unequal variances (Brown-Forsythe p = 0.01): use Welch's t-test.
Quick facts
- Category: Math & Science
- Works in your browser, no sign-up, no upload.
- Your input stays on your device.
- Available in English.
- Content last reviewed:
- Official source: Shapiro-Wilk per Royston (1995), Algorithm AS R94; Levene and Brown-Forsythe test per NIST/SEMATECH e-Handbook section 1.3.5.10
Frequently asked questions
Should I always run a normality test before a t-test?
It helps with small samples, but treat it as one piece of evidence. With large samples the t-test is robust to mild non-normality, and the Q-Q plot is often more informative than the p-value.
What is the difference between Levene and Brown-Forsythe?
Both compare the spread of absolute deviations between groups. Levene uses deviations from the group mean; Brown-Forsythe uses deviations from the median, which keeps the test reliable when the data are skewed.
When should I use Welch's t-test?
Use it whenever the two groups may have different variances, especially with unequal group sizes. Many statisticians recommend it as the default because it loses little power when the variances are equal.
My data are ratings on a 1 to 5 scale. Which tests apply?
Ratings are ordinal, so the chooser points to rank-based tests such as Mann-Whitney U, Kruskal-Wallis, Wilcoxon signed-rank or Spearman correlation, or to ordinal logistic regression for prediction.
What does the quiz tab do?
It shows short study descriptions and asks you to pick the test. After each answer it explains which feature of the design decides the choice, which is good revision for methods exams.
Is my data uploaded anywhere?
No. The checks run in your browser, and saved checklists stay in local storage on this device until you delete them.
