Past exam of the mathematics course of the University of Cambridge 2009 iii Paper 36 3 d Solution Created 2026-10-03 Updated 2026-10-14
The regression coefficients have independent proper uniform distributions on very wide finite intervals. These are flat in the coefficients, not flat in fitted rates, and can be highly informative on the rate scale. The scale is uniform on , and WinBUGS receives the corresponding precision for each normal distribution random effect. Writing , the induced prior density isIt is proper and integrable at zero.
The usual scale-invariant variance prior would instead cause an improper posterior from a log-uniform random-effect scale prior. After integrating out the plate effects, the likelihood function tends as to the ordinary positive Poisson likelihood. On any compact interior set of coefficient values this limit is positive and bounded away from zero. Hence the posterior normalizing integral contains a divergent factor . There is no posterior distribution under that prior, even if formal full conditional distributions appear usable. Thus a proper prior with integrable mass near zero is needed here. The reciprocal-scale rule is the standard pure-scale Jeffreys prior; it should not be confused with the model-specific information prior for an additive variance component.
Past exam of the mathematics course of the University of Cambridge 2010 iii Paper 36 4 c Solution Created 2026-10-03 Updated 2026-10-14
The bounded uniform prior distributions on the slopes and population intercept are proper and broad on their stated scale. They allow either sign but are not invariant to changes of units. The residual precision parameter has a proper shape-rate prior. Equivalently, has inverse-gamma distribution with the same shape and scale. This is a commonly used diffuse choice, but it is not literally noninformative and its tail behaviour merits sensitivity analysis.
The prior for is uniform on , so the induced density of isIt is integrable at zero, unlike the usual scale-invariant variance kernel . The latter kernel, often called the standard variance Jeffreys prior, would cause an improper posterior from a log-uniform random-effect scale prior here. After integrating the child intercepts, each child's response vector has a normal likelihood with covariance matrix . For fixed positive , this covariance remains nonsingular at , and the marginal likelihood has a positive finite limit there. On a compact set of the other parameters its positivity givesConsequently the scale-invariant kernel cannot be normalized to a posterior distribution. A proper prior on the standard deviation avoids this problem. This familiar scale prior is not necessarily the actual Jeffreys prior for an additive variance component derived from the observed-data likelihood; the latter can be finite at zero.
Past exam of the mathematics course of the University of Cambridge 2014 iii Paper 35 4 e Solution Created 2026-10-03 Updated 2026-10-06
The overall mean and the between-study heterogeneity encode different information. A proper broad normal distribution prior such as is one possible weak prior for the mean log odds ratio; information about the spread of trials alone does not determine its center.
A concrete prior calibration for normal random-effect range can make the factor-of-50 statement simultaneous across all six trials. Conditional on , each pair difference has normal distribution . Set , , andFor every , each pair exceeds in absolute value with probability at most . The union bound therefore gives , and integrating over the uniform prior preserves that bound. This is one explicit interpretation of “very unlikely”; a different elicited probability would change the bound. A smoother proper scale prior could be calibrated similarly.
The proposed improper prior is unsuitable. The observed-data likelihood function approaches the positive common-effect likelihood as . After restricting and the intercepts to a compact interior region, it is bounded below there by a positive constant. HenceThis is an improper posterior from a log-uniform random-effect scale prior. Proper conditional sampling distributions do not repair the improper joint posterior, and an arbitrary tiny cutoff would make inference depend on that cutoff.
Past exam of the mathematics course of the University of Cambridge 2018 iii Paper 216 3 a Solution Created 2026-10-03 Updated 2026-10-05
Write , , and . We keep the model's printed coefficient literally. Its latent log odds can be writtenThe independence of the is conditional on : they are not marginally independent when the random effects are correlated.
Holding the other predictors and the random-effect realization fixed, increasing predictor by one shifts the latent log odds by , so it multiplies the conditional odds of a late departure by . For a binary snow indicator, this compares the snow and no-snow days with other predictors held fixed. This is a conditional odds ratio, not generally the same as a marginal odds ratio after integrating the random effects.
Randomizing allows unmeasured daily conditions to change the success probability beyond the systematic linear predictor. In this logistic-normal regression with autoregressive random effects, let and . The law of total variance givesso the mixture allows overdispersion beyond a binomial distribution with fixed probability. The correlated part also allows related outcomes on nearby days.
The stationary autoregressive process of order one has and . HenceThe term is unstructured daily variability, whereas is the temporally correlated component under the printed parameterization. Larger gives greater persistence: the lag- correlation of the latent log odds is .
The PDF itself prints both the coefficient and the requested combination . They are inconsistent as a marginal variance. If the intended coefficient were , the variance and off-diagonal covariance would instead be and . The prior's argument list also repeats ; its displayed density indicates the intended second variance parameter is .
There is a further substantive issue with that improper prior. After integrating the latent variables, the observed-data likelihood function is positive and continuous at for fixed finite , positive , and . On a compact positive-volume set of those parameters it therefore has a positive lower bound for small . The prior density is , so integrating over gives . Thus the stated joint posterior distribution is improper, an instance of improper posterior from a log-uniform random-effect scale prior. The requested fixed-parameter conditional laws below are nevertheless proper; their existence does not remedy the joint impropriety.