Past exam of the mathematics course of the University of Cambridge 2014 ib Paper 1 7H i Solution Created 2026-09-24 Updated 2026-10-06
For an estimator with finite second moment, its bias and mean squared error areWrite . On squaring and taking expectations, the cross term vanishes. This proves the bias-variance decomposition of mean squared error:For the sample mean, independence gives , . Thus has bias . Unbiasedness throughout the parameter family requiresAt the single parameter value , all these estimators are zero almost surely; that special value does not change the requirement of unbiasedness for all .
Past exam of the mathematics course of the University of Cambridge 2014 iii Paper 31 4 b Solution Created 2026-10-03 Updated 2026-10-06
Conditional on , summing the individual independent Poisson counts gives . The between-year conditional independence makes the likelihood functionMultiplying by the gamma distribution prior density, proportional to , gives the Poisson-gamma conjugacy with unequal exposures:For an action , the posterior squared-error loss decomposes asHence the Bayes estimator under squared error loss is the posterior mean, givingFuture counts are independent of the observed years conditional on , so the law of total expectation then gives the posterior predictive expected countThe Bayesian and credibility estimates coincide exactly. This exact Bühlmann–Straub credibility for Poisson-gamma counts occurs because the posterior mean is already affine in the exposure-weighted experience, and therefore belongs to the class over which the credibility estimate minimizes mean squared error.
Past exam of the mathematics course of the University of Cambridge 2014 iii Paper 31 4 Solution 2026-10-06
Write the year- count as a sum of its individual counts, with . The specified conditional independence within that year givesDividing by and scaling the conditional variance by therefore givesThis is the Bühlmann–Straub model: larger exposures reduce the process noise in a year's average.
Define the population parameters and total observed exposure byHere is the expected process variance and the variance of hypothetical means. Assume finite second moments. The law of total variance gives , and conditional independence between years gives for : their only shared variation is the latent conditional mean.
To derive the Bühlmann–Straub credibility estimate, minimize mean squared error among affine estimates of . For coefficients and , the optimal intercept is . Centering at and conditioning on shows that the resulting error isThe cross term vanishes because has conditional mean zero; the conditional noise cross terms vanish by the between-year independence assumption.
For fixed , the Cauchy-Schwarz inequality giveswith equality when . Minimize the remaining quadratic . Its minimizing value is the Bühlmann–Straub credibility factorThe experience term is exposure-weighted:Since the future conditional mean count is , multiplying the optimal estimate by the known future exposure givesIt is the best affine linear least-squares projection, not a claim that the exact conditional expectation given all data is always affine. If , the conditional mean is a known constant almost surely and one takes ; if , the observations reveal it without process noise and . The ordinary case has .
Past exam of the mathematics course of the University of Cambridge 2014 iii Paper 32 1 f Solution Created 2026-10-03 Updated 2026-10-06
Use a Rao-Blackwell estimator after interim selection, which is exactly conditionally unbiased. The second-stage sample mean alone is unbiased conditional on continuation, but discards the earlier observations. Apply the Rao-Blackwell theorem by averaging conditional on the combined sample mean and the fact of continuation.
Set and . Before truncation, is , a distribution whose mean no longer involves the unknown . After imposing , its mean is . Since , the resulting estimator isIt uses the outcomes from both stages through their combined sample mean. By iterated expectation, , so its conditional estimator bias is zero, compared with the strictly positive estimator bias above. Its conditional variance is no larger than that of the second-stage-only estimate. This does not assert a smaller mean squared error than every biased estimator.
Past exam of the mathematics course of the University of Cambridge 2014 iii Paper 34 3 Solution Created 2026-10-03 Updated 2026-10-06
For fixed-design nonparametric regression, let and . The degree- local polynomial estimator takes the fitted intercept , whereUse a nonnegative regression kernel and an invertible local polynomial Gram matrix to obtain a unique fit. For , solving the single weighted least squares normal equation gives the local constant estimator:At the interior point , use the standard unit-integral regression kernel convention . Otherwise the leading variance below is ; unlike a kernel density estimator, the local constant estimator itself is unchanged by rescaling .
The local constant estimator is a linear estimator in nonparametric regression with weights . The independent unit-variance errors implyTo control the bias of an estimator, differentiability at this one point is enough. WriteSymmetry makes , and the supplied moment approximation gives . Therefore the linear contribution to the bias of an estimator is . The remaining contribution has absolute value at most , because only receive positive weight. This is the interior first-order bias cancellation for local constant regression, and gives squared bias of an estimator . Combining with the variance provesFor fixed , take . It satisfies both asymptotic smoothing bandwidth conditions, and the displayed remainder, multiplied by , tends to zero for this fixed . ThusLetting proves the optimized scaled pointwise error tends to zero. The order of these limits matters: no remainder uniform in has been assumed.
For the lower bound over the whole function class, the absence of a uniform bound on derivatives permits a particularly direct argument. It also avoids assuming a normal distribution for errors when the model only supplies their first two moments. Fix and . Choose a smooth bump function on the interval, with , whose support contains no design point except possibly . Such a bump exists because the design is finite; at an endpoint use the restriction of a smooth bump on the real line. Every , , belongs to the differentiability class.
If is not a design point, all observation means are zero for every . The Le Cam two-point lemma applied to has total variation distance zero and gives a lower bound tending to infinity with . In fact, the supremum of the mean squared error is infinite at every such .
If is a design point, only its response depends on . The resulting location family is the single observation ; all remaining observations are independent of and give no extra information. The single-observation location minimax bound isHere is a proof covering discrete as well as continuous errors. Give the prior distribution , independently of the noise. Put and . Consider an easier experiment in which an oracle also reveals whether , and reveals itself on the complementary event. On the event and , every possible truncated noise value places within . The flat prior distribution then makes the Bayesian posterior noise law exactly its truncated original law. The smallest conditional squared-error loss is its conditional variance , attained by the posterior mean.
The probability of that event is at least for , by restricting further to . Thus every rule's supremum risk function is at least the original Bayes risk, which is at least the easier experiment's Bayes risk, and therefore at least . Let and then . Finite second moment and zero mean give . The rule has constant mean squared error one, proving the equality.
Consequently, at every , the unrestricted differentiability class satisfies the stronger conclusionThus works for every . There is no conflict with the preceding fixed-function limit: the worst functions, including arbitrarily narrow bumps, can vary with . This is the pointwise versus uniform risk distinction. A smoothness ball with a common derivative bound would pose a different minimax risk problem.
Past exam of the mathematics course of the University of Cambridge 2015 iii Paper 34 4 Solution Created 2026-10-03 Updated 2026-10-06
In the Bühlmann model, a latent risk parameter is drawn from a population distribution. Conditional on , the yearly observations are independent and identically distributed random variables, with conditional expectation and conditional variance . Define the structural parametersHere is the expected process variance, while is the variance of hypothetical means. The Bühlmann credibility premium is the best affine estimate of from the observed claims, under mean squared error. Predicting the next claim gives the same affine estimate: the extra conditional observation noise contributes the constant to the prediction error.
The law of total variance and conditional independence giveAn affine estimate can be written as : for any chosen , optimizing the constant makes its expected value equal to . The normal equations for the linear least-squares projection areFor they force all to agree, with . Thus the credibility factor and premium areThe credibility factor increases with the observation count and between-risk variance, and decreases with within-risk variance. If , the risk mean is known and ; if and , one observation reveals it and . If both vanish, the premium is the fixed value and the factor is immaterial.
In the specified model, the conditional law is a gamma distribution with shape and scale . ThereforeThe prior is an inverse-gamma distribution with shape and scale . To obtain its moments directly, substitute in the defining integral, obtainingThe Gamma function recurrence yieldsThe assumption makes both structural variances finite. HenceIt follows that the model-specific credibility estimate is
For the Bayes estimator under squared error loss, the quantity to estimate is , so the optimum is its posterior mean. The likelihood function, viewed as a function of , is proportional toMultiplication by the prior shows gamma scale inverse-gamma conjugacy:Although the printed hint only mentions integer shapes, the same substitution and Gamma integral normalize this posterior for every positive real shape, so no integrality of is needed. Its posterior mean gives the Bayesian estimate and comparisonThis exact Bühlmann credibility for gamma claims holds for every observed sample, not merely on average. Here the posterior mean is affine in the sample mean, so the best affine Bühlmann credibility premium is also the unrestricted Bayes estimator under squared error loss.
Past exam of the mathematics course of the University of Cambridge 2017 ib Paper 1 19H b Solution Created 2026-09-24 Updated 2026-10-05
For a target , the bias of an integrable estimator is ; it is an unbiased estimator if this is zero at every allowed parameter value. Here has a zero-truncated Poisson distribution, , and . Write an estimator based only on as , assuming a finite expectation for every . Unbiasedness requiresAbsolute integrability at every positive parameter ensures that the power series on the left converges absolutely on every complex disc. Uniqueness of coefficients in a power series therefore gives for odd and for positive even . Conversely these values give the displayed identity, sois the unique unbiased estimator of this form. The uniqueness claim concerns nonrandomized functions of ; allowing external randomness would permit addition of independent mean-zero noise.
For this parity estimator for a zero-truncated Poisson count, usefulness depends on the loss, but under squared-error loss it performs poorly despite being an unbiased estimator. Since , andIt takes the inadmissible value with positive probability, and its variance tends to one rather than zero as . Clipping to the parameter interval gives . This has bias , butThus a simple biased estimator strictly improves its mean squared error at every parameter value; uniqueness among unbiased estimators does not make it optimal for this loss.
Past exam of the mathematics course of the University of Cambridge 2017 ib Paper 1 7H a Solution Created 2026-09-24 Updated 2026-10-05
The Rao-Blackwell theorem applies to an estimator with finite second moment and a sufficient statistic . The conditional estimator can be chosen as a function of the observed that does not depend on the unknown parameter: this uses the parameter-independent conditional data distribution in the definition of sufficient statistic. The tower property of conditional expectation gives , so their bias agrees. The law of total variance givesFor any target it follows thatEquality holds exactly when almost surely under that parameter value. This proves variance reduction and reduction of mean squared error, whether or not the original estimator is an unbiased estimator. More generally, conditional Jensen inequality proves the corresponding inequality for any convex loss in the estimate, whenever the expectations exist.
Past exam of the mathematics course of the University of Cambridge 2017 ii Paper 2 26K d Solution Created 2026-09-24 Updated 2026-10-05
Set . For fixed and large ,This endpoint maximum likelihood for a singular location density calculation gives a Weibull distribution with shape . The estimator is a consistent estimator, and its error has order , faster than the error of . Its bias is asymptotic to and its mean squared error to , versus a positive constant times for the sample-mean estimator. Thus the minimum estimator is preferable for its much faster convergence, despite its positive finite-sample bias. This is a nonregular support-dependent model; ordinary regular-model efficiency bounds do not apply.
Past exam of the mathematics course of the University of Cambridge 2018 iii Paper 210 2 Solution Created 2026-10-03 Updated 2026-10-05
Put and , where is a nonnegative integer and is the smoothing bandwidth. The local polynomial estimator is the intercept of the weighted least squares fitWhen the local polynomial Gram matrix is invertible, the normal equations giveA singular local polynomial Gram matrix requires a selection convention and may leave the intercept unidentified; an arbitrary nonnegative regression kernel alone does not guarantee uniqueness. At , provided , the Nadaraya–Watson estimator isMultiplying every weight by changes neither fit.
For the uniform kernel, let and . Then . For and , the interval is inside , and the regular design hasThe same lower bound holds when the interval starts at zero, despite the absence of the design point zero. In particular the Nadaraya–Watson estimator is defined throughout the integration interval.
For every Lipschitz continuous mean function in , the bias of an estimator and variance satisfyHere the variance uses the independence of the errors in the fixed-design nonparametric regression model. The bias-variance decomposition of mean squared error and Tonelli theorem give a slightly stronger integrated mean squared error bound than required:ThusThe printed integration interval represents a nonnegative risk function for . For , the written integral has reversed limits and is nonpositive, making the displayed upper bound trivial; it should not be interpreted as an integrated mean squared error in that range. For , evaluation outside would additionally require a specified extension of the mean function. The subsequent optimization restricts to .
Minimizing the stated right side givesFor sufficiently large , and . For example take . Therefore the upper bound holds with
For the lower bound, the PDF has the mean squared error ; the TeX erroneously moves the square outside the expected value. The PDF's suggested smooth bump function is , with value zero at the endpoints, rather than the corrupted TeX formula. A triangular alternative suffices because only Lipschitz continuity is needed.
The Le Cam two-point lemma says that for two data laws with parameter separation , every estimator satisfiesIndeed, classify according to the nearer parameter value. Misclassification incurs squared-error loss at least , and the sum of the two error probabilities is at least one minus the total variation distance. Averaging the two risk functions proves the stated form.
Let , , and use the two-point lower bound with a triangular bumpBoth functions are in , and . Assume first that and . At most design points meet the bump's support. The Kullback-Leibler divergence between normal distributions and chain rule for relative entropy giveThe Pinsker's inequality therefore gives . The Le Cam two-point lemma yields the pointwise minimax rate for Lipschitz regressionThis universal constant is valid for .
If the printed lower bound is read as applying to all positive integers , it also holds with a smaller constant depending on the fixed . For , use the constant mean functions and . They have Kullback-Leibler divergence , so Pinsker's inequality and the Le Cam two-point lemma give minimax risk at least . Combining the two ranges gives the explicit all- choiceThe universal asymptotic constant and this parameter-dependent all- constant are distinct conventions; the latter supplies the assertion without inserting an unstated large- restriction.
Past exam of the mathematics course of the University of Cambridge 2018 iii Paper 338 3 b i Solution Created 2026-10-03 Updated 2026-10-05
Treat and as mean detected counts, or as photon counts with unit quantum efficiency. Let the independent patch measurements be and . For the specified unweighted background subtraction ,The first error is a fixed bias of an estimator; the last expression is the sum of independent photon shot noise variances. Since are already patch totals, no extra factor of the pixel count is needed, and read noise is neglected.
To obtain the systematic-error ceiling requested in the following clause, define the accuracy measure using total root-mean-square error relative to the true source count. By the bias-variance decomposition of mean squared error,For , the shot-noise term is approximately , but the mismatch term must be retained.
There is a terminology qualification: the usual variance-based signal-to-noise ratio in photon counting is and does not include a fixed bias as noise. The printed next-part limit requires the root-mean-square accuracy convention above. A deterministic background mismatch contributes to mean squared error, not to the statistical variance.
Past exam of the mathematics course of the University of Cambridge 2020 ib Paper 1 19H c Solution Created 2026-09-24 Updated 2026-09-29
The scaled maximumhas cumulative distribution function for . ThusThe mean squared error of the maximum likelihood estimator is therefore
Each from the uniform distribution on has mean and variance . The sample mean is unbiased and has variance , hence
Past exam of the mathematics course of the University of Cambridge 2020 ib Paper 1 6H Solution Created 2026-09-24 Updated 2026-09-29
The likelihood contributes precision and precision-weighted mean , while the prior contributes precision and precision-weighted mean . By normal-normal conjugacy with known observation variance, the posterior isThus the posterior mean isWhen , its expectation under true parameter is and its variance is . Hence its frequentist mean squared error is
Past exam of the mathematics course of the University of Cambridge 2021 ib Paper 4 17H f Solution Created 2026-09-24 Updated 2026-09-25
Set and . Sincethe risk is affine in :Its supremum is therefore controlled by the midpoint and the endpoint limit . Requiring both endpoint values to be at most the MLE's maximal risk givesEquivalently,Their intersection isFor precisely this range, the shrinkage estimator has maximal mean squared error no greater than that of .
Past exam of the mathematics course of the University of Cambridge 2022 iii Paper 210 2 Solution 2026-09-28
A kernel for density estimation is an integrable function with . For bandwidth , the kernel density estimator isA kernel of order ell has
Let and be as in the question, put , and define the positive pilot boundFor every , formThe Lepski bandwidth selection method takesSmall bandwidths have little bias but wide intervals; the rule increases the bandwidth until the estimates cease to be mutually compatible.
The grid is geometric with ratio two. Its lower endpoint has order , while its upper endpoint is of orderFor fixed , the oracle bandwidtheventually lies between these endpoints. Its largest grid predecessor therefore exists, and the dyadic spacing gives
On , the true value belongs to every interval with . Their intersection is therefore nonempty, soThe intervals at and have a common point. Since decreases with ,Using and givesBecause , enlarging the constant gives the required
For the final claim take for sufficiently large and use . The squared error on is at most a constant timesOff , boundedness of and the lower endpoint of the bandwidth grid give a deterministic polynomial bound on ; multiplying its square by is . Since and is independent of , this term is no larger than the target rate after changing the constant. Enlarging it once more covers the finitely many , proving the claimed adaptive mean squared error bound.
Pointwise versus uniform risk distinction 2026-10-06
A risk function can decay rapidly for each fixed regression function while its supremum over a function class decays more slowly or fails to decay. Bounds depending on each function's local differentiability remainder need not be uniform. In fixed-design nonparametric regression, a class with no common smoothness bound permits smooth bump functions whose supports shrink between design points. Such sequences obstruct uniform estimation without contradicting fixed-function mean squared error bounds.
Randomized symmetric finite-difference derivative estimator Created 2026-10-03 Updated 2026-10-06
Given noisy evaluations at , where the are independent Rademacher random variables, the estimatoraverages one-sided finite differences from both directions. If and the noise variance is , its mean squared error is at most .
Systematic-error signal-to-noise ceiling 2026-10-05
For a full-rank centred design, unscaled ridge regression and zero-mean errors with covariance , put and . The ordinary-least-squares risk matrix minus the ridge risk matrix is . It is positive definite whenever , including every positive when . Thus one signal-dependent small penalty improves every nonzero-direction mean squared error.