Absolute magnitude–Hubble constant degeneracy Created 2026-10-05 Updated 2026-10-14
In Type Ia supernova cosmology, the predicted apparent magnitude depends on the common absolute magnitude and the Hubble constant only through , after choosing a fixed reference . A flat improper prior on makes the likelihood integrated over independent of , by translation of the integration variable. If the other prior factors are independent and the posterior is proper, the marginal posterior of equals its prior. An external calibration of can break this lack of identifiability.
Bayes factor Created 2026-09-28 Updated 2026-10-18
A Bayes factor measures how data change the relative support for two specified statistical models. Write for their Bayesian model evidence and define the direction explicitly:For positive finite , a value above one favors over ; a value below one favors over . Reversing the comparison gives , the opposite direction used in some formulas below.
For mutually exclusive, exhaustive with positive prior probabilities, divide their two Bayes' theorem formulas. Their common data normalizer cancels, leavingThe Bayes factor therefore multiplies prior odds into posterior odds. It is evidence conditional on the specified statistical models and their within-model prior distributions; it is not . Model prior probabilities supply a separate input.[ref]
Bayes Factors by Robert E. Kass and Adrian E. Raftery. Kass and Raftery, Bayes Factors (1995), section 3.1, p. 776: posterior odds, prior odds, and direction of the Bayes factor
For an original stipulated example, consider ten independent and identically distributed Bernoulli trials, with heads as success. Compare with , both fixed before seeing the data. Take to be one particular ordered sequence containing eight heads and two tails. The likelihood function under either point model is , soIf , the prior odds for against are . Hence the posterior odds are , andEqual model prior probabilities would instead give . The same Bayes factor can thus accompany different posterior probabilities. These statements condition on the two-model comparison; they do not establish that either statistical model describes a real coin.
Using the heads count instead of the ordered sequence changes the sample space. The binomial distribution assigns it mass . The same binomial coefficient multiplies both models' Bayesian model evidence and cancels in their Bayes factor. Mixing an ordered-sequence numerator with a count denominator would introduce an erroneous factor of .
Fix the candidate statistical models, their parameter prior distributions, and model prior probabilities before using the current data for this update. The Bayes factor is useful because it separates evidence from model prior odds, but it still depends on the parameter prior distributions. An improper prior has an arbitrary multiplicative normalization: multiplying its kernel by multiplies its formal marginal likelihood by , even if the within-model posterior distribution is normalizable. Without a separately justified convention, the ordinary Bayes factor is then undefined up to arbitrary constants.[ref]
Bayes Factors by Robert E. Kass and Adrian E. Raftery. Kass and Raftery, Bayes Factors (1995), sections 5.2–5.3, pp. 782–783: prior sensitivity and undefined multiplicative constants
Discrete uniform endpoint posterior 2026-10-14
For one uniformly sampled integer , the likelihood function for the unknown endpoint is . A flat improper prior on positive integers gives an improper posterior distribution, since the harmonic series diverges. A reciprocal prior instead gives a proper posterior proportional to for , with approximate survival probability and finite quantiles, but infinite posterior mean. A uniform prior cut off at gives posterior mean , demonstrating sensitivity to that arbitrary cutoff.
Empty component under an improper prior 2026-10-14
If a model configuration leaves a parameter absent from its likelihood function, giving that parameter an independent flat improper prior makes the posterior distribution normalization infinite whenever the configuration has positive prior distribution mass. Integrate first over that parameter: a positive constant likelihood function factor is repeated over all of . This occurs for the second segment mean of a Gaussian change-point detection model when the proposed split is after the final observation. There is no posterior distribution or valid Gibbs sampler for that joint kernel. A proper prior distribution on the unused parameter is necessary if the no-change configuration is retained.
For positive group totals, the improper prior on an independent Poisson baseline yields the multinomial likelihood kernel after integration. This prior is flat in . A proper finite-variance log-rate prior generally introduces an additional coefficient-dependent factor.
Flat-prior elimination of a Gaussian common mean Created 2026-10-05 Updated 2026-10-06
For independent observations , put , , , and . Integrating the likelihood function against a flat improper prior on gives, up to the arbitrary prior constant,Indeed , and the remaining one-dimensional Gaussian integral is . The conditional Bayesian posterior of is .
Haldane prior 2026-10-14
The Haldane prior has formal beta distribution parameters . It is an improper prior, with infinite mass at both endpoints of . For a binomial distribution likelihood with successes and failures, its posterior is only when . A density flat in the log odds induces this kernel by the Jacobian determinant .
Jeffreys prior Created 2026-10-05 Updated 2026-10-14
The Jeffreys prior uses the square root of the determinant of the Fisher information matrix as a parameter-density kernel. It is invariant under smooth one-to-one reparameterization, since the information and density Jacobians transform compatibly. It may be an improper prior; invariance does not guarantee posterior propriety. With nuisance parameters, a scalar conditional Jeffreys prior and the joint Jeffreys prior need not coincide.
Jeffreys prior for a scale parameter Created 2026-10-07 Updated 2026-10-14
For a differentiable scale family with finite positive Fisher information, the score is . Its squared expectation is a constant times , yielding the displayed Jeffreys prior. This is an improper prior on the entire positive half-line.
Normal-gamma posterior with a flat prior Created 2026-10-05 Updated 2026-10-06
Let , let the prior distribution of the precision be the shape-rate Gamma distribution , and use a constant improper prior for . Assume has zero null space. Write , , , , and . The proper joint posterior density is proportional toIts conditional distributions are and . Its marginal precision law is . Integration of the displayed kernel gives , proving propriety despite the improper prior.
A joint maximum a posteriori estimate relative to exists exactly when , and is . If , the supremum is approached at but not attained; if , the density is unbounded there. Separate marginal maximization gives for the unknown and for the precision when . This illustrates that joint and marginal modes need not agree, and that a proper posterior distribution need not have a mode in its open parameter space.
Past exam of the mathematics course of the University of Cambridge 2008 iii Paper 44 2 e Solution 2026-10-14
A flat density in induces . Since , the absolute Jacobian determinant is . ThereforeThis is the Haldane prior, an improper prior with formal beta parameters .
Past exam of the mathematics course of the University of Cambridge 2008 iii Paper 44 2 f Solution 2026-10-14
Multiplying the likelihood in part (d) by the Haldane prior gives . ConsequentlyFor at least one hospital, , this posterior is proper exactly when . If every count is zero, the kernel diverges at and does not define a posterior distribution; the improper prior cannot then be used for the subsequent expectation.
Past exam of the mathematics course of the University of Cambridge 2009 iii Paper 36 2 c Solution Created 2026-10-03 Updated 2026-10-14
A constant improper prior would give the formal posterior density kernel . However,There is no normalized posterior distribution under this prior. The failure is not simply that the prior is improper: some improper priors give proper posteriors. Here posterior propriety itself fails after this single observation, so probabilities, quantiles and a posterior mean cannot be assigned to that kernel.
Past exam of the mathematics course of the University of Cambridge 2009 iii Paper 36 2 f Solution Created 2026-10-03 Updated 2026-10-14
Multiplying the reciprocal improper prior by the likelihood function givesThus this discrete uniform endpoint posterior is proper. Its exact cumulative probability is . Integral approximation gives and , soThese approximations are useful when is moderately large and are not exact discrete identities. For example the exact untruncated median at is . Although its quantiles are finite, its posterior mean is infinite, since its expectation numerator is the divergent sum .
Past exam of the mathematics course of the University of Cambridge 2010 iii Paper 36 2 a Solution 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 2013 iii Paper 34 2 d Solution Created 2026-10-03 Updated 2026-10-07
For with , the change of variables givesEquivalently,This is the scale-invariant prior as a measure. Because its integral over diverges, it is an improper prior, not a normalized probability distribution on that range.
Past exam of the mathematics course of the University of Cambridge 2014 iii Paper 35 2 a Solution Created 2026-10-03 Updated 2026-10-06
For a regular one-parameter sampling distribution, the Fisher information and Jeffreys prior areUnder the usual differentiation and integrability conditions, . This prior distribution transforms as a density under smooth one-to-one reparameterizations, so the rule is coordinate invariant. Its integral need not be finite; posterior propriety must still be established if it is an improper prior.
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.
Past exam of the mathematics course of the University of Cambridge 2018 iii Paper 219 2 ii Solution Created 2026-10-03 Updated 2026-10-14
Let . Bayes' theorem and the stated prior factorization give the posterior densityThe normalizing constant, when finite and positive, is the integral of this product over its admissible parameter domain. An improper prior requires checking posterior propriety before interpreting this expression as a probability density.
