Past exam of the mathematics course of the University of Cambridge 2025 iii Paper 219 1 e Solution Created 2026-09-24 Updated 2026-10-03
Differentiating the log-likelihood gives the unique stationary pointIts Hessian is diagonal with entries , , and , so it is the unique maximum. The estimators are unbiased and have varianceswhich equal their Cramér-Rao lower bounds because the normal location statistics are efficient.
Past exam of the mathematics course of the University of Cambridge 2026 iii Paper 218 5 c Solution Created 2026-09-24 Updated 2026-09-25
The neural-network likelihood is nonconvex, so optimization can stop at a local optimum or saddle rather than a global maximum. One hundred epochs may be insufficient for convergence. Mini-batch gradient noise together with a fixed positive learning rate can keep the iterates fluctuating around a stationary point rather than reaching it exactly. Any of these prevents the final parameters from being exact maximum-likelihood estimators.
Past exam of the mathematics course of the University of Cambridge 2026 ii Paper 1 29L a Solution Created 2026-09-24 Updated 2026-09-25
For an observed random sample with all , which happens almost surely, independence gives the likelihood functionIgnoring a term independent of , the log-likelihood and its derivative areThis derivative is positive for and negative for . Thus there is a unique global maximum, and the maximum-likelihood estimator is
The joint maximum-likelihood estimators are functions of the observations selecting a maximizing parameter pair:The estimates after observation maximize the same likelihood function with . Maximization may be nonunique, as for an even sample size, or may fail to yield a finite admissible pair, as in the one-observation case below. The definition does not turn a boundary supremum into an attained maximum.
For this rate parametrization of the Laplace distribution, is its mean and median. By symmetry, , while has exponential distribution with rate , soThe integral follows by two applications of integration by parts. The central limit theorem therefore givesWith known and the supplied cutoff 2, an approximate 95% confidence interval isThis known-rate Laplace location confidence interval uses the sample mean; the later maximum-likelihood estimator of location need not be used to construct this valid asymptotic confidence interval.
For equal one-second observation windows, the sample mean estimates the Poisson distribution mean:This matches the expected mean count; it is also the maximum-likelihood estimator for independent Poisson distribution observations. With windows, fitted expected frequencies are for , and .
Each last-column entry is , and the Pearson statistic is . The displayed expected frequencies and contributions are rounded, so their printed values need not reproduce every final digit of a calculation using unrounded probabilities.
For independent daily counts modeled by a Poisson distribution, the log-likelihood isDifferentiating gives the maximum-likelihood estimator . Here the observed frequencies sum to , and the expected frequencies are consistent with (their ratio estimates the same parameter). The final class is open-ended: its single observation is only reported as at least 9, so its exact contribution to the sample total cannot be recovered from this grouped table alone. The underlying ungrouped daily observations determine the exact sample mean.
Assume each sampled response is truthful, card selection is independent of the student's status, and responses follow the usual independent sampling model. In randomized response, a yes answer occurs either for a user receiving the first question or for a nonuser receiving the complementary question. Its probability isConsequently , and the likelihood isFor , first maximize the binomial likelihood in the unrestricted probability : its maximum occurs at . Inverting the affine relation givesFor an interior value , the same result follows from the scoreThe endpoint cases follow by monotonicity. This estimator has expected value and varianceThese identities follow immediately from and .
The printed claim needs a parameter-space qualification. The admissible yes probabilities lie in , which may exclude . The constrained maximum-likelihood estimator isThe displayed untrimmed estimator is the maximum-likelihood estimator only when it already lies in . Its unbiased estimator property does not carry over to the clipped estimator in general. For example, if , and , the clipped estimate equals 1 exactly when the answer is yes, so its expectation is , not zero. At , for every : the parameter is unidentifiable and the printed quotient is undefined. Thus the unbiased formula requires , and the constrained likelihood assertion requires the stated clipping.
Let and . Terms independent of can be dropped from the log-likelihood, leavingFor , strict concavity gives the unique interior maximum likelihood estimatorIf , the likelihood increases up to : this is the boundary estimate on the closed parameter range, or a supremum if the model insists on .
Under the standard consistency and regularity hypotheses for the maximum-likelihood estimator,Equivalently, for large samples is approximately . In a standard-error estimate, the unknown parameter in the information may be replaced by the consistent estimate .
Let be the log-likelihood. Under the usual regularity conditions, the expected Fisher information in the whole sample isThe equality of the two expressions uses mean-zero score and permitted differentiation of the normalization identity. Independent observations make the information additive. The maximum-likelihood estimator has asymptotic normality:The factor is included in ; it must not be inserted a second time into the variance.
Let for the standard normal cumulative distribution function. Consistency of the maximum-likelihood estimator and Slutsky's theorem give the asymptotic standardizationIts probability of lying between and tends to . Solving those inequalities for the unknown parameter yields the Wald confidence intervalThus the estimated standard error is . Its coverage is approximate and relies on the large-sample regularity assumptions.
For the same sample size , the geometric distribution provides more Fisher information:The corresponding asymptotic variances of the maximum-likelihood estimators areHence choose the geometric sample for more precise inference at equal numbers of observations. Its asymptotic variance is times as large, and its standard error is times as large. This illustrates Fisher information per observation and per trial. It is a per-observation comparison: one geometric observation records a waiting time containing, on average, Bernoulli trials. A constraint on the total number of underlying trials would be a different sampling-budget comparison.
For the full-column-rank design matrix, the normal-error maximum-likelihood estimator is the least-squares estimatorIndeed maximizing the Gaussian likelihood over minimizes , whose normal equations are ; rank makes invertible. Substitution of the model givesSince , it follows that , proving unbiasedness.
Put . The log-likelihood for the Laplace distribution isFor the derivative is positive for and negative for , so the unique maximum-likelihood estimator isThe exceptional data set has probability zero; there the likelihood has its supremum at the excluded boundary . For the Fisher information, has exponential density for , hence mean . Since ,This also follows from the score variance, because .
With independent Gaussian errors, maximizing the likelihood over minimizes the residual sum of squares, so the maximum-likelihood estimators are the same as least squares. The invariance property of maximum likelihood estimation givesThe two estimates have zero covariance by part (ii). ThereforeThis is the uncertainty in the estimated expected response. Estimating an additional noisy observation would add its own error variance, but the quantity requested is the mean response .
Under the standard consistency and regularity hypotheses for the maximum-likelihood estimator,Equivalently, for large samples is approximately . In a standard-error estimate, the unknown parameter in the information may be replaced by the consistent estimate .
Write for individual survival probability. Conditional on a clump of size , its death probability is . Averaging with the geometric distribution givesThusHere and ; different clumps and experimental repetitions are understood independent for the sampling model.
The live-clump counts have independent binomial distributions, all with the same . Up to a constant, their combined likelihood function is , maximized at when . Solving for gives . ThereforeMonotonicity of in makes this the maximum-likelihood estimator. At the sampling boundaries, gives , while gives only a supremum as , with no finite maximizer. These are the limiting interpretations of the formula.
The normal-error log-likelihood, for fixed variance, is a constant minus . Differentiating the squared residual gives the normal equations . Since has full column rank, is positive definite and the squared residual is strictly convex in . Hence the unique minimizer, and thus the maximum-likelihood estimator, isProfiling over the unknown positive variance does not change the residual-minimizing value of .