Introduction
Goal is to explain how bayesian approach in AB testing helps to serve a better statement by calculating the probability of the lift percentage after conducting an AB Test
Experiment Definition
In an AB Test, we split our users evenly into:
- Control They get the old webpage
- Treatment: They get the new webpage
Metric we want to track:
We have 3 weeks of logged exposure/conversion data. Let's define these terms:
Questions you should ask when setting up a test:
Data Collection
Let's use some A/B testing data: Kaggle Datasett
Each row is logged when user is exposed to a webpage.Frequentist Approach vs Bayesian Comparison
Beta Distribution explained
The Beta Distribution can be best explained with this article:
Beta Distribution Blog
The same logic has been used in the code while updating prior parameters with experiment conversion rates
Advantages of Bayesian over Frequentist