Permutation t-test (distribution-free)
Coming soonT-Tests
This test is implemented and is currently going through StatMinds’ production verification: every statistic is independently checked against a trusted reference (scipy / R), locked with regression tests, and the screen is exercised across assumption-met/violated and significant/non-significant scenarios before it opens up.
See what’s live nowTests the null of NO group-label-vs-outcome association by computing the t-statistic on every permutation of the group labels (or a Monte-Carlo subset, default 10,000 reshuffles), then comparing the o
bserved t to that empirical null distribution. The resulting p-value is exact under exchangeability and makes NO normality assumption — the right tool when the parametric t's distributional assumptions are clearly violated AND the sample is too small for the CLT to bail you out.
Worked example
Do two groups differ without assuming normality?
A permutation t-test rebuilds the null by shuffling group labels — valid for small or non-normal samples.
The groups differed by 5.1 points, permutation p = .013 (10,000 shuffles).
A permutation t-test showed a significant difference between groups, p = .013 (10,000 permutations).
When to use it
- Small-sample two-group comparison (n per group < 30)A pilot study compares a new surgical technique vs.
- Non-normal continuous DV at any sample sizeComparing income (right-skewed, dollars) between two occupational groups (n = 80 vs 75).
When NOT to — use instead
- Paired / within-subjects designPermutation between groups breaks pairing. → Paired Permutation Test (distribution-free)
- 3+ groupsTwo-sample permutation is between two groups only. → Permutation ANOVA (distribution-free)
- Clustered / nested observationsStandard permutation reshuffles within all observations and breaks the cluster structure. → Linear Mixed Effects (LMM) \u2014 clustered / repeated data (ICC, BLUPs)
- Large balanced sample with normal residualsWhen parametric assumptions hold, the standard t is more powerful and faster. → Independent Samples t-test
Hypotheses
Parameter tested: population mean difference μ₁ − μ₂ (interpretable as a location shift when shapes are similar)
Assumptions (and what to do if they fail)
Check: Exchangeability follows from random assignment / random sampling.
If violated: If exchangeability fails, the permutation p-value no longer reflects the true null distribution.
Check: Per-group boxplots with similar IQRs and symmetric shapes suggest a pure location shift.
If violated: When shapes/spreads differ, the permutation test still gives a valid p-value for the null 'same distribution', but the mean-difference interpretation is less clean.
Check: Per-group boxplot inspection.
If violated: Outliers inflate the mean difference; the permutation test is less affected than the parametric t, but extreme points can still dominate.
Ready to run a Permutation t-test (distribution-free) on your own data?
Guided setup, automatic assumption checks, effect sizes, figures and an APA write-up.
Run this test →