Home▸Medicine & Biophysics▸Randomised Two-Arm Trial: Statistical Power, Sample Size and the Two Error Types

Randomised Two-Arm Trial: Statistical Power, Sample Size and the Two Error Types

Run thousands of simulated two-arm clinical trials and see how often a real treatment effect is detected. Change the effect size, patient variability, group size and significance level to move the null and alternative distributions of the test statistic, shade the false-positive and false-negative regions, and find the sample size needed for a target power. A Blender-built stage with checks of power, type I error and sample size against Monte Carlo and brute-force integration.

Medicine & Biophysics3DModerate60 FPS📱 Mobile-adapted🟠 Blender⇄ 2D version
Randomised Two-Arm Trial: Statistical Power, Sample Size and the Two Error Types ↗ Open standalone

Run thousands of simulated two-arm clinical trials and see how often a real treatment effect is detected. Change the effect size, patient variability, group size and significance level to move the null and alternative distributions of the test statistic, shade the false-positive and false-negative regions, and find the sample size needed for a target power. A Blender-built stage with checks of power, type I error and sample size against Monte Carlo and brute-force integration.

⚙ Under the hood

Run thousands of simulated two-arm clinical trials and see how often a real treatment effect is detected. Change the effect size, patient variability, group size and significance level to move the null and alternative distributions of the test statistic, shade the false-positive and false-negative regions, and find the sample size needed for a target power. A Blender-built stage with checks of power, type I error and sample size against Monte Carlo and brute-force integration.

Clinical ResearchStatistical PowerSample SizeType I ErrorType II ErrorClinical Trial Design

3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)