English

Straightforward Bayesian A/B testing with Dirichlet posteriors

Methodology 2025-08-12 v1

Abstract

Bayesian A/B testing investigates metric changes using the joint posterior distribution of two (or more) experimentally-derived datasets. The construction of said joint posterior is often a time-consuming process requiring specialized knowledge and domain expertise. In businesses that perform tens to hundreds of A/B tests per month it is important to have a robust analysis pipeline that can handle the variety of experiments performed on a modern web platform; requiring a domain expert to select appropriate prior and likelihood distributions for each experiment simply does not scale. In this work, we highlight a solution to this problem using a generalized approximation of the true joint posterior using a Dirichlet-Categorical model. While a manually-constructed, expert-tuned model for every dataset is preferable, the Dirichlet-Categorical approximation performs sufficiently well in both simulations and real-world scenarios to be internally used as the standard analysis method.

Keywords

Cite

@article{arxiv.2508.08077,
  title  = {Straightforward Bayesian A/B testing with Dirichlet posteriors},
  author = {Dustin Hayden and Thomas Armitage},
  journal= {arXiv preprint arXiv:2508.08077},
  year   = {2025}
}

Comments

30 pages, 20 figures, companion paper to accepted talk at the Royal Statistical Society International Conference 2025

R2 v1 2026-07-01T04:44:31.501Z