Past exam of the mathematics course of the University of Cambridge 2026 iii Paper 201 2 b Solution Created 2026-09-24 Updated 2026-09-25
Let be independent and identically distributed random variables, let , and write . Cramér theorem states that the empirical means obey a large deviation principle with good rate function . In particular, for ,with the usual extended-real interpretation; the analogous lower-tail formula holds for .
Past exam of the mathematics course of the University of Cambridge 2026 iii Paper 201 2 d Solution Created 2026-09-24 Updated 2026-09-25
Fix and then . By the assumptions on the derivative , there is a unique with . Apply exponential tilting to each summand:Under the product tilted law, the variables remain independent and identically distributed random variables and have mean . Hence the strong law of large numbers implies that, for every ,Changing measure on this event givesThereforeFirst let and then . The continuity of a convex function gives the lower bound . The endpoint follows by letting , while for the strong law of large numbers makes the probability tend to one. This proves the required lower bound.
Past exam of the mathematics course of the University of Cambridge 2026 iii Paper 201 4 c Solution Created 2026-09-24 Updated 2026-09-25
Let be independent and identically distributed random variables with mean zero and variance one, and let . Define the linearly interpolated processThe Donsker invariance principle, also called the functional central limit theorem, states that converges weakly in the space with the uniform norm to standard Brownian motion.
Assuming is measurable, applying it separately to independent and identically distributed random variables preserves those properties. Thus have common mean and variance . For , the central limit theorem givesHence, for large , the approximate probability distribution isThe second argument is the variance. If , this sample mean equals almost surely, so the appropriate description is a point mass at .
The central limit theorem states that if are independent and identically distributed random variables with finite mean and finite positive variance , thenHere the arrow means convergence in distribution: for every real , the probability that the expression on the left is at most tends to , the standard normal distribution function. If , the variables equal almost surely and their sample mean is exactly .
Apply the central limit theorem to the independent and identically distributed random variables , whose mean and variance are and . It gives the approximate standard normal distributionThe supplied standard normal quantile leaves probability in each tail. HenceSince , this event is equivalent toFor , equivalently integer , both denominators below are positive. Inverting the inequalities gives the approximate confidence intervalThe approximation is justified for large ; positivity at by itself does not guarantee accurate coverage. This construction is a confidence interval from a relative normal pivot: the unknown scale remains inside the pivotal ratio until the inequalities are inverted. Its meaning is that the random interval covers the fixed statistical parameter with probability approximately under repeated sampling.
Assume , and work on the support . In rejection sampling, choose a normalized proposal probability mass function and a known finite constant satisfying everywhere. Draw independent random variables and , accepting when . The joint probability of proposing and accepting is , so the overall acceptance probability is and the accepted value has probability mass function . Fresh trials therefore produce independent and identically distributed random variables with the desired probability distribution. For a fixed positive number of accepted values, the sample average is an unbiased estimator of the expectation when that expectation is finite. Its variance is if the second moment is finite. Finding a valid envelope can be difficult, and a small acceptance probability makes the method expensive.
For the Metropolis–Hastings algorithm, choose a proposal transition matrix and, at the current state , propose . Accept with the Metropolis–Hastings acceptance probabilityA proposal outside is rejected; an impossible proposal need not be assigned a ratio. Otherwise remain at . This constructs a Markov chain satisfying detailed balance with , without computing or a global envelope. Estimate the expectation by averaging over iterations, including repeated states after rejections. Keeping only accepted jumps generally changes the stationary distribution of the recorded process.
The Metropolis–Hastings algorithm produces dependent samples, so the variance of its average includes autocovariances; starting outside stationarity can also cause finite-run bias. With Markov chain irreducibility, suitable recurrence and an integrable , the countable-state Markov chain ergodic theorem gives consistency. Aperiodicity is additionally needed for the usual convergence of one-time probability distributions. In contrast, accepted rejection sampling values need no initial transient. Neither method is universally faster: envelope rejection competes with the proposal quality and mixing time of the Markov chain. Nonnegativity of alone does not guarantee a finite expectation or variance.
Here , with fresh proposal randomness independent of the past. For , the Metropolis–Hastings acceptance probability isThus is independent of , and are independent and identically distributed random variables with probability distribution , even if was chosen arbitrarily in . The method becomes ordinary Monte Carlo method sampling from . The average of is an unbiased estimator, with the variance stated in part (a). Including an arbitrary initial state would spoil this finite-sample property. This is the independent stationary proposal lemma.
Let and . For independent and identically distributed random variables, the central limit theorem statesThe limit is the standard normal distribution. If the variance is zero, then almost surely; the centered sums are zero, and division by is not defined.
The strong law of large numbers says that, for real independent and identically distributed random variables with ,The assertion is almost sure convergence of the entire sequence of sample means. Finite first absolute moment suffices; a finite variance is not required.
Put and . The Markov property and the state-independent transition probabilities show that, conditional on the whole previous history, is with probability and with probability . Multiplying these conditional probabilities for any finite step sequence proves that the are independent and identically distributed random variables, withBecause , the strong law of large numbers givesIn particular, almost surely. This stronger pathwise consequence will determine both eventual crossings and the asymptotic first-passage times.
Let be real independent and identically distributed random variables with finite expected value and variance . The central limit theorem statesEquivalently, the cumulative distribution functions of these normalized sums converge at every real point to the standard normal distribution function. The theorem itself does not require a finite moment-generating function.
The unit-time increments are independent and identically distributed random variables, by independent increments and stationary increments of the Poisson process. Each has the Poisson distribution of parameter one, hence expected value one and variance one. The central limit theorem therefore gives
Set and . The Poisson interarrival times are independent and identically distributed random variables with the rate-one exponential distribution. In particular, and , so the finite, positive variance hypothesis of the central limit theorem holds. Since ,
The strong law of large numbers states that, for independent and identically distributed random variables with ,Thus, outside an event of probability zero, the sample mean converges to the common expected value.
For independent and identically distributed random variables , the linear combination of independent normal random variables has expected value zero and variance . ThusThis is exactly the requested -stability. The paper's definition is a strictly stable distribution, since it allows no centering term.
The moment-generating function of a standard normal distribution gives . Using independence of the coordinates,The accepted draws are independent and identically distributed random variables, so their sample mean is an unbiased estimator and has varianceThis counts accepted draws, requiring proposals in expectation.
Let and , evaluated from the given polylogarithm formulas. Generate a large sample of independent and identically distributed random variables with
r_sample_f, and compute its sample mean and sample variance using mean and var. The central limit theorem gives the first standardized check:For the second check, the correct asymptotic variance of the sample variance involves the fourth central moment :The denominator is not unless the probability distribution has the requisite fourth central moment, as does the normal distribution. Here the probability density function decays exponentially, so all required moments are finite.To compute , expand the denominator of the probability density function as a geometric series and integrate each nonnegative term. The gamma function integral gives the raw momentsThus and . The following R code implements both checks for chosen interior parameters and large
n:p <- 0.4
beta <- 1.3
n <- 100000
raw_m <- vapply(1:4, function(j) {
-factorial(j) * polylog(j + 1, 1 - p) / (beta^j * log(p))
}, numeric(1))
m <- raw_m[1]
v <- raw_m[2] - m^2
mu4 <- raw_m[4] - 4 * m * raw_m[3] +
6 * m^2 * raw_m[2] - 3 * m^4
x <- r_sample_f(n, p, beta)
c(mean_check = sqrt(n) * (mean(x) - m) / sqrt(v),
variance_check = sqrt(n) * (var(x) - v) / sqrt(mu4 - v^2))For each check separately, an absolute value below is consistent with its approximate confidence interval. Repeat with many independent samples: the two standardized statistics should each resemble a standard normal distribution, with about outside that range. Also vary , and
n; a systematic discrepancy that grows with suggests a bias. The two checks from the same sample are generally dependent, so passing both is not itself a joint statement, nor can a finite test prove that a generator is correct.The second central limit theorem follows from the central limit theorem for the sample variance: differs by a quantity tending to zero in probability from .
Generate independent and identically distributed random variables with probability density function , evaluate for each draw, and return the Monte Carlo estimatorLinearity of expectation makes this an unbiased estimator: . Independence and the specified variance give . Its Monte Carlo standard error is therefore , and the strong law of large numbers gives convergence to almost surely.
Integrating the envelope shows . One trial of rejection sampling draws and an independent from the uniform distribution on , and accepts if . Repeat with fresh independent random variables after each rejection. Ratios need only be evaluated where ; the envelope makes the target zero wherever .
For any measurable set , integration of the conditional probability of acceptance givesTaking the whole domain gives acceptance probability , and dividing gives . Fresh trials therefore supply independent and identically distributed random variables with target probability density function . The corresponding Monte Carlo estimator isThe proposal count up to and including one acceptance has the geometric distributionFor example, the tail-sum formula gives . Thus the expected cost is proposal draws per accepted target draw.