Why Reparameterize?
A beta-binomial model describes grouped successes when the trials in a group share an unobserved success probability. Its usual beta shape parameters determine the model, but they are not immediately easy to interpret: changing either shape can change both the average success probability and the amount of within-group dependence. A mean-correlation parameterization separates these roles.
Write \(Y\) for the number of successes among \(m\) trials in one group. The model assumes a group-specific probability \(P\), with \(P\) following a beta distribution, and then \(Y\mid P\) following a binomial distribution. The marginal mean success probability is denoted by \(\mu\), and \(\rho\) denotes the correlation between two distinct trial outcomes in the same group.
From Beta Shapes to Mean and Correlation
Let \(\kappa=a+b\), the total beta concentration. The beta distribution has mean \(a/\kappa\) and variance \(ab/\{\kappa^2(\kappa+1)\}\). Conditional on \(P\), the trial indicators are independent Bernoulli variables with success probability \(P\). Marginally, however, they are correlated because they share the same random \(P\).
For distinct trials \(j\) and \(k\), the conditional expectation of \(Z_jZ_k\) is \(P^2\). Thus the covariance of their outcomes is the variance of the shared probability. The individual trial variance is \(\mu(1-\mu)\), so their correlation is the variance of \(P\) divided by \(\mu(1-\mu)\). This gives the mapping below.
Worked Example: Converting Mean and Correlation to Beta Shapes
Suppose the marginal success probability is \(\mu=0.40\) and the within-group correlation is \(\rho=0.20\). Find the beta shape parameters.
First calculate the total concentration: \(\kappa=(1-\rho)/\rho=0.80/0.20=4\). Then \(a=\mu\kappa=0.40(4)=1.6\) and \(b=(1-\mu)\kappa=0.60(4)=2.4\). Both shapes are positive, and their sum is \(4\). Checking the parameters in the forward direction gives \(a/(a+b)=1.6/4=0.40\) and \(1/(a+b+1)=1/5=0.20\), as required.
The mean-correlation description makes the interpretation direct: the marginal risk is 0.40, while the correlation induced between two trials in the same group is 0.20.
Parameter Constraints and Boundary Interpretations
A proper beta distribution requires both shape parameters to be strictly positive. In the mean-correlation formulation, this is exactly the restriction \(0<\mu<1\) and \(0<\rho<1\). For example, when \(\mu\) is strictly between zero and one, both \(\mu(1-\rho)/\rho\) and \((1-\mu)(1-\rho)/\rho\) are positive if and only if \(\rho\) lies strictly between zero and one.
The lower boundary \(\rho=0\) is interpreted as a limit, not as a proper beta distribution with finite shape parameters. Holding \(\mu\) fixed and letting \(\rho\) decrease to zero makes \(\kappa\) grow without bound. The random probability \(P\) then concentrates around \(\mu\), and the beta-binomial distribution approaches the ordinary binomial distribution. At the other boundary, as \(\rho\) increases to one, \(\kappa\) tends to zero. The limiting group probability is at an endpoint: a group has all failures with probability \(1-\mu\) or all successes with probability \(\mu\). Neither boundary is represented by a proper beta distribution with \(a,b>0\).
Worked Example: Checking the Valid Range
Suppose a proposed model uses \(\mu=0.65\) and \(\rho=1.20\). Determine whether it corresponds to a proper beta-binomial model.
The mean is within its required range because \(0<0.65<1\). But the correlation must also satisfy \(0<\rho<1\), which \(1.20\) does not. Direct conversion confirms the problem: \(\kappa=(1-1.20)/1.20=-1/6\); therefore \(a=\mu\kappa=-0.1083\ldots\) and \(b=(1-\mu)\kappa=-0.0583\ldots\). Negative beta shapes are invalid.
By contrast, if \(\rho=0.25\) with the same mean, then \(\kappa=0.75/0.25=3\), \(a=0.65(3)=1.95\), and \(b=0.35(3)=1.05\). These are positive shapes and give a proper beta-binomial model.
Deriving the Intraclass Correlation and Count Variance
The connection between \(\rho\) and overdispersion follows from the shared probability \(P\). The derivation also explains why the mean-correlation parameterization changes dependence without changing the marginal mean.
Proof. Set \(\kappa=a+b\), and write \(B(a,b)\) for the beta function. The beta integral gives \(E[P^r]=B(a+r,b)/B(a,b)\); using \(B(a+1,b)=aB(a,b)/\kappa\) and \(B(a+2,b)=a(a+1)B(a,b)/\{\kappa(\kappa+1)\}\), we obtain \(E[P]=a/\kappa=\mu\) and \(E[P^2]=a(a+1)/\{\kappa(\kappa+1)\}\). Subtracting the square of the mean gives \[ \operatorname{Var}(P) =\frac{a(a+1)}{\kappa(\kappa+1)}-\frac{a^2}{\kappa^2} =\frac{ab}{\kappa^2(\kappa+1)} =\frac{\mu(1-\mu)}{\kappa+1}. \]
For any trial \(j\), iterated expectation gives \(E[Z_j]=E[E[Z_j\mid P]]=E[P]=\mu\), so \(\operatorname{Var}(Z_j)=\mu(1-\mu)\). Conditional independence gives \(E[Z_jZ_k\mid P]=P^2\) for \(j\ne k\), hence \(\operatorname{Cov}(Z_j,Z_k)=E[P^2]-\{E[P]\}^2=\operatorname{Var}(P)\). Consequently their correlation is \(\operatorname{Var}(P)/\{\mu(1-\mu)\}=1/(\kappa+1)=\rho\). Finally, since \(Y\) is the sum of \(m\) indicators, \[ E[Y]=\sum_{j=1}^m E[Z_j]=m\mu, \] and \[ \operatorname{Var}(Y) =\sum_{j=1}^m\operatorname{Var}(Z_j) +2\sum_{j<k}\operatorname{Cov}(Z_j,Z_k) =m\mu(1-\mu)+m(m-1)\rho\mu(1-\mu). \] Factoring gives the stated variance. \(\square\)
The variance multiplier relative to a binomial count with the same mean is \(1+(m-1)\rho\). It equals one when the binomial limit \(\rho=0\) is taken, and increases with \(\rho\) whenever \(m>1\). Thus \(\mu\) sets the marginal success probability and expected count, while \(\rho\) controls the extra variability caused by within-group dependence.
Worked Example: The Count Variance at Different Correlations
A group has \(m=5\) trials and marginal success probability \(\mu=0.40\). Calculate the count variance for \(\rho=0.10\) and compare it with the binomial variance.
The binomial variance at the same mean is \(m\mu(1-\mu)=5(0.40)(0.60)=1.20\). For \(\rho=0.10\), the multiplier is \(1+(m-1)\rho=1+4(0.10)=1.40\). Therefore \(\operatorname{Var}(Y)=1.20(1.40)=1.68\). The expected count remains \(E[Y]=5(0.40)=2\). The additional \(0.48\) of variance reflects dependence within the group; it does not change the expected number of successes.
Beta-Binomial Probabilities in This Parameterization
For a count \(y\in\{0,\ldots,m\}\), integrating the conditional binomial probability over the beta distribution gives \(P(Y=y)=\binom{m}{y}B(a+y,b+m-y)/B(a,b)\). In the mean-correlation parameterization, substitute \(a=\mu(1-\rho)/\rho\) and \(b=(1-\mu)(1-\rho)/\rho\). This expresses the entire count distribution in terms of its marginal risk and its intraclass correlation. The formula is useful for checking that parameter changes affect the full distribution in the intended way, not just its variance.
Worked Example: A Beta-Binomial Count Probability
Use the parameters from the first example, \(a=1.6\), \(b=2.4\), and consider \(m=3\). Find the probability of exactly two successes.
The beta-binomial probability is \[ P(Y=2)=\binom{3}{2}\frac{B(1.6+2,\,2.4+1)}{B(1.6,2.4)}. \] Using \((u)_r=u(u+1)\cdots(u+r-1)\), the beta-function ratio is \((a)_2(b)_1/(a+b)_3\). Therefore \[ P(Y=2) =3\frac{(1.6)(2.6)(2.4)}{(4)(5)(6)} =\frac{29.952}{120} =0.2496. \] This is the probability under the model with mean risk \(0.40\) and within-group correlation \(0.20\); it is not the binomial probability obtained by treating the three outcomes as marginally independent.
How the Parameters Work in a Regression Model
In a beta-binomial regression, covariates commonly determine the marginal risk through a link function, for example \(\operatorname{logit}(\mu_i)=x_i^\mathsf{T}\beta\). The dispersion parameter \(\rho\) may be held common across groups. With this specification, changing a regression coefficient changes the fitted risks \(\mu_i\) and hence the expected counts \(m_i\mu_i\). Changing \(\rho\) leaves those marginal fitted risks and expected counts unchanged, while changing the within-group dependence and the count variance.
For a group of size \(m_i\), the variance is \(m_i\mu_i(1-\mu_i)\{1+(m_i-1)\rho\}\). Both parameters appear in this expression, but in different ways: \(\mu_i\) determines the binomial mean-variance component, and \(\rho\) multiplies that component to account for extra variation. The same value of \(\rho\) need not produce the same absolute variance increase in groups with different fitted risks.
Worked Example: Separating Fitted Risk From Dispersion
Suppose the logit model is \(\operatorname{logit}(\mu_x)=\log(2)x\), with a group size \(m=4\) and common \(\rho=0.15\). Calculate fitted risks and count variances at \(x=0,1,2\). Then describe what happens if \(\rho\) is changed to zero.
At \(x=0\), the linear predictor is 0, so \(\mu_0=1/(1+e^0)=0.5\). At \(x=1\), it is \(\log 2\), so \(\mu_1=2/(1+2)=2/3\). At \(x=2\), it is \(\log 4\), so \(\mu_2=4/(1+4)=0.8\).
The variance multiplier is \(1+3(0.15)=1.45\). Thus, at \(x=0\), \(\operatorname{Var}(Y)=4(0.5)(0.5)(1.45)=1.45\). At \(x=1\), \(\operatorname{Var}(Y)=4(2/3)(1/3)(1.45)=1.288888\ldots\), or approximately \(1.2889\). At \(x=2\), \(\operatorname{Var}(Y)=4(0.8)(0.2)(1.45)=0.928\). The expected counts are respectively \(2\), \(8/3\), and \(3.2\).
If \(\rho\) is changed to zero while the regression coefficients remain fixed, the fitted risks and expected counts stay the same. The variances become the binomial values \(1\), \(8/9\approx0.8889\), and \(0.64\), respectively. The reduction is due to removing the shared-probability dependence, not to changing the fitted risks.
Common Mistake and Practical Interpretation
- Mistake: treating \(\rho\) as a multiplier of the fitted mean. A larger \(\rho\) does not increase \(\mu\) or \(m\mu\). It increases the correlation among trials and the variance multiplier \(1+(m-1)\rho\).
- Mistake: assuming any positive number is a valid correlation parameter. The beta-binomial requires \(0<\rho<1\) for proper beta shapes. A proposed value outside that interval cannot be converted into valid positive shapes.
- Mistake: calling the marginal trials independent because each has success probability \(\mu\). Each trial does have marginal success probability \(\mu\), but two trials sharing \(P\) have covariance \(\operatorname{Var}(P)>0\) for a proper beta distribution.
- Mistake: expecting overdispersion to affect every group equally in absolute units. The multiplier is common when \(\rho\) is common, but the binomial component \(m_i\mu_i(1-\mu_i)\) varies with group size and fitted risk.
Check Your Understanding
Use the definitions and derivations above to answer the following questions.
- For \(\mu=0.30\) and \(\rho=0.10\), calculate \(a\), \(b\), and \(a+b\).
- Why are two trial outcomes in the same group positively correlated under a proper beta-binomial model?
- For \(m=6\) and \(\rho=0.08\), what is the variance multiplier relative to a binomial count with the same mean?
- If a regression model changes \(\rho\) but leaves its coefficients fixed, which fitted quantities remain unchanged and which distributional feature changes?
- Explain why \(\rho=0\) is a useful limiting case but does not correspond to finite positive beta shapes.