Kalman prediction step 2026-10-14
The Kalman prediction step advances the previous posterior mean and posterior covariance matrix through the state transition:The minus superscript marks information before observing . The transpose and matrix multiplication propagate the old uncertainty; adds the uncertainty of the new process noise. A known control input changes the mean but contributes no additional variance. If the control input itself is uncertain, that uncertainty needs its own model.
For independent normal observations conditional on , with mean and variances , and normal prior mean and variance , write . Multiplying likelihood and prior adds precisions . Completing the square gives the displayed posterior distribution. Its posterior mean is , where and . Thus the Bayes estimator under squared error loss is exactly the Bühlmann–Straub credibility estimate, not merely an approximation to it. Its posterior variance is .
Normal-normal credibility 2026-10-14
Conditionally independent normal distribution observations of mean and known variance , with normal prior mean and variance , give normal-normal conjugacy with known observation variance. Their posterior mean has the displayed exact credibility estimate form. It minimizes posterior squared-error loss and predicts the conditional mean of the next observation.
For conditionally independent annual averages and prior , the posterior mean is , with . Completing the quadratic likelihood gives posterior precision . This is an exact Bayesian credibility version of the Bühlmann–Straub credibility estimate. Increasing the between-risk prior variance increases the experience weight; increasing process variance decreases it. The next total pure premium is times the estimated per-life mean.
Past exam of the mathematics course of the University of Cambridge 2001 iii Paper 27 3 Solution 2026-10-14
A credibility factor is the weight assigned to a particular risk's observed experience when blending it with a population or manual premium. In the Bühlmann model, the blend is the best affine mean-square predictor, rather than automatically the full posterior mean.
Let , the expected process variance, and assume the displayed second moments are finite. The law of total expectation gives . The law of total variance and law of total covariance giveFor the second formula, the conditional covariance is zero by conditional independence, while the covariance of the conditional means is , the variance of hypothetical means. Likewisebecause .
To derive the Bühlmann credibility premium, minimize . Differentiating in sets the predictor's mean to . The remaining normal equations areFor , subtracting any two rows forces all to be equal, then gives . Thus the premium and factor areThe same affine premium predicts : conditional independence makes , so minimizers agree. If , every year's amount equals almost surely, and gives the exact risk mean even though the coefficient vector need not be unique.
For fixed , . Thus more within-risk variation decreases credibility: individual experience becomes less informative, as , and the premium tends to . Increasing the number of observed years has the opposite effect.
For numerical estimation from a balanced panel, assume the risks are independent draws from the same risk population, with comparable exposures, and . SetConditionally, each within-risk sample variance has mean ; hence . The risk sample means have variance , so . Therefore is an unbiased method of moments estimate of . For a usable nonnegative variance estimate take , noting that this truncation sacrifices exact unbiasedness.
The balanced-panel method-of-moments credibility estimate for risk is consequentlyIf and , use zero credibility. If both estimates are zero, the within and between sums of squares are zero and all the observed amounts coincide; any blend gives that same premium. With only one year per risk or only one risk, these within/between estimators are unavailable, so external structural estimates or additional assumptions are necessary.
Past exam of the mathematics course of the University of Cambridge 2001 iii Paper 29 4 iii Solution Created 2026-10-03 Updated 2026-10-14
For any prior density , the Bayes estimate under squared-error loss is the posterior mean:For the matched beta distribution, the integrals are beta integrals and their ratio isThe posterior mean minimizes posterior expected squared error because . The phrase Bayes point estimate depends on the loss: under absolute-error loss it would be a posterior median, while the posterior mode is a different summary and here equals .
Past exam of the mathematics course of the University of Cambridge 2001 iii Paper 29 4 ii Solution Created 2026-10-03 Updated 2026-10-14
The posterior mean is a weighted average of the sample proportion and prior mean:Thus it is pulled from 10% toward the prior's 5%, giving about 7.17%. This is an affine shrinkage estimator for a binomial proportion. The prior carries substantial concentration relative to the 90 observations, so the posterior is also more precise under this model: its standard deviation is about , compared with the binomial plug-in standard error . The posterior 95% credible interval is narrower and shifted down compared with the simple Wald interval based on alone.
The point estimate shrinks toward the historical mean, and the interval is narrower under the informative prior. A credible interval and a frequentist confidence interval have different probability interpretations; the comparison does not make the prior's relevance automatic.
Past exam of the mathematics course of the University of Cambridge 2001 iii Paper 29 4 i Solution Created 2026-10-03 Updated 2026-10-14
A beta distribution is a convenient prior for a probability and is conjugate to the binomial distribution of the death count. Match its mean and variance . For ,The moment matching for a beta prior formula givesConditional on , use and the observed count . Multiplying its likelihood by the prior density gives the Bayesian posterior through Beta-binomial conjugacy:Under squared-error loss, take its posterior mean as the point estimate. A 95% equal-tail credible interval is given by its 0.025 and 0.975 quantiles. Numerically,Matching two moments does not uniquely determine a prior distribution; the beta family is a justified convenient choice, not a conclusion forced by those moments. Its transfer to this hospital presumes that the historical between-hospital distribution is relevant to the present risk and case mix.
Past exam of the mathematics course of the University of Cambridge 2003 ib Paper 2 3H Solution Created 2026-09-24 Updated 2026-10-14
Assume the known variances are positive and write . The likelihood times the normal prior distribution is proportional toCollecting the quadratic and linear terms in completes the square with precision and mean . Thus normal-normal conjugacy givesFor quadratic loss, the posterior risk of reporting is , uniquely minimized at . For absolute-error loss, differentiating the posterior risk gives , so its minimizer is a posterior median. The normal posterior is symmetric about and has a strictly increasing distribution function, hence that median is uniquely . Therefore both optimal point estimates equal , the posterior mean.
Past exam of the mathematics course of the University of Cambridge 2003 iii Paper 39 4 Solution Created 2026-10-03 Updated 2026-10-14
A credibility premium estimates a risk's expected future claims by combining its own observed experience with a collective or prior mean. In its basic form , the credibility factor is the weight assigned to individual experience. Larger credibility places less weight on pooling with the population. The amounts below are pure expected-claim premiums; no additional expense or profit loading is specified.
Under squared-error loss, the posterior risk for estimating the unknown conditional mean by isHence the Bayes estimator under squared error loss is the posterior mean. In the equal-year model, conditional independence makes the likelihood proportional to . Combining it with the normal prior and completing the square givesBecause , the required estimator is ; it also equals the predictive mean . The normal-normal credibility expression isThis is exact Bayesian credibility, not merely the best linear approximation to a possibly nonlinear posterior mean.
For unequal life counts use the usual exposure model: individual-life losses are conditionally independent with variance , and the annual totals are conditionally independent given the same . ThenThe dot denotes the stipulated normal approximation. The positive exposures are known. Define total past exposure and its experience mean byThe normal log-likelihood has quadratic term . With the prior , normal-normal conjugacy with unequal exposures gives posterior variance and meanTherefore the estimated pure premium per life for year has the normal-normal credibility with unequal exposures formIt is also an exact normal-model Bühlmann–Straub credibility estimate. The individual experience is exposure-weighted: the unweighted mean of the yearly per-life observations would generally discard the different precisions.
For positive , differentiation givesThus increasing the prior variance increases credibility, because greater between-risk heterogeneity makes the collective mean less representative of this risk. Increasing the individual process variance decreases credibility, because a fixed amount of observed experience becomes noisier. The future exposure supplies no new observation, so it does not enter . It only scales the total premium:The independent-life variance scaling is part of the usual exposure interpretation. Without it, a known variance for one life does not determine the variance of a total: a common pairwise conditional covariance would add to . Similarly, cross-year conditional dependence would change the joint likelihood. Those assumptions are implicit in applying the standard credibility model to the final paragraph.
Past exam of the mathematics course of the University of Cambridge 2005 iii Paper 43 4 ii Solution Created 2026-10-03 Updated 2026-10-14
Given , the sum of the independent yearly counts is : their probability generating functions multiply to . Averaging this conditional law over the prior gives the mixed Poisson distributionThe likelihood for the full vector depends on only through , so is a sufficient statistic; conditioning on the total or on the full observed vector gives the same posterior for .
For an event of positive probability , the posterior density is proportional to . Put . Its mean is . The future count has conditional mean , soThis is the posterior mean from adjacent mixed Poisson probabilities. Both probabilities refer to the same -year exposure; the numerator is not a probability for . For a proper prior and , the integrals defining this posterior mean are finite because is bounded on .
Past exam of the mathematics course of the University of Cambridge 2006 ib Paper 1 7C Solution Created 2026-09-24 Updated 2026-10-14
For the independent normal distribution observations, the log likelihood isIts derivative is and its second derivative is , so the unique maximum-likelihood estimate isFor the prior with , multiplying prior density by likelihood and completing the square givesThus normal-normal conjugacy gives the posterior distributionFor quadratic loss, the conditional expected loss of action is the posterior variance plus . Its unique minimizer is the posterior mean, so the Bayes estimator isThis weights the sample and prior means by their respective precisions.
Past exam of the mathematics course of the University of Cambridge 2006 iii Paper 43 4 Solution Created 2026-10-03 Updated 2026-10-14
Let be the total exposure, and define the prior distribution expected value, prior variance and average binomial noise bySince the prior distribution has a probability density function on , and . All relevant moments exist because the parameter and observations are bounded. The binomial distribution givesThe law of total expectation, law of total variance and law of total covariance consequently yieldIn 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 isFor fixed slopes, the first term is uniquely minimized by . For fixed sum , the Cauchy-Schwarz inequality giveswith equality exactly when . Thus the remaining optimization is the strictly convex quadraticIts derivative vanishes at . Consequently the Bühlmann–Straub credibility estimate isThe 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 andTo 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 givesFinally, for an arbitrary reported value , conditional quadratic loss decomposes asThe 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.
Past exam of the mathematics course of the University of Cambridge 2007 ii Paper 3 26I i Solution Created 2026-09-24 Updated 2026-10-14
For a prior and loss , the Bayes risk of a rule is . A Bayes decision rule minimizes this integrated risk. An Extended Bayes rule is a rule whose excess over the optimal Bayes risk can be made arbitrarily small by a suitable proper prior: for every some has , with finite risks.
Condition on the observation and use iterated expectation. A rule is Bayes precisely when it chooses a minimizer of the posterior expected loss almost surely, up to the usual measurability requirement. Under squared Euclidean loss, with a finite posterior second moment, write . The identityshows that the Bayes rule is the posterior mean.
Past exam of the mathematics course of the University of Cambridge 2008 iii Paper 44 3 c Solution Created 2026-10-03 Updated 2026-10-14
By normal-normal conjugacy, the posterior distribution isThe posterior mean is a precision-weighted average of the population mean and the observed personal measurement.
Past exam of the mathematics course of the University of Cambridge 2009 iii Paper 36 2 c Solution Created 2026-10-03 Updated 2026-10-14
A constant improper prior would give the formal posterior density kernel . However,There is no normalized posterior distribution under this prior. The failure is not simply that the prior is improper: some improper priors give proper posteriors. Here posterior propriety itself fails after this single observation, so probabilities, quantiles and a posterior mean cannot be assigned to that kernel.
Past exam of the mathematics course of the University of Cambridge 2009 iii Paper 36 2 d Solution Created 2026-10-03 Updated 2026-10-14
Write , with . The truncated uniform prior gives the posterior distributionIts posterior mean isEach term in the numerator of the expectation is , which explains the exact count .
Past exam of the mathematics course of the University of Cambridge 2009 iii Paper 36 2 e Solution Created 2026-10-03 Updated 2026-10-14
Keep fixed. Integral bounds for the decreasing function give , so . ConsequentlyThe posterior mean thus grows like instead of approaching a data-determined limit. Even the posterior distribution mass below a fixed endpoint is . Hence increasing the supposedly innocuous prior cutoff moves the inference to larger and larger endpoints. In an integral approximation its median is of order , also depending strongly on the cutoff. This explains the sensitivity of the entire inference, not just of its posterior mean.