Generate → Permute → Decide. Play with sample sizes, distributions, and test statistics.
H₀: Both samples come from the same distribution.
If this is true, the labels “Sample A” and “Sample B” are meaningless — every data point could equally have ended up in either group.
If the observed statistic lands far in the tail of the null distribution (small p-value), we reject H₀.
| Bootstrap permutation | Welch’s t-test | |
|---|---|---|
| Assumptions | None — works for any distribution, any statistic | Approximately normal populations (relaxed for large n by CLT) |
| How null is built | Empirically, by shuffling real data | Analytically, using the t-distribution |
| What it tests | Whatever statistic you plug in (means, medians, variance, KS…) | Difference in means only |
| When they agree | When data is roughly normal and n is moderate-to-large, p-values are very similar | |
| When they diverge | Skewed data, heavy tails, small n, or non-mean statistics — bootstrap is more reliable | |
This tool runs both on the difference-in-means test so you can compare. Try Exponential or Log-Normal with n=10 to see divergence.