Why Engineers Should Care About A/B Testing

A/B testing (also called a controlled experiment or split test) is a method for comparing two versions of something — a website feature, a control algorithm, a material batch, a process setting — by randomly assigning subjects to one version or the other and measuring which performs better on a defined outcome. Though the term originated in web and product analytics, the underlying statistical framework is exactly the experimental design and hypothesis-testing methodology that has existed in engineering and science for a century, and it applies directly and usefully to comparing two control algorithms on a machine, two batches of raw material, or two settings of a manufacturing process. This article covers the statistical fundamentals — hypothesis testing, significance, sample size and power — and the pitfalls that most commonly invalidate an otherwise well-intentioned engineering experiment.