Português

Statistical tests catalog

48 tests organized by type of data and study design, with hypotheses, assumptions, formula and R and Python code.

Explore the table Which test should I use?

How to find a test. Each row is a family and each column a study design; the block on the right gathers the tests that do not depend on how many groups there are. Tap a test to see its sheet.

How to read it

To do the math, see the interactive formulas and the Z, t, F and χ² tables.

All tests

Means (parametric)

Parametric tests assume a model for the data, usually the normal distribution, and compare its parameters, such as the mean. When the assumption holds, they are the most powerful.

Ranks (nonparametric)

Nonparametric tests assume no distribution for the data. They replace each value by its rank, its position in order (1st, 2nd, 3rd…), which protects them from extreme values and makes them fit ordinal data.

Proportions (counts)

For categorical answers, such as yes or no, hit or miss: the data are how often each category appears, and the test compares proportions.

Variances (spread)

They compare how spread out the data are, not the center. Useful on their own, as in quality control, and to check the equal-variance assumption of other tests.

Goodness of fit and normality

Goodness of fit: do the data follow the expected distribution? Normality tests are the most common case and check an assumption of parametric tests.

Association and correlation

Instead of comparing groups, they measure whether two variables move together, and how strongly.

Models and regression

Tests run inside a fitted model: whether a coefficient matters, whether the model explains anything and whether the residuals meet the assumptions.

Time series

For observations ordered in time, where neighboring values tend to be correlated: they test stationarity and autocorrelation.