HomeStatisticsStatistical Power & Type I/II Errors (2D)

Statistical Power & Type I/II Errors (2D)

Interactive 2D simulator: two overlapping sampling-distribution curves (null vs. alternative) show exactly how sample size, effect size and significance level trade off alpha, beta and statistical power. Drag the critical line directly, or watch the power curves react live.

Statistics2DAdvanced60 FPS📱 Mobile-adapted⇄ 3D version
2d-elementary-statistics ↗ Open standalone

Every hypothesis test balances two ways to be wrong: a Type I error (rejecting a true null, rate α) and a Type II error (missing a real effect, rate β). This 2D simulator plots the null and alternative sampling distributions as two overlapping curves, shaded by which decision region each slice falls in, with two live mini-charts tracing power against sample size and effect size. Drag sample size, effect size and significance level — or grab the critical line itself — and watch the split between false positives, misses and true detections update in real time, the same mechanics an A/B test or a clinical trial's power analysis runs on before a single subject is measured.

⚙ Under the hood

Drag sample size, effect size and significance level — or grab the critical line directly — to watch two overlapping 2D sampling-distribution curves split into Type I error, Type II error and statistical power in real time, with live mini-charts tracing power against n and d.

statisticshypothesis-testingstatistical-powertype-i-errortype-ii-errorsampling-distribution

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)