How ThinkFlo Stats Is Validated
Last updated December 1, 2026
A statistics tool is only useful if its numbers are right. Before you put a p-value from ThinkFlo Stats into a thesis, a report or a paper, you should be able to see how it was checked. This page describes exactly what we test, against what, and with what result.
What we compare against
Our reference is SciPy, the scientific computing library for Python that is used throughout research and industry and is itself extensively tested. For every case we generate a dataset, compute the answer with SciPy, and check that the ThinkFlo Stats engine, running in the browser, gives the same answer. For Dunn's test, which SciPy does not provide, the reference is an independent implementation of the standard formula (pooled ranks, tie correction, Holm adjustment).
Test 1: the statistics engine, 1,365 cases
The datasets deliberately include the situations where statistical software most often goes wrong: very small samples, very unequal group sizes and variances, tied values, zero differences in paired data, and extreme p-values far below 0.0001. A case passes only if every reported quantity agrees, not just the p-value.
| Test | Cases | Values checked | Largest relative difference |
|---|---|---|---|
| Welch's t-test | 250 | t, df, p | 7 × 10⁻¹⁴ |
| Student's t-test | 250 | t, df, p | 7 × 10⁻¹⁴ |
| t-test confidence interval and effect size | 40 | 95% CI of the difference, Cohen's d, Hedges' g | 2 × 10⁻¹⁴ |
| Paired t-test | 50 | t, p, 95% CI, Cohen's dz | 2 × 10⁻¹⁴ |
| One-way ANOVA | 100 | F, p | 8 × 10⁻¹⁴ |
| Tukey's HSD (Tukey-Kramer) | 60 | adjusted p and 95% CI for every pair | 4 × 10⁻⁷ |
| Mann-Whitney U, exact | 60 | U, p | 2 × 10⁻¹⁶ |
| Mann-Whitney U, with ties | 40 | U, tie-corrected p | 4 × 10⁻¹⁵ |
| Mann-Whitney U, normal approximation | 69 | U, p | see note below |
| Wilcoxon signed-rank | 120 | W, p (exact, permutation and normal methods) | 5 × 10⁻¹⁴ |
| Kruskal-Wallis | 100 | H, p | 3 × 10⁻¹⁴ |
| Dunn's test (Holm) | 50 | z, raw and adjusted p for every pair | 6 × 10⁻¹⁰ |
| Linear regression | 120 | slope, intercept, R², p | 5 × 10⁻¹³ |
| Chi-square distribution | 56 | upper-tail p | 2 × 10⁻¹⁴ |
A relative difference of 10⁻¹⁴ means the two programs agree to about 14 significant digits, which is the limit of ordinary computer arithmetic. Tukey's HSD uses numerical integration of the studentized range distribution, so it agrees to about 7 digits, still far beyond the 3 or 4 digits any report needs.
The one exception we know of. In 2 of the 69 Mann-Whitney cases that use the normal approximation, the p-value differs by up to 2%: SciPy reports p = 1.000, ThinkFlo Stats reports 0.980 and 0.993. This happens only when the two groups are almost identical, where the continuity correction is larger than the observed difference and the two programs handle that edge differently. Both results mean the same thing (no difference at all), so no conclusion can change. We list it here rather than hide it.
Test 2: the tool itself, end to end
A correct engine is not enough: numbers can still be displayed wrongly, rounded badly or attached to the wrong group. So we also test the tool the way you use it. We paste synthetic datasets into the data table, choose a test, click Generate, and compare every number shown on the screen with SciPy. The datasets cover all seven tests and linear regression, including skewed data, rating-scale data with ties, incomplete pairs and unequal group sizes. All 145 displayed values matched.
The same run checks everything around the numbers:
- error bars (SD, SEM and 95% CI) drawn at exactly the right length
- significance brackets drawn only for the comparisons that are significant
- image exports at the stated journal sizes (for example, 1050 × 787 pixels for a 3.5-inch column at 300 dpi)
- messy input: decimal commas, blank cells, label columns, and missing-value markers such as
n/aorNA - CSV and Excel uploads, and saved settings
Details that change results
Two programs can both be "correct" and still disagree, because some methods have several accepted versions. These are the choices ThinkFlo Stats makes, so you can match them in other software:
- Mann-Whitney U: exact p-value when both groups have at most 8 values and there are no ties; otherwise the normal approximation with tie correction and continuity correction (as in SciPy's default).
- Wilcoxon signed-rank: exact p-value for up to 50 pairs without ties or zeros; an exact permutation p-value when ties or zero differences are present and there are at most 13 pairs; otherwise the normal approximation. Zero differences are dropped before ranking.
- Quartiles for box plots and IQR use linear interpolation (the default in Excel's QUARTILE.INC, R and NumPy).
- Post-hoc tests: Tukey-Kramer after ANOVA, valid for unequal group sizes; Dunn's test with Holm adjustment after Kruskal-Wallis.
When we re-run the tests
Every change to the statistics engine must pass all 1,365 cases before it is published, and the end-to-end tests are re-run whenever the tool changes. The guides in our Learn section are checked the same way: every worked example is recalculated with both ThinkFlo Stats and SciPy before publication.
Found a difference?
If ThinkFlo Stats gives you a different answer from Prism, R, SPSS or another program, please tell us at contact.thinkflo@gmail.com, with the data if you can share it. Usually the difference comes from one of the method choices above, and we will explain which. If it is an error, we will fix it and add your case to the tests. See also About ThinkFlo Stats.
Try It With Your Own Data
Free, instant, no sign-up. Your data never leaves your browser.
Launch Free Tool