Randomised Two-Arm Trial: Power Curves and Repeated Trials (2D)
Power, sample size and the two error types of a two-arm trial. Same shared model as the 3D stage: null and alternative distributions, Monte Carlo repeated trials and the required sample size.
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.
Power, sample size and the two error types of a two-arm trial. Same shared model as the 3D stage: null and alternative distributions, Monte Carlo repeated trials and the required sample size.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install