Visitor flow: gate, variants A and B, conversions
Live statistic of the lesson

A/B Testing Traps Lab: Visitor Flow Chart and Live Statistic Graph

Three traps in online experiments on synthetic visitors. Peeking: testing repeatedly and stopping at the first significant result inflates the false-alarm rate (exact density recursion compared with Monte Carlo, and Pocock and O'Brien-Fleming type alpha spending that restore 5 percent). Sample ratio mismatch: a chi-square test on the assignment counts catches a logging bug that would otherwise fabricate a lift. Bandits: Thompson sampling and UCB1 cut regret to a logarithm of the number of users, against the linear regret of a fixed 50/50 split. Closed-form sample size and power included. Illustrative synthetic data, not statistical advice.

Made with 🟠 Blender