Let be the total exposure, and define the prior distribution expected value, prior variance and average binomial noise by
Since the prior distribution has a probability density function on , and . All relevant moments exist because the parameter and observations are bounded. The binomial distribution gives
The law of total expectation, law of total variance and law of total covariance consequently yield
In particular, conditional independence of the annual observations does not imply unconditional independence: they share the uncertain parameter.
To derive the optimal credibility estimate among affine functions of the observations, put and write . The conditional errors have zero conditional expectation, conditional variance , and zero pairwise conditional covariances. They are also uncorrelated with every integrable function of . Therefore the joint mean squared error is
For fixed slopes, the first term is uniquely minimized by . For fixed sum , the Cauchy-Schwarz inequality gives
with equality exactly when . Thus the remaining optimization is the strictly convex quadratic
Its derivative vanishes at . Consequently the Bühlmann–Straub credibility estimate is
The individual coefficients are and . The strict quadratic minimizations establish global optimality and uniqueness, not just necessary equations. Here is the variance of hypothetical means, is the expected process variance, and is the Bühlmann–Straub credibility factor. More exposure gives more weight to the observed claim fraction. Since , the estimate remains between the observed pooled fraction and the prior expected value. If one separately permits a degenerate prior, leads to the constant estimate , interpreted as .
For the uniform distribution prior on ,
With two years, put and . Then and
To compare with the Bayes estimator under squared error loss, use conditional independence to multiply the two binomial likelihood functions. Terms independent of cancel on normalization, and the uniform prior makes the posterior density proportional to . Hence Beta-binomial conjugacy gives
Finally, for an arbitrary reported value , conditional quadratic loss decomposes as
The unique minimum is the posterior mean. Therefore the affine credibility estimate and the exact Bayesian estimate coincide in this case. The agreement illustrates exact beta-binomial credibility with unequal exposures; for a general prior distribution, minimizing over affine functions of the observations need not recover the unrestricted posterior mean.
A credibility estimate combines a risk's own observed experience with a collective or prior mean, in the form . The credibility factor is the weight given to that risk's experience. Bayesian credibility starts with a prior distribution for a latent risk parameter, updates it using observations, and estimates the conditional risk mean by its Bayesian posterior expected value under squared-error loss. In conjugate models this posterior mean can have exactly the displayed credibility form.
For the unequal policy exposures, define
Conditional independence of the binomial distribution observations gives the likelihood, up to a factor not depending on ,
Multiplication by the beta distribution prior therefore gives Beta-binomial conjugacy:
Both posterior parameters are positive, since and the prior parameters are positive.
The conditional target is . To verify the quadratic-loss rule directly, for any proposed estimate and observed data ,
The variance term does not depend on , so the unique Bayes estimator under squared error loss is the posterior mean. Applying the beta mean formula gives
It is also the posterior expected future claim count, by the tower property of conditional expectation.
Let be the collective prior claim probability and the observed claims per policy. Then
Therefore the exact beta-binomial credibility with unequal exposures is
The individual experience must be weighted by exposure: is the policy-weighted frequency, not the unweighted average of when the differ. The factor multiplies next-year expected counts after scaling both component probabilities by .