Waiting room — press Run trial
Treatment (drug) Control (placebo) Recovered Not recovered
⚠ Couldn't load the 3D engineThree.js failed to load from the CDN. Check your connection and reload.

Clinical Trial Design Simulator

This simulator visualizes the core statistical machinery of a randomized controlled trial. A pool of simulated patients is randomly split into a treatment arm (real drug) and a control arm (placebo); each patient carries a hidden true recovery probability built from a baseline rate, the drug's real effect if they were randomized to treatment, and individual noise. After the trial "runs," recovery outcomes are revealed group by group and a real two-proportion z-test computes the p-value and 95% confidence interval for the difference between arms. Adjust sample size, true effect size and patient variability to see how statistical power — the ability to detect a real effect — depends on all three.