For a posterior distribution with finite first moment, the posterior risk derivative at continuity points is . Convexity therefore makes a posterior -quantile a Bayes estimator. With atoms, the condition is . Increasing the cost of underestimation moves the optimal estimate upward.
Gamma-exponential conjugacy Created 2026-09-24 Updated 2026-10-03
A gamma prior with shape and rate combined with independent observations from an exponential distribution of rate gives the posteriorUnder squared-error loss, the Bayes estimator is its posterior mean .
Past exam of the mathematics course of the University of Cambridge 2002 ib Paper 4 12H Solution Created 2026-09-24 Updated 2026-10-14
A prior distribution assigns uncertainty to a parameter before observing data. Multiplying its density by the likelihood and normalizing gives the posterior distribution. A Bayes estimator minimizes the posterior expected loss function for each observed sample, and therefore minimizes integrated Bayes risk when the expectations exist.
For quadratic loss , the conditional risk is , so its minimizer is the posterior mean. For absolute loss , the one-sided derivatives or subgradients show that a minimizer is any posterior median, characterized by and .
For the stated uniform distribution sampling model, let , . The likelihood is on and zero elsewhere. Intersecting this interval with the uniform prior givesWhen , the bounded uniform-location posterior isThe posterior is symmetric, so its mean and unique median coincide. If , the data have zero marginal likelihood under the stipulated prior/sampling model and this posterior density cannot be normalized. An empty or singleton intersection is not an ordinary uniform posterior of positive width.
Past exam of the mathematics course of the University of Cambridge 2004 ib Paper 4 19H i Solution Created 2026-09-24 Updated 2026-10-14
Under squared-error loss, the posterior expected loss decomposes asIt is uniquely minimized by the posterior mean. Integrating the Gamma posterior gives . Hence the Bayes estimator is
Past exam of the mathematics course of the University of Cambridge 2004 ib Paper 4 19H Solution 2026-10-14
A Bayes estimator minimizes the integrated loss function under the prior and sampling distribution. For a nonnegative loss, Tonelli's theorem and the posterior distribution give the risk decompositionwhere is the marginal density. Thus choosing, for each observed , a measurable minimizer of the posterior expected loss minimizes the integrated risk. Observations of marginal probability zero do not affect the rule.
Here the likelihood is and the prior is on positive parameters. Put . Their product is , and . The marginal density and posterior are thereforeThis Gamma-exponential conjugacy calculation gives a Gamma distribution with shape and rate . It is the posterior, rather than the prior alone, which determines both requested estimators.
Past exam of the mathematics course of the University of Cambridge 2005 ii Paper 3 26I Solution Created 2026-09-24 Updated 2026-10-14
A loss function measures the cost of taking action at parameter . A decision rule selects an action from the data; its risk function is . A Bayes estimator minimizes the prior-averaged risk, or equivalently minimizes posterior expected loss at almost every observation. An admissible rule has no competing rule of no greater risk everywhere and strictly smaller risk somewhere. To construct a Bayes rule, form the posterior and minimize its expected loss over the allowed actions. Under squared error and finite posterior second moments the unique action is the posterior mean.
Put . The given fourth moment and independence give , . ThusEvery is strictly dominated at every by that coefficient. Hence it cannot be a finite-risk Bayes rule for any proper prior.
To make the second requested comparison, let and assume finite quadratic Bayes risk. For the affine rules the integrated risk isWith fixed, the minimum occurs at . Since , this strictly improves the homogeneous rule unless , reducing risk by . Therefore a homogeneous rule with is not Bayes, as requested. Combining the two restrictions excludes every homogeneous coefficient.
For a proper prior without global finite moments, the same nonvacuous conclusion follows from the posterior-mean condition. LetFor , . If the posterior mean were , positivity requires and . Differentiation forces . But the marginal density of would then be a constant times , a pure power not integrable at both zero and infinity. This contradicts a proper prior's normalized predictive distribution. This is the proper-prior obstruction to homogeneous variance Bayes rules.
The finite-loss qualification matters: allowing all posterior losses to equal infinity makes every action a vacuous minimizer. For example, with and proper density , the posterior second moment diverges at positive observations, so a literal infinite-loss definition would defeat the printed assertion. Ordinary meaningful Bayes rules exclude that convention.
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 2009 iii Paper 36 2 h Solution Created 2026-10-03 Updated 2026-10-14
The posterior distribution has a long right tail. Its posterior mean is pulled upward by relatively rare large endpoints and is sensitive to the artificial upper cutoff; its untruncated posterior mean does not exist. The median is a central quantile that stays finite as the cutoff is removed and is much less sensitive to extreme draws. It is also the Bayes estimator under absolute-error loss, whereas a mean corresponds to squared-error loss when the relevant expectation exists.
The median better represents the typical posterior endpoint in this strongly right-skewed distribution. It need not be preferable for every decision problem, since the loss function matters. For comparison, exact summation of the truncated kernel at cutoff gives median and mean about ; the displayed simulation summaries are Monte Carlo estimates, not exact posterior calculations.
Past exam of the mathematics course of the University of Cambridge 2015 ii Paper 2 25J iii Solution Created 2026-09-24 Updated 2026-10-06
Put . The posterior is , andThe denominator is positive for . For , both parameters exceed one and the mode simplifies to . For this is the uniform-prior mode, exactly ; for the endpoint or symmetric cases also make the mode rule coincide with . Otherwise it is generally a different rule. The posterior mean agrees with only at .
To find the minimax estimator under quadratic loss, consider the posterior mean . Its risk function isFor , the numerator is identically , soThis constant-risk binomial proportion estimator is the unique Bayes estimator for its proper beta prior under quadratic loss. A competing rule's maximum risk is at least its risk averaged over that prior, which is at least this Bayes risk. The constant-risk rule attains the bound, so the posterior mean in (iii) is the unique minimax rule. Consequently any coincident rule is minimax too: the mean in (i) is the same rule when , and the mean in (ii) is the same rule when . No posterior mode listed here equals that mean rule for every observation, since at its value is positive whereas their endpoint modes differ from it. This accounts for the small- coincidences as well as the general answer.
Past exam of the mathematics course of the University of Cambridge 2016 ib Paper 3 20H c Solution Created 2026-09-24 Updated 2026-10-06
The specified gamma distribution uses shape and rate . Multiplying its density by the Poisson likelihood gives a posterior density proportional to . Thus the conjugate prior calculation givesFor squared-error loss, the posterior expected loss isIt is minimized at the posterior mean, so the Bayes estimator isFor a fresh conditionally independent Poisson observation, the posterior predictive probability of zero is the posterior expectation of . Evaluating the gamma integral givesThe samples are independent conditional on ; integrating out the uncertain common parameter produces the predictive probability above.
Past exam of the mathematics course of the University of Cambridge 2017 ii Paper 1 28K b iii Solution Created 2026-09-24 Updated 2026-10-05
For every estimator, its worst-case risk dominates its average risk under the uniform prior. Since the preceding Bayes estimator minimizes that average,The estimator has risk exactly throughout the interior, so it attains this lower bound. Under either endpoint convention discussed above its supremum over is also . ThusThis constant-risk Bayes argument works also for , when the only observed counts are endpoints and the posterior integrability argument still selects their corresponding decisions.
Past exam of the mathematics course of the University of Cambridge 2017 ii Paper 1 28K b ii Solution Created 2026-09-24 Updated 2026-10-05
Condition on . For , the posterior expected loss is a strictly convex quadratic in the decision . Its minimizer isThe beta density gives and , so . If , every has infinite posterior expected loss because of the nonintegrable term near zero, whereas has finite loss expectation. The analogous argument at forces . Hence the Bayes estimator isIndeed is unbiased and has variance , which cancels the loss denominator. Its uniform-prior Bayes risk is .
The printed loss is undefined at , despite the stated closed parameter interval. A convention is necessary there. The natural extended loss assigns zero to the correct endpoint decision and infinity to an incorrect one; it gives endpoint risks zero for . Alternatively a continuous extension of this estimator's risk gives endpoint values . The interior result and the minimax value below are unchanged by either convention, and a uniform prior gives the endpoints measure zero. We do not identify an undefined with a value without specifying this choice.
Past exam of the mathematics course of the University of Cambridge 2018 ib Paper 4 19H Solution Created 2026-09-24 Updated 2026-10-14
With the uniform prior, the binomial likelihood gives the beta distribution posterior . Under squared-error loss, the Bayes estimator is the posterior mean:
The production manager's prior gives posterior density proportional to . Minimizing gives the weighted posterior meanusing the supplied beta function. Cross multiplication shows exactly when , so it is greater unless .
Past exam of the mathematics course of the University of Cambridge 2022 ib Paper 1 18H b Solution Created 2026-09-24 Updated 2026-09-25
The probability of no recovery through month is the product of the conditional survival probabilities, soUnder quadratic loss, the Bayes estimator is the posterior mean. Posterior independence and the mean of a Beta distribution giveConsequently
Past exam of the mathematics course of the University of Cambridge 2025 ii Paper 3 28L b i Solution Created 2026-09-24 Updated 2026-09-25
The risk of a decision rule is its expected loss at a fixed parameter value:For a prior , a Bayes estimator minimizes the integrated riskor equivalently minimizes posterior expected loss for almost every observation. A minimax decision rule minimizesover all decision rules.