Order Effects & Counterbalancing Lab
Interactive within-subjects experiment simulator: watch a fixed testing order confound the estimated treatment effect with practice/fatigue, and see counterbalancing cancel that bias in real time.
A within-subjects psychology experiment asks every participant to complete both a control and a treatment condition — which means the order they're tested in can leak into the results. This simulator runs a virtual repeated-measures study: each participant gets two bars, one per test position, colored by which condition landed there, with height driven by a transparent generative model (baseline ability + true treatment effect + order/practice effect + noise). Switch between a fixed testing order and a counterbalanced design and watch the naive group-level estimate drift away from — or snap back to — the true, ground-truth treatment effect, with live readouts for the estimate, its bias, and the raw position-to-position gap.
An interactive within-subjects experiment simulator: watch a fixed testing order confound the estimated treatment effect with practice or fatigue, then switch to counterbalancing and see that bias cancel out in real time.
3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install