For labs, R&D teams and graduate students

Statistical rigour.
Notebooks that re-run.

Assumptions tested before the test, effect size beside every p-value, and the scipy call that produced it. Export the notebook and a reviewer gets your number on their own machine.

One question, start to finish
01You ask

Is the difference between the treatment and control groups real?

02It checks the data first
  • ·Normality checked first, not assumed. Shapiro-Wilk gives p = 0.21 for treatment and p = 0.08 for control, so a parametric test is defensible and both figures are shown.
  • ·Variances differ by a factor of 2.4, Levene p = 0.004, so Welch's correction is applied instead of Student's. Stated plainly, because that choice moves the p-value.
  • ·Four rows have a blank score. Dropped and listed by row number, never imputed without you asking.
03And shows the code it ran
from scipy import stats

a = df[df.group == "treatment"].score.dropna()
b = df[df.group == "control"].score.dropna()

stats.shapiro(a), stats.shapiro(b)        # normality, before assuming it
stats.levene(a, b)                        # equal variance? no: F p = .004
stats.ttest_ind(a, b, equal_var=False)    # so Welch, not Student
04Then tells you what to do

Welch's t = 3.41, p = 0.0007, Cohen's d = 0.62

Recomputed from the group means and pooled standard deviation independently; both agree

A real difference of moderate size. d = 0.62 is worth reporting. With 48 per arm you are not powered to split this by site, so resist the subgroup table.

What this answer cannot tell you: Whether the treatment caused it. This is a difference between two groups in your file. Causation rests on the randomisation having worked, which is a property of your design and not of this test.

The tests, and everything each one reports

No R, no SPSS licence, and nothing that returns a bare p-value.

Welch's t-test

Independent samples without assuming equal variance, with Cohen's d and a 95% interval on the difference.

One-way ANOVA

F statistic, eta-squared, and Tukey HSD pairwise comparisons run only when the omnibus test is significant.

Chi-square

Test of independence with Cramer's V for strength, the contingency table, and a warning when expected counts fall below five.

Shapiro-Wilk normality

Normality testing with a reproducible sample capped at 5,000 nonmissing values. Inspect the sample size, assumptions and diagnostic plots before choosing a test.

Pearson and Spearman

Linear and monotonic correlation side by side, which is how a strong monotonic relationship stops being reported as a weak one.

OLS and logistic regression

Coefficients with standard errors and p-values, adjusted R-squared, AIC, BIC, VIF per feature, and residuals for plotting.

From a file to something a reviewer can reproduce

01

Upload the experiment file

Groups, measurements, covariates. Columns are typed automatically and the ones that look like identifiers are kept out of the maths.

02

Choose the test, or let it choose

Two groups, three or more, categorical, paired. It proposes a test from the shape of the data and says why that one, so you can disagree with the reason rather than the output.

03

Read the effect size next to the p-value

Cohen's d, eta-squared, Cramer's V. A significant result with a trivial effect is reported as exactly that, in one sentence, rather than left for you to notice.

04

Export the notebook and re-run it

Valid .ipynb, every cell carrying its own code. A reviewer runs it on their own machine and gets your number, or finds out why not.

The same four steps, other fields

BiologyDoes drug A change tumour volume against placebo?Welch's t-test, Cohen's d
PsychologyDo three teaching methods produce different scores?One-way ANOVA, Tukey HSD
Public healthIs vaccination status associated with infection?Chi-square, Cramer's V
EconomicsPredict household income from education, age, regionOLS with VIF
EnvironmentalAre PM2.5 readings normal across sites?Shapiro-Wilk, QQ plot

Run one test and read the whole output.

The demo includes a two-group sample, so you can check the assumptions, the effect size and the code before uploading real measurements.