Topics (384k) Articles (398k) Users (410) Discussions (242) Comments (383) Files (13k) New article
Past exam of the mathematics course of the University of Cambridge 2010 iii Paper 36 3 b Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-14
Under the usual regular, identifiable, fixed-dimensional setting, the maximum-likelihood estimator is an interior point with vanishing log-likelihood gradient, and the observed information is positive definite. DefineThe second-order Taylor expansion of the Bayesian deviance isWith a prior density approximately constant over the likelihood's concentration region, the posterior density is therefore proportional toRecognizing the multivariate normal density givesTypically grows at rate and the posterior concentrates in a region of radius , making higher-order terms negligible under the regularity assumptions. The local flatness assumption concerns this region, not necessarily the entire parameter space. Boundary maxima, unidentified directions, or persistent multiple modes can invalidate this approximation.
Past exam of the mathematics course of the University of Cambridge 2010 iii Paper 36 3 a Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-14
The logarithm is strictly increasing, so maximizing the likelihood function is equivalent to maximizing its logarithm. Multiplication by reverses that ordering. Thus, whenever the maximum is attained,Here the Bayesian deviance includes the likelihood constants. Parameter-independent constants do not alter the minimizer, but a common convention must be retained when comparing criteria between models.
Past exam of the mathematics course of the University of Cambridge 2010 iii Paper 36 2 h Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-14
The posterior probability answers a natural directional question: how likely is this area's risk to exceed the reference risk? It accounts for uncertainty rather than declaring an increase from the point estimate alone. However, it does not distinguish a negligible increase from a clinically important one, and it combines prior beliefs with evidence from the data. With an informative prior distribution, a large probability may already have been present before observation, or a genuinely surprising count may be strongly moderated by the prior.
To measure the evidence supplied by the observations, compare posterior and prior odds. If under the chosen proper prior distribution, the Bayes factor for increased versus nonincreased risk isThis follows from the posterior odds identity when the two models use the original prior conditioned respectively on and . For the specified prior, is the upper tail at one of ; centering its mean at one does not make this tail probability exactly . To address seriousness itself, choose a substantive excess and report the posterior probability of , together with an interval for the size of the excess. An evidence ratio and a meaningful risk threshold answer different, complementary questions.
Past exam of the mathematics course of the University of Cambridge 2010 iii Paper 36 2 g Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-14
The informative gamma distribution prior distribution discourages extreme risks caused by small denominators. Its influence is strongest where the exposure is small, while large-exposure areas are predominantly determined by their likelihood. Consequently an area previously appearing near the top because of a noisy high raw risk ratio may have its highest-risk probability reduced, and the posterior rank distributions of poorly observed areas tend to overlap more rather than suggesting a precise league table.
There is no universal claim that every rank distribution becomes wider or narrower: unequal exposures produce unequal shrinkage and can change the ordering, while the new prior also changes the uncertainty in the risks. In the limiting case of negligible information for every area, all area posteriors approach the same independent continuous prior distribution. Symmetry then gives each area probability of occupying each rank. This illustrates why modest differences between weakly observed areas should not yield confident rankings.
Past exam of the mathematics course of the University of Cambridge 2010 iii Paper 36 2 f Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-14
The new prior density contributes the factor . Multiplication by the Poisson distribution likelihood givesIts posterior mean displays the resulting shrinkage:The observed risk ratio is pulled towards one, most strongly for small exposures. The posterior variance is .
Past exam of the mathematics course of the University of Cambridge 2010 iii Paper 36 2 e Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-14
Past exam of the mathematics course of the University of Cambridge 2010 iii Paper 36 2 d Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-14
Under independent area counts and independent area prior distributions, the joint posterior distribution factors into the gamma posteriors. For each simulation , draw one joint vector by independently generatingRank the risks within that joint draw, taking rank one to mean highest risk:The empirical posterior rank distribution and highest-risk probability areIndependent gamma draws make this direct Monte Carlo integration, so Markov chain Monte Carlo is unnecessary here. Continuous posteriors give ties probability zero, and the highest-risk probabilities sum to one. The same ranking calculation can be applied to dependent joint draws from a richer hierarchical Bayesian model; ranking separate posterior means would discard the uncertainty that the program is intended to measure.
Past exam of the mathematics course of the University of Cambridge 2010 iii Paper 36 2 c Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-14
A proper gamma approximation to a Poisson Jeffreys prior uses shape and a small positive rate :Its density is proportional to , so where is small its kernel approximates the Jeffreys prior. After observing the data, Poisson-gamma conjugacy gives , which converges to the preceding posterior distribution as . This is an approximation of an improper kernel on the relevant parameter range, not a weak limit to a normalized Jeffreys probability distribution. The shape must be ; a small-shape gamma prior would approximate a different power of .
Past exam of the mathematics course of the University of Cambridge 2010 iii Paper 36 2 b Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-14
Multiplying the Poisson distribution likelihood by the Jeffreys prior gives the posterior density kernelThus, in shape-rate convention,It is a proper posterior distribution even when , provided . The posterior mean and posterior variance are and . This is Poisson-gamma conjugacy with unequal exposures, with the zero-rate prior interpreted as an improper kernel.
Past exam of the mathematics course of the University of Cambridge 2010 iii Paper 36 2 a Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-14
Take the exposure as known and positive. The Poisson distribution log-likelihood, up to a parameter-independent constant, is . Its first two derivatives areSince , the Fisher information isThe Jeffreys prior is proportional to its square root. Removing the constant givesThis is an improper prior: its integral diverges at infinity.
Past exam of the mathematics course of the University of Cambridge 2010 iii Paper 36 1 h Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-14
No. A Bayes factor favouring the alternative means , but the posterior odds are . They are less than one only if . For example, prior odds of on the null hypothesis, combined with a Bayes factor of in favour of the alternative, still give posterior odds of on the null hypothesis. An unusual claim can require substantial evidence to overcome low initial plausibility.
Past exam of the mathematics course of the University of Cambridge 2010 iii Paper 36 1 g Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-14
An alternative that allows small departures from chance, while assigning little probability to near-perfect prediction or near-perfect failure, is more plausible than a uniform prior distribution. For example, a symmetric beta distribution with is centered at , withChoosing gives a prior standard deviation of about and concentrates on modest deviations. Its concentration should represent substantive beliefs specified before examining this experiment, rather than being tuned to the observed count. A continuous prior distribution centered at still places no point mass at ; the separate model prior probability supplies that mass.
Past exam of the mathematics course of the University of Cambridge 2010 iii Paper 36 1 f Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-14
Substituting the standardized deviation into the Bayes factor approximation givesThis is only a slight preference for the alternative, despite the small p-value. The two procedures measure different things: the p-value sums a tail under the null hypothesis, while the Bayes factor compares probabilities of the observed count under both models. The uniform alternative prior distribution spreads its probability over many success probabilities that fit the observations poorly. Only a narrow range around has large likelihood, and integrating over the whole alternative penalizes this diffuse prediction.
The prefactor makes the distinction especially clear. At a fixed standardized deviation , the p-value stays approximately , whereas eventually grows with . A fixed diffuse alternative can consequently favour the point null even while a conventional test rejects it. This is the same prior-width mechanism illustrated by the Jeffreys-Lindley paradox for a Gaussian point null.
Past exam of the mathematics course of the University of Cambridge 2010 iii Paper 36 1 e Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-14
The normal distribution standardized statistic for the binomial distribution count isBecause the alternative is two-sided, the approximate p-value is . A continuity correction replaces by and gives approximately , with the same conclusion. Thus the result is statistically significant at both the 5% and 1% levels. The p-value is a null tail probability, not a posterior probability that the null hypothesis is true.
Past exam of the mathematics course of the University of Cambridge 2010 iii Paper 36 1 d Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-14
Under the null hypothesis, , with expected value and variance . Approximating its probability at an integer by the normal distribution density over a unit-width cell givesDividing by the prior predictive distribution from the preceding part gives the uniform-alternative binomial Bayes factorThe second approximation replaces by . Both are large-sample approximations for counts in the central range, rather than exact identities at extreme counts.
Past exam of the mathematics course of the University of Cambridge 2010 iii Paper 36 1 c Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-14
Conditional on the success probability, the count has binomial distribution. Integrating its likelihood under the uniform prior distribution, or equivalently a beta distribution with parameters , givesThe prior predictive distribution is therefore uniform over the possible counts. Excluding the single point does not alter this integral because a continuous prior distribution gives that point zero probability. This calculation is the marginalization underlying Beta-binomial conjugacy.
Past exam of the mathematics course of the University of Cambridge 2010 iii Paper 36 1 b Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-14
Use the orientation that favours the null hypothesis:For a composite model the denominator is its Bayesian model evidence, obtained by integrating the likelihood against the model's prior distribution. This Bayes factor exceeds one when the observed data have greater marginal probability under . By Bayes' theorem,Thus the posterior odds equal the prior odds multiplied by the Bayes factor. The reciprocal orientation instead gives .
Past exam of the mathematics course of the University of Cambridge 2010 iii Paper 36 1 a Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-14
If and , the prior odds on the null hypothesis areThese odds concern which model is true before seeing the observations. They are separate from the prior distribution of the success probability within the alternative model.
Past exam of the mathematics course of the University of Cambridge 2010 iii Paper 35 6 iii Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-14
In the usual positive-parameter case , set . Every mutant ties the resident against the resident population, because . Against a mutant population, however,The second condition of the two-condition criterion for evolutionary stability holds, soIndeed its advantage at invasion frequency is exactly . The interior frequency balances the two pure-strategy payoffs in the Hawk-Dove game.
For completeness, if but , pure Dove is an evolutionarily stable strategy by the strict inequality for every mutant . If , that difference is zero, but , so Dove again satisfies the second condition. Thus for the remaining allowed values ; equivalently, Dove works whenever and .
Past exam of the mathematics course of the University of Cambridge 2010 iii Paper 35 6 ii Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-14
For , choose pure Hawk. Every mutant ties it against a resident Hawk population, so the second condition must be checked. The Hawk-Dove game formula givesConsequentlyThe actual invasion advantage is , despite the tie at invasion frequency zero.
If the equal parameters are negative, pure Dove is instead an evolutionarily stable strategy: for a mutant , . If , every payoff is zero and no resident has a strict advantage over any mutant. Thus the full equal-parameter answer is Hawk for , Dove for , and no ESS for .
Pinned article: Introduction to the OurBigBook Project
Welcome to the OurBigBook Project! Our goal is to create the perfect publishing platform for STEM subjects, and get university-level students to write the best free STEM tutorials ever.
Everyone is welcome to create an account and play with the site: ourbigbook.com/go/register. We belive that students themselves can write amazing tutorials, but teachers are welcome too. You can write about anything you want, it doesn't have to be STEM or even educational. Silly test content is very welcome and you won't be penalized in any way. Just keep it legal!
Intro to OurBigBook
. Source. We have two killer features:
- topics: topics group articles by different users with the same title, e.g. here is the topic for the "Fundamental Theorem of Calculus" ourbigbook.com/go/topic/fundamental-theorem-of-calculusArticles of different users are sorted by upvote within each article page. This feature is a bit like:
- a Wikipedia where each user can have their own version of each article
- a Q&A website like Stack Overflow, where multiple people can give their views on a given topic, and the best ones are sorted by upvote. Except you don't need to wait for someone to ask first, and any topic goes, no matter how narrow or broad
This feature makes it possible for readers to find better explanations of any topic created by other writers. And it allows writers to create an explanation in a place that readers might actually find it.Figure 1. Screenshot of the "Derivative" topic page. View it live at: ourbigbook.com/go/topic/derivativeVideo 2. OurBigBook Web topics demo. Source. - local editing: you can store all your personal knowledge base content locally in a plaintext markup format that can be edited locally and published either:This way you can be sure that even if OurBigBook.com were to go down one day (which we have no plans to do as it is quite cheap to host!), your content will still be perfectly readable as a static site.
- to OurBigBook.com to get awesome multi-user features like topics and likes
- as HTML files to a static website, which you can host yourself for free on many external providers like GitHub Pages, and remain in full control
Figure 2. You can publish local OurBigBook lightweight markup files to either OurBigBook.com or as a static website.Figure 3. Visual Studio Code extension installation.Figure 5. . You can also edit articles on the Web editor without installing anything locally. Video 3. Edit locally and publish demo. Source. This shows editing OurBigBook Markup and publishing it using the Visual Studio Code extension. - Infinitely deep tables of contents:
All our software is open source and hosted at: github.com/ourbigbook/ourbigbook
Further documentation can be found at: docs.ourbigbook.com
Feel free to reach our to us for any help or suggestions: docs.ourbigbook.com/#contact





