Bayesian experiments allow you to specify a prior belief on the relative average treatment effect. Statsig will combine the prior distribution with the observed data to display the prior-adjusted results. You can enable this by selecting the option to “use informative priors”.
Drawing the Correct Prior Distribution From Historical Data
If you are using the Bayesian with informative priors, the assumption is that you have a clear understanding of what power the priors have over your experimental results, and your organization has established a reliable prior based on the domain knowledge. With that said, here are some patterns people follow to derive their priors:
You can use the AVG(average treatment effect) of past experiments with a similar setup and population as your prior mean. You can use the standard deviation, or a multiple of it, as the prior standard error.
You can also use the AVG(observed standard error) as your prior standard error.
Denote N(ATEprior,STEprior2) as the prior distribution, where ATEprior is the average treatment effect and STEprior is the standard error. Similarly, N(ATEobserved,STEobserved2) as the observed distribution.The posterior distribution is then calculated asATEpost=STEprior21+STEobserved21STEprior2ATEprior+STEobserved2ATEobservedSTEpost2=STEprior21+STEobserved211If the prior is not specified, the N(ATEprior,STEprior2) is represented as N(0,∞).
Bayesian A/B tests have a glossary that are different from the frequentist framework and often believed to be more intuitive in communication to non-technical audience.
Credible Interval: the interval which we believe contains the true parameter at the given probability
Chance to Beat: the probability that the test is better than control
Expected Loss: the average potential risk if you ship test