Bayes act 2026-10-14
A Bayes act minimizes for a specified parameter distribution . Applying the same minimization to the posterior after observing data gives a Bayes decision rule. The optimal data-based Bayes risk is the expectation of the optimal posterior no-data loss.
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 2009 ii Paper 3 27I Solution Created 2026-09-24 Updated 2026-10-14
Write and . An equaliser rule has constant risk . An Extended Bayes rule has, for every , a proper prior such that , where . If a rule has both properties, every competitor satisfiesLetting proves that its maximum risk is the minimax risk.
For the given normal distribution model, completing the square in prior times likelihood gives the posterior , with and . Another completion of the square givesThis is maximized uniquely at . Consequently the Bayes act and posterior posterior expected loss areThe posterior loss is independent of , so averaging over the predictive distribution gives the same value for the Bayes risk of this Bayes decision rule.
The sample mean obeys , so its risk is the constant . Take any fixed and let the proper prior precisions . The optimal Bayes risks just calculated tend to , while the integrated risk of is exactly for every prior. Thus its excess Bayes risk tends to zero: it is extended Bayes as well as equaliser. The preceding argument proves
Past exam of the mathematics course of the University of Cambridge 2009 ii Paper 4 27I Solution Created 2026-09-24 Updated 2026-10-14
Write for the two simple hypotheses, with prior probabilities and densities . Under zero-one loss, the posterior expected losses of choosing and are respectively the posterior probabilities of and . A Bayes decision rule therefore chooses ifchooses for the reverse inequality, and may randomize at equality. With positive priors this is a likelihood-ratio test with cutoff .
For a test , its prior risk is . Choose and boundary randomization so that the likelihood-ratio test has size , and choose priors with ratio . Equivalence of normal and extensive analyses makes the pointwise posterior minimizer minimize this prior risk over all randomized tests. Thus for any ,This proves the Neyman-Pearson lemma: a likelihood-ratio test of size has greatest power among tests of size at most . Such a cutoff and randomization come from a quantile of the likelihood ratio under ; always reject where . Endpoint cutoffs are handled directly or by their limiting rules.
For the remaining assertions use the usual common-support formulation with positive densities. A family has a monotone likelihood ratio in if for every , is a nondecreasing function . A monotone test here is an upper-cutoff test , , including constant tests. It does not mean an arbitrary smoothly increasing randomized rejection function.
Put . For a finite cutoff, choose between the values of below and above , with when the boundary has positive probability. On , and ; on , both are nonpositive. At a boundary with positive mass . ThereforeWhen there is probability on both sides, finite positive monotone ratios below the cutoff bound those above it away from zero, so can be positive and finite. A boundary with positive mass instead supplies the positive finite value . If the cutoff yields a constant test on the support, positivity on the common support proves strict propagation directly: a test identically zero cannot have greater power, and for a test identically one any positive-probability nonrejection by the competitor remains positive-probability at the larger parameter. Hence implies .
Let , taking when this set is empty. Below there is no positive difference. Above a finite there is a smaller parameter with positive difference, which propagates upward; the same reasoning applies when . ThusNo assertion at itself is needed.
For the final request fix any cutoff and prior density . Set and . The posterior odds are . If , thenEvery bracket is nonnegative by monotone likelihood ratio. Equal statistics make the bracket zero, so the ratio depends only on . Dividing where the posterior is defined proves the posterior odds are nondecreasing in , with extended values allowed when one posterior mass is zero. This proves that posterior odds are monotone under a monotone likelihood ratio without restricting the prior's shape.
The common positive-support condition is material to the printed strict inequality. Under the broader definition permitting zero densities, take a two-parameter family on with and . Its likelihood ratio is nondecreasing. The cutoff test rejecting has greater power than the test rejecting only at parameter zero, but both have power one at parameter one. Thus the strict assertion needs the usual positivity convention; it is false without it.
Past exam of the mathematics course of the University of Cambridge 2011 ii Paper 1 28K Solution Created 2026-09-24 Updated 2026-10-14
For a decision rule and loss , its risk function is . It is an admissible estimator if there is no rule with risk everywhere no larger and somewhere strictly smaller. A Bayes decision rule minimizes for a specified prior . A minimax decision rule minimizes over all rules.
Here the maximum-likelihood estimator is , and its squared-error risk isWrite the proposed estimator as with for , and assign any value at zero, an event of probability zero. Expanding the squared loss givesStein's lemma for a unit-covariance normal vector says when the relevant derivatives and expectations are integrable. With ,The singularity causes no difficulty in three dimensions: is locally integrable against the volume element , and the normal tails control infinity. More formally apply Stein's lemma first to , then let ; its squared norm and derivative magnitudes are bounded by constants times , so dominated convergence justifies the limit. ConsequentlyThe expectation is finite and strictly positive. Thus this James–Stein estimator strictly dominates the maximum likelihood estimator, which is inadmissible under the specified squared-error loss.
Past exam of the mathematics course of the University of Cambridge 2023 iii Paper 216 1 c Solution 2026-09-28
For a decision in the unit ball, conditional expectation under the posterior givesThe symmetric positive semidefinite matrix has a Rayleigh quotient maximized over by any unit eigenvector corresponding to its largest eigenvalue. Bayes decision rule therefore chooses any such eigenvector for the stated utility.