Contents
We are working on the Beta-Binomial conjugate posterior for Bayesian inference on a proportion parameter , where the prior is , the data follow a Binomial model , and the posterior is . This applies to Bernoulli/Binomial success-count settings such as conversions, churn responses, click-throughs, or defect rates, under the usual assumptions of identical trials and conditional independence given .
Deep Breakdown
The Beta-Binomial conjugacy result is one of the most important closed-form updates in Bayesian statistics. It tells us how to update prior beliefs about an unknown success probability after observing data summarized as successes out of trials.
The setup has three parts:
- Unknown parameter: , the true probability of success.
- Prior belief: before seeing the data, we model with a Beta distribution.
- Observed data: we observe successes in Bernoulli trials, summarized by a Binomial likelihood.
The reason this is called conjugacy is that the posterior stays in the same family as the prior. If the prior is Beta, then after seeing Binomial data, the posterior is still Beta, just with updated parameters. This matters in data analytics and data science because many business questions are about proportions:
- conversion rate,
- click-through rate,
- open rate,
- defect rate,
- repayment rate,
- retention probability in a fixed window.
Instead of estimating only one number, such as , Bayesian updating gives a full posterior distribution over plausible values of . That lets us quantify uncertainty directly and make probability statements such as:
- probability that conversion rate exceeds 5%,
- probability that variant B is better than variant A,
- posterior interval for churn probability.
The Beta prior has density:
The Binomial likelihood, as a function of , is:
Multiplying prior and likelihood gives:
which is exactly the kernel of another Beta distribution:
This update can be interpreted as adding observed successes and failures to prior pseudo-counts:
-
prior success pseudo-count: in one interpretation,
-
prior failure pseudo-count: in one interpretation, or more operationally, the posterior parameters behave like:
-
updated success strength: ,
-
updated failure strength: .
This makes the model intuitive, computationally efficient, and especially useful in A/B testing, Bayesian dashboards, and decision-making under uncertainty.