Past exam of the mathematics course of the University of Cambridge 2014 iii Paper 35 2 e 1 Solution Created 2026-10-03 Updated 2026-10-06
Start with the Beta distribution draw in the Beta-binomial exchangeable coupling. Write andThese are the expected value and variance of . The fixed in this coupling is a dependence parameter chosen by the investigator, not necessarily the observed number of cups. The four numbered stages together address the single printed correlation request.
Past exam of the mathematics course of the University of Cambridge 2014 iii Paper 35 2 e 3 Solution Created 2026-10-03 Updated 2026-10-06
The next Beta distribution has conditional expected value and varianceFor large , its expected value approaches , while its variance is at most . The final draw therefore stays close to the first. These are prior distributions for the cup probabilities: the auxiliary count is a device for constructing dependence, rather than additional observed tea data.
Past exam of the mathematics course of the University of Cambridge 2014 iii Paper 35 2 g Solution Created 2026-10-03 Updated 2026-10-06
Using the conditional Beta distribution expected value and the law of iterated expectation,Equality of the expected values alone does not prove equality of the marginal distributions; the later exchangeability argument does.
Past exam of the mathematics course of the University of Cambridge 2014 iii Paper 35 2 h Solution Created 2026-10-03 Updated 2026-10-06
Multiply the Beta distribution density of , the conditional binomial distribution mass of , and the conditional Beta distribution density of . With the beta function, the full joint density, relative to counting measure in and Lebesgue measure in the two probabilities, isHere and both probabilities lie in . The printed joint expression omits the factor . It is a constant when is fixed and only the two probabilities vary, but is not a constant for the full joint probability distribution. Keeping it is essential when summing over the latent variable.
Past exam of the mathematics course of the University of Cambridge 2014 iii Paper 35 2 j Solution Created 2026-10-03 Updated 2026-10-06
For each auxiliary count , the correctly normalized joint expression above is symmetric in . Summing it over preserves that symmetry, so these are exchangeable random variables. Their marginal distributions are therefore identical. Since was generated from a Beta distribution,The Beta-binomial exchangeable coupling changes the dependence, while leaving both prior distributions unchanged.
Past exam of the mathematics course of the University of Cambridge 2014 iii Paper 35 3 i Solution Created 2026-10-03 Updated 2026-10-06
In a normal linear model, attach a continuous spike-and-slab prior to each regression coefficient. With suitably scaled predictors, introduce indicators and setThe narrow component describes practically negligible effects; the wide component permits substantial ones. Fit the joint Bayesian posterior of coefficients, indicators and any unknown residual variance. Bayesian model averaging gives shrinkage toward zero for poorly supported effects, while quantifies wide-component support. A shared Beta distribution prior on can represent uncertainty about how many effects are substantial.
Select on scientifically meaningful effect size, for example a high for a prechosen threshold in meaningful predictor units. Membership in the wide component alone does not imply a large realized effect: its normal distribution still permits values near zero. Correlated predictors also require interpretation of the joint Bayesian posterior, rather than treating each coefficient as an isolated test.
Past exam of the mathematics course of the University of Cambridge 2014 iii Paper 39 2 Solution Created 2026-10-03 Updated 2026-10-06
Let , so a type values a prize at . In a symmetric increasing Bayes-Nash equilibrium of this rank-order contest, a player reporting type wins when at most opponents have larger types. Its winning probability isHere the count of opponents above has a binomial distribution. Differentiation, or the associated order statistic density, givesDefine the effort by the all-pay effort identityThis also verifies equilibrium globally. The derivative of a type 's payoff from reporting is , positive before and negative after . Thus truthful reporting is a best response. Bidding above the maximal equilibrium effort gains no additional winning probability. Type zero chooses zero effort.
By exchanging the two integrations, the expected value of total effort isThe last integral is the moment for a Beta distribution with parameters and , namely . This is the uniform-value multi-prize all-pay effort formula.
Put and . The positive constant multiplying does not affect the maximizing . Sincethe assumed inequality makes nonincreasing on the feasible interval. Hence one prize maximizes expected total effort.
For the power family, the PDF gives . ThenIf , this derivative is strictly negative for : the bracket is affine and its values at the endpoints are and . Thus is optimal.
If , the unique continuous maximizer isThe objective strictly increases before and decreases after it. Therefore its discrete maximizer lies amongCompare the surviving candidates using , since . If is an integer, that integer is the unique maximizer; if its floor is zero, the only feasible candidate is . This proves the discrete prize-count optimization for a power-valued contest including the endpoint cases.
The sufficient condition need only hold on . The power family is undefined at zero, so the printed endpoint cannot apply to it. More generally, a positive finite value would make the displayed inequality fail at zero. The design argument uses only positive feasible prize fractions and needs no value there.
Past exam of the mathematics course of the University of Cambridge 2015 ii Paper 2 25J Solution 2026-10-06
For , the binomial log-likelihood is plus a constant. Its maximizer, including endpoints, is . For , the Fisher information isThis follows either from the expected negative second derivative or the variance of . At the usual regular score formula does not apply; the interior information diverges as an endpoint is approached.
For a symmetric Beta distribution prior , conjugacy gives , with posterior mean . All three priors below are instances of this calculation.
Past exam of the mathematics course of the University of Cambridge 2016 ia Paper 2 9F Solution Created 2026-09-24 Updated 2026-10-06
Set and . Their inverse change of variables is , , with domain , . The absolute Jacobian determinant of this inverse transformation isUse the independence of random variables to multiply the two original Gamma distribution densities. The change of variables formula then gives the joint probability densityFactor this into two normalized densities:The support is a product domain, and the factors are precisely a Beta distribution density and a Gamma distribution density. ThereforeThis beta-gamma independence uses the common rate ; it is a rate parameter, not the scale parameter .
Past exam of the mathematics course of the University of Cambridge 2017 iii Paper 216 1 a Solution Created 2026-10-03 Updated 2026-10-06
Put and . Dropping factors independent of , the multinomial likelihood and uniform prior give the posterior densityMultiplying this by the stipulated binomial distribution for the latent variable cancels the factor :Consequently the two full conditional distributions areStart with , sample from its binomial distribution, then sample a new from its Beta distribution, and repeat. The binomial distribution can be sampled by adding independent Bernoulli random variables. For the Beta distribution, take independent and and return ; integer-shape gamma distributions are sums of independent unit-rate exponential distributions. Both shapes are positive even when some observed counts vanish.
Each Gibbs sampler update preserves the augmented posterior distribution, so its marginal distribution is the required posterior distribution. The positive full conditional distributions on the interior allow exploration of the entire support. These iterates are generally dependent; they are not the independent exact draws constructed in the later parts.
Past exam of the mathematics course of the University of Cambridge 2017 ii Paper 1 12J Solution Created 2026-09-24 Updated 2026-10-05
Under the binomial distribution model's assumption of independent games with a common win probability , the probability of winning a match isThis is also the cumulative distribution function of a Beta distribution with parameters : differentiation of the binomial tail gives , and . In particular is strictly increasing on and maps bijectively onto itself.
The new match probability is , while the desired linear predictor remains the game-level log odds. Therefore the link function isIts endpoint values are and . This is not the ordinary match-level log odds link: it first recovers the underlying game probability. Symmetry of the binomial tail gives , hence , as required by swapping the players. Dependence or varying game probabilities within a match would invalidate the stated binomial-tail conversion.
Past exam of the mathematics course of the University of Cambridge 2018 ib Paper 4 19H Solution Created 2026-09-24 Updated 2026-10-03
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 2018 iii Paper 210 1 Solution Created 2026-10-03 Updated 2026-10-05
For , the nearest neighbour distance is the th order statistic of . Each has continuous distribution function on . The probability integral transform makes independent and identically distributed random variables with the uniform distribution on . Monotonicity of gives , a uniform order statistic. Strict monotonicity is not needed at this stage.
For , counting observations below givesDifferentiating and cancelling consecutive terms gives the Beta distribution:The Gamma function identity identifies this with the stated normalization. Ratios of Beta function integrals yield the momentsThis is the probability content of a nearest neighbour ball identity, specialized to intervals on the real line.
Now write . The Lipschitz bound givesThusStrict positivity of the probability density function makes continuous and strictly increasing from zero to one, so its inverse function is defined for every .
For the requested conditional calculation, suppose . At the preceding bound givesTherefore , and substituting in the approximation proves the inverse probability content bound for a Lipschitz density:The same argument works, without , on the meaningful local range with .
Since the nearest neighbour density estimator obeys , its conditional bound follows from the Beta distribution moments:Hence, under the printed location condition,The conditional inverse function bound also bounds , so the expected value in this calculation is finite under those formal hypotheses.
There is, however, a genuine flaw in the original PDF: the printed condition has no admissible points when is strictly positive on all of . A probability density function on all of cannot have Lipschitz constant zero, so . Its Lipschitz bound forcesIntegrating this triangular lower envelope gives the Lipschitz density height boundThe inequality is strict because the probability density function has positive mass outside the finite interval. Thus everywhere. The last two conditional conclusions above are valid implications but vacuous as printed. Dropping strict positivity gives only , with equality forcing the entire probability density function to be the normalized triangular envelope. The local inverse bound does not justify replacing the printed condition by its reverse in the final expected value bound, since ranges over all of .
Past exam of the mathematics course of the University of Cambridge 2019 ib Paper 2 8H c Solution Created 2026-09-24 Updated 2026-09-29
For any action , decompose the posterior expected quadratic loss around the posterior mean:The unique minimizer is therefore the Bayes estimator under squared error loss. Using the mean of the posterior Beta distribution givesUnder repeated sampling at parameter value , has the binomial distribution with expected value . Consequentlyso its bias of an estimator is .
Past exam of the mathematics course of the University of Cambridge 2019 iii Paper 207 1 b Solution 2026-10-03
Past exam of the mathematics course of the University of Cambridge 2019 iii Paper 207 1 d Solution 2026-10-03
By Bayes theorem, with respect to Lebesgue measure on ,The omitted constant includes the binomial coefficient and the normalizing constant of the Beta distribution; the uniform prior contributes only the support indicator.
Past exam of the mathematics course of the University of Cambridge 2021 ib Paper 4 17H c Solution Created 2026-09-24 Updated 2026-09-25
The uniform prior is the Beta distribution . By Beta-binomial conjugacy, after observing heads the posterior isThe Bayes estimator under squared error loss is the posterior mean, hence