Past exam of the mathematics course of the University of Cambridge 2017 iii Paper 216 3 b Solution Created 2026-10-03 Updated 2026-10-06
Take observation periods to have positive lengths , and let be the Markov kernel of a sweep which first draws given the current and then draws the new vector . Write . Conditional on , independence and the gamma distribution mean and variance giveAveraging over the full conditional distribution of preserves this bound, uniformly in the current state. Therefore . This is the mechanism in bounded conditional moments imply a geometric drift.
Choose , , and . Outside , ; inside , . HenceFor completeness, is a small set, even though it approaches the boundary of the positive orthant. Choose small enough that . On , . The conditional gamma distribution of has fixed shape and rate in a compact positive interval. Its probability density function therefore has a positive common lower bound on . For those , the product probability density function of similarly has a positive common lower bound on , since every shape is positive and every rate lies in a compact positive interval. Integrating over gives on , where is the uniform distribution on and .
The transition probability density function is positive throughout the positive orthant, giving an irreducible Markov chain. Since , the box minorization includes starts in the same box, which gives an aperiodic Markov chain. The proper prior distributions and bounded Poisson distribution likelihood have positive finite evidence, so the invariant posterior distribution is proper. Together with the geometric drift condition, these hypotheses imply geometric ergodicity. In particular, the argument proves the required drift rather than assuming that every Gibbs sampler is geometrically ergodic.
The positive-period convention matters. If zero lengths are allowed, the printed assertion can fail: take , , . Then and , soThis example has a proper posterior distribution but cannot satisfy a finite quadratic geometric drift condition. Thus the proof establishes the intended claim for positive observation periods, not an unrestricted extension to zero exposure.
Past exam of the mathematics course of the University of Cambridge 2017 iii Paper 216 4 b Solution Created 2026-10-03 Updated 2026-10-06
A counterexample can use an irreducible, aperiodic reversible Markov chain, so failure is not caused by a pathological transition structure. Take two binary coordinates, enumerate the four states as , and let be their uniform distribution. Use the Markov kernelIts rows sum to one and it is symmetric, proving detailed balance with . Every entry is positive. Let the univariate parametric family be .
For a product initial probability distribution with parameters , additivity of the Kullback-Leibler divergence givesEach summand has derivative on , so the unique optimum at has . ThusOn the other hand the allowed initial probability distribution , obtained with , is sent by one step to . Its Kullback-Leibler divergence is zero, the smallest possible value. ConsequentlyThe transition reduces Kullback-Leibler divergence for each input, but may reduce it by different amounts for different inputs. It therefore need not preserve the ordering of competing initial probability distributions, which is exactly why Markov chain variational inference must optimize the initial parameters for its chosen number of steps.
Past exam of the mathematics course of the University of Cambridge 2018 iii Paper 216 1 a Solution Created 2026-10-03 Updated 2026-10-05
Let be the Markov kernel and its invariant probability measure. Using the conventiongeometric ergodicity means that there are and a finite measurable state-dependent prefactor such thatHere total variation distance is used, and the rate does not depend on . The prefactor need not be uniformly bounded; that stronger property is uniform geometric ergodicity. For a deterministic starting state, this estimate must hold at that state. If the definition is made only -almost everywhere, the subsequent assertions concern those starting states where the prefactor is finite. The reversible Markov chain assumption means .
Past exam of the mathematics course of the University of Cambridge 2018 iii Paper 216 1 b Solution Created 2026-10-03 Updated 2026-10-05
Put , , and . We first obtain a uniform-in- stationary bound, then compare the burned-in trajectory with a stationary one.
For a reversible Markov chain, geometric ergodicity gives an absolute L2 spectral gap of a reversible Markov chain. Thus, for some , the Markov kernel viewed as an operator satisfiesOne can use the rate in the total-variation estimate. To see why, reversibility makes a self-adjoint operator. For bounded mean-zero supported on a set where is bounded,The spectral theorem for normal operators writes the left side as . Any positive spectral mass where would contradict the inequality as . These test functions are dense in : truncate a function and restrict it to , then correct its mean using a bounded function supported on a fixed positive-measure set where is bounded. Hence the spectral restriction extends to the entire mean-zero space.
Let be the stationary chain. For , the stationary covariance bound for reversible Markov chains givesConsequently
The initial law of the burned-in trajectory is . Its total variation distance from is at most . Attaching the same conditional future evolution cannot increase that distance, so the entire length- path laws differ by at most . For either path the sum has . The dual bound for total variation distance gives a difference of at most in the second moments, and at most in the squares of the means. This burn-in total variation comparison yieldsSince , . Dividing by givesThe constant depends on the chain, not on .
Past exam of the mathematics course of the University of Cambridge 2018 iii Paper 216 2 a Solution Created 2026-10-03 Updated 2026-10-05
For the planar uniform distribution with a Lebesgue measure density, assume that the compact convex set has nonempty interior, equivalently positive area. This assumption is missing from the wording: a line segment or singleton would not have such a planar uniform density.
The hit-and-run sampler at a current point chooses with uniform on , finds the intervaland samples uniformly on that interval, setting . Convexity makes the intersection an interval and compactness makes it bounded.
If is in the interior, every direction has positive chord length, and the next point is in the interior almost surely. For a definition valid at every boundary point as well, redraw the direction whenever the chord has zero length. We use this convention in the following parts. Positive-length directions have positive angular probability at every , since an interior ball is visible from , so the redraw terminates almost surely.
The Markov kernel has the uniform distribution on as its invariant law, as follows from the density symmetry proved next. Repeating the step therefore produces approximate uniform samples after convergence. The boundary convention matters: if singleton chords were instead treated as holding moves, a square's corner would have a positive atom at its starting point, contradicting part (b)'s claim of an everywhere absolutely continuous kernel.
Past exam of the mathematics course of the University of Cambridge 2018 iii Paper 216 2 b Solution Created 2026-10-03 Updated 2026-10-05
Write and letThis is the accepted fraction of directions when zero-length chords are redrawn; it equals one in the interior. The Markov kernel integrates a test function asThe signed polar representation has Jacobian determinant . Each point is represented twice, once with positive and once with negative and the opposite direction. Since the chord is the same in either representation, the hit-and-run kernel density isfor almost every , and it is zero outside the body. Thus the transition is absolutely continuous with respect to planar Lebesgue measure. Redrawing removes the only potential zero-chord atoms.
Let . For distinct , the chord contains their segment, so it has positive length, andHence . Values on the diagonal, and on other null sets where a density is only specified almost everywhere, can be assigned this same lower bound. This gives a version satisfyingFor interior , and the chord length is unchanged on interchanging its endpoints, so . A convex body's boundary has area zero; for example contractions about an interior point fill the interior and their areas tend to the body's area. Thus this symmetry holds almost everywhere for two uniform points, proving detailed balance and stationarity of the uniform distribution. Without positive area or the boundary convention in part (a), the literal assertion need not hold.
Past exam of the mathematics course of the University of Cambridge 2018 iii Paper 216 2 d Solution Created 2026-10-03 Updated 2026-10-05
Let and let be the uniform distribution on the body. The hit-and-run kernel density lower bound impliesFor the last range, lies in a radius- disc about any of its points, so and . This global Doeblin condition proves irreducibility with respect to and aperiodicity. The entire state space is a small set; , , and satisfy the geometric drift condition.
In fact the conclusion is stronger. Write , where and is the residual Markov kernel. Since , also . Each transition has a probability of resetting to stationarity, and after such a reset every subsequent distribution remains stationary. Equivalently,Thus the algorithm has uniform geometric ergodicity, using the full-dimensional and boundary conventions stated in part (a).
Past exam of the mathematics course of the University of Cambridge 2020 ii Paper 3 28J i Solution Created 2026-09-24 Updated 2026-10-03
Let be the Markov kernel of the Metropolis–Hastings algorithm. Away from the possibility of remaining at , its transition density isMultiplication by the target density givesThis is detailed balance for every pair of distinct states.
Writefor the rejection probability, soFor every measurable , detailed balance and the Tonelli theorem giveHence is an invariant distribution of the chain.
Past exam of the mathematics course of the University of Cambridge 2023 iii Paper 216 2 a Solution 2026-09-28
A Markov kernel with stationary distribution is geometrically ergodic if there are and a finite function such thatfor every and almost every starting point , where is total variation distance.
A measurable set is a small set with minorisation constant if some integer and some probability measure satisfyfor every and every measurable .
A standard drift-minorisation condition is that the chain be irreducible and aperiodic, and that there exist a measurable , a small set , constants and such thatThese conditions imply geometric ergodicity.
Past exam of the mathematics course of the University of Cambridge 2026 iii Paper 224 1 a Solution Created 2026-09-24 Updated 2026-09-25
Suppose is a Markov chain, so . The chain rule for mutual information givesand alsobecause conditional mutual information is nonnegative. Therefore . Similarly,while , so . These are the two data processing inequalities. In particular, applying any deterministic function or Markov kernel to either argument cannot increase mutual information.
Past exam of the mathematics course of the University of Cambridge 2026 iii Paper 224 3 b Solution Created 2026-09-24 Updated 2026-10-03
Let be a Markov kernel, and let , be the output probability distributions. Applying the log-sum inequality for each to and givesSumming over and using yields the data processing inequality for relative entropy
Suppose each coordinate has stationary distribution for the same Markov kernel. Updating one coordinate using independent new randomness while leaving the others fixed preserves the product distribution . For a two-state update with and , its stationary occupied probability is . Independent occupied-state indicators then have total mean and variance . The conclusion requires the update selection and transition randomness not to introduce dependence on the other coordinates' states.
Regular conditional distribution 2026-10-14
A regular conditional distribution of a random variable given is a Markov kernel such that, for all measurable sets ,For each , is a probability measure; for each , is measurable. Thus it assigns an actual probability distribution to a specified observation even when . Such kernels exist for standard Borel state spaces, including real-valued variables, and their uniqueness is only up to -null sets. With a joint density and positive marginal density, the ratio of the two densities defines the usual conditional density kernel. Values outside the marginal support or on a null set are not uniquely determined by the joint law.
Stochastic matrix 2026-10-14
A row-stochastic matrix has nonnegative entries and each row sums to one. For a time-homogeneous Discrete-time Markov chain, its transition matrix has entriesIf a state has zero probability at time , this row is specified by the model's Markov kernel, rather than recovered by conditioning on that zero-probability event. Rows index departure states and columns arrival states. Writing the current probability distribution as a row vector givesThe row-sum condition ensures that matrix multiplication preserves total probability. Under a column convention the evolution uses the transpose; the convention must accompany the formula.
For the sunny/rainy transition matrix, direct matrix multiplication givesIn particular, . The two terms sum the disjoint paths and . Requiring both subsequent days to be sunny has probability ; requiring only the second day to be sunny permits the extra path through rain.
Generally is the -step transition probability. The identity is the discrete-time Chapman-Kolmogorov equation: sum over the intermediate state. This makes matrix powers useful for forecasting many steps without enumerating every path individually.
Sufficient statistic Created 2026-09-24 Updated 2026-10-14
A statistic is sufficient for a statistical model when the conditional distribution of the full data given has a version independent of the unknown statistical parameter . Once is recorded, the remaining uncertainty about the data's arrangement can be generated without knowing . [ref]
Sufficiency (Stat 210a, Fall 2025) by Will Fithian. Sufficiency, Will Fithian, “Sufficiency”: definition
For data and statistic taking values in standard Borel spaces, express this precisely with one Markov kernel , common to every statistical parameter value:for each measurable event . Thus is a regular conditional distribution of given . Equality is only required outside a null set for the distribution of under each ; the choice of version matters on impossible conditioning events. For a continuous probability distribution, the event may have zero probability even at meaningful observations, so the definition uses a regular conditional distribution, rather than division by .
A sufficient statistic is a property of a specified statistical model, rather than of a formula for summarizing data in isolation. It need not be an unbiased estimator or even shorten the record: the full data is always sufficient. An estimator instead targets a quantity such as a mean. An ancillary statistic has a parameter-independent marginal probability distribution, whereas a sufficient statistic has a parameter-independent conditional full-data law. A minimal sufficient statistic permits the greatest reduction among sufficient statistics. A complete statistic satisfies a separate condition about zero expectations; a complete sufficient statistic must satisfy both conditions.
Applying the same measurable function to observations from two probability distributions cannot increase their total variation distance. Every output event is tested through its preimage , which was already one of the input events. ThereforeFor the four-outcome example, recording only whether the result is makes the output probability distributions identical: each is a Bernoulli distribution with parameter . The original total variation distance was , but this coarse measurement leaves zero discrepancy. Discarding information can make two sources less distinguishable.
The same contraction holds for a common Markov kernel : . On a finite set, expand , apply the triangle inequality to each output component, and use that each row of sums to one. A common randomized postprocessing step cannot increase distinguishability either.