Dual-Curve H₀ vs. H₁ p-Value & Statistical Power Lab
Click observed statistics to shade exact one/two-tailed p-values and inspect Type I (α), Type II (β), and Power (1−β) dynamically.
Balance false alarms (α) against missed discoveries (β) on overlapping H₀ and H₁ bells—and cure the #1 p-value misconception forever.
Clinical trial sample-size calculation, quality defect alarms, and digital experiment stopping rules.
What does a -value actually measure under the null world —and how do effect size , sample size , and threshold trade off false alarms against Statistical Power ?
A -value is assuming the null model holds—never , which requires a Bayesian prior odds ratio.
Tightening false-alarm threshold lowers Type I errors at the direct cost of shifting rejection cutoffs outward, shrinking Statistical Power under unless grows.
If you get p = 0.03, does that mean there is a 3% chance the null hypothesis is true—and why can an underpowered study miss a real cure half the time?
Slide true effect δ = μ₁ − μ₀, sample size n, and threshold α between overlapping H₀ and H₁ curves, then click any observed x̄ to shade its live p-value tail and Power (1 − β).
Statistical significance (small p) ≠ large practical effect when n is huge. Module S.5 extends these tests to comparing two groups, tables, and multiple treatments.
Null Hypothesis Significance Testing works just like a courtroom trial: start assuming the skeptical status quo (“no real effect / innocent”) is true. Then compute the -value: if really were true, how bizarre would it be to witness data at least as extreme as ours? If (typically 0.05), the verdict crosses beyond reasonable doubt and we reject . Click right along the axis below to shade live -values and see why low sample size hides genuine breakthroughs ( Miss Rate)!
Preparing interactive canvas & numerical solver…
wanna math drafting viewport
Remember Bayes (S.2.2)! A 3% -value does NOT mean “3% chance the null is true”—it assumes the null is true and scores how weird your data looks under that assumption!
With , (), two-tailed sets rejection cutoff at . If true :
Slide n = 200 with a tiny δ = 0.8 (d = 0.08) and click at 1.5: you can easily hit for a trivially useless effect! Always report Confidence Intervals + Effect Size alongside .
Real A/B experiments rarely test against a fixed textbook —they compare Group A vs. Group B, contingency tables, and multi-treatment ANOVA in Module S.5!
Equating with a null probability ignores the prior base rate of . Equivalently, rejecting at level matches checking whether lies outside the CI!
Underpowered studies () not only miss true effects—statistically significant “wins” in noisy, underpowered tests severely exaggerate effect sizes (“winner's curse”).
With millions of observations, a tiny change produces even if practically worthless—always report the confidence interval and effect size alongside .
Click observed statistics to shade exact one/two-tailed p-values and inspect Type I (α), Type II (β), and Power (1−β) dynamically.