Twelve invoices took 5.8 days on average against a promise of 5. If the promise held, t would follow this curve; the shaded tails show how often a result at least this far out would happen by luck alone. That share is the p-value.
An interactive course in deciding from data: from the null hypothesis to p-values, errors and power, the everyday tests and the traps most courses skip. Every number comes from the lab's own engine, tested against scipy and statsmodels, and is shown three ways: the picture, the formula and the code.
The whole course is open: twenty chapters in six parts, each with its animations, quiz and exercises, a test explorer for every family of tests, the tools, the cheat sheet and the lecture paths.
Part A: The logic of a test
1
The null world
How do I know a difference isn't just luck? Build the world where nothing changed and see where the real result lands.
Calculators with sliders and typed inputs whose pictures move as you do: the statistic on its null distribution, the p-value shaded, the worked steps and the code.
The one-sample t test
Is a mean different from a promised value? The t statistic on its curve, with the p-value shaded as you move the data.
Did the new portal get people paying sooner? Compare two means with Welch's t test, the pooled test or the paired test, and watch the interval for the gap.
Is this filling line more erratic than the spec allows? Is one book riskier than another? Test a spread against a spec, or two and more spreads against each other.
For looking things up and for teaching: every term with a link to where it is explained, every test with its formula and code, and lecture paths with speaker notes.
Glossary
80 terms from the chapters and tools, each linked to the section that explains it.
This lab picks up where the Introduction to Probability Lab ends. It does not repeat sampling distributions, the standard error, Student's t or confidence intervals: it links back to them.
11
Student's t and confidence intervals
Chapter 11 of the Introduction to Probability Lab: point estimates, the t distribution and the confidence interval that a two-tailed t test mirrors.
The t distribution itself, in the Introduction to Probability Lab: its probabilities and critical values for any degrees of freedom, beside the normal.