Past exam of the mathematics course of the University of Cambridge 2016 iii Paper 206 1 c Solution Created 2026-10-03 Updated 2026-10-06
For a new independent tumour grown for ten days in B, use . Its fitted mean isWrite . The prediction interval in a normal linear model iswhere and is the indicated Student's t-distribution quantile. The design information needed to evaluate is not supplied, so a fully numerical interval cannot be recovered from the coefficient standard errors alone: the coefficient covariances are also needed.
To prove coverage, write , with independent of the original sample. The error has a normal distribution with mean zero and variance . By the joint distribution of least-squares and variance estimators, and is independent of ; it is also independent of . Hence the pivotal quantityConsequently , which is exactly the claimed prediction interval coverage. This is repeated-sampling coverage conditional on the design, assuming the model; it need not hold conditional on the particular observed training responses. The extra represents new-observation noise and must not be omitted as in a mean confidence interval.
Past exam of the mathematics course of the University of Cambridge 2016 iii Paper 206 3 c Solution Created 2026-10-03 Updated 2026-10-06
The Pearson dispersion estimator is , well above the Poisson value one. A Quasi-Poisson regression retains the logarithmic mean model but usesThis is a quasi-likelihood specification; it does not by itself identify a count probability distribution. For a common , the quasi-score equation is the Poisson score divided by , so its roots and fitted means are unchanged. ThusCoefficient standard errors are multiplied by . The altitude standard error becomes , giving the requested approximate normal confidence intervalIt excludes zero, so retain altitude on this approximate 5% test. Its test statistic is about after allowing for overdispersion, rather than the Poisson value . Rescaling uncertainty cannot repair a systematically misspecified mean; the diagnostics in part (e) motivate reconsidering that mean as well.
Past exam of the mathematics course of the University of Cambridge 2016 iii Paper 207 1 e Solution Created 2026-10-03 Updated 2026-10-06
Choose a group sequential design. Randomize patients among the three arms, schedule interim analyses after prespecified amounts of information, and calculate the two Wald test statistics at each look. Prespecify efficacy boundaries and a futility rule; allow early stopping of an ineffective experimental arm or of the trial when sufficiently convincing efficacy evidence is obtained. Calibrate the boundaries for both repeated looks and the two shared-control comparisons so that the familywise error rate remains controlled. An alpha-spending function is one way to allocate the error probability across looks.
Two potential benefits are lower expected recruitment and shorter duration when a treatment is clearly effective or futile, and earlier identification of benefit or lack of benefit, reducing continued exposure to an ineffective experimental treatment. These benefits concern expected performance; the maximum sample size may still be required.
Two drawbacks are the extra operational work needed for rapid, reliable outcomes and confidential interim analyses, and more complicated inference: repeated testing requires adjusted boundaries, and ordinary fixed-sample effect estimates and confidence intervals can be misleading after data-dependent stopping. Continuing two comparisons against a shared control also requires care if an arm is stopped.
Past exam of the mathematics course of the University of Cambridge 2016 iii Paper 208 5 a Solution Created 2026-10-03 Updated 2026-10-06
Let be iid with density , set , and put and . The finite-second-moment assumption gives, for ,The sample variance consistently estimates . The central limit theorem and Slutsky theorem therefore give the asymptotic confidence intervalIts confidence probability is approximately , conventionally written ; the printed omits the factor . For , almost surely and the estimator has zero error. This interval concerns iid Monte Carlo estimators; correlated simulation output requires a long-run variance of a stationary process estimate instead of the iid sample variance.
Past exam of the mathematics course of the University of Cambridge 2017 ib Paper 2 8H a Solution Created 2026-09-24 Updated 2026-10-05
A confidence interval is a pair of statistics whose random interval satisfiesAn exact confidence interval has equality throughout. The probability refers to repeated sampling at a fixed unknown parameter; the endpoints are random before observation. It is not a posterior probability assigned to the parameter after seeing the data. Here .
Past exam of the mathematics course of the University of Cambridge 2017 ib Paper 2 8H b Solution Created 2026-09-24 Updated 2026-10-05
The sample mean has normal distribution because the observations are independent with known variance 1. The pivotal quantity has the standard normal distribution. Consequentlyand inversion gives the confidence intervalReplacing 1.96 by the exact normal quantile gives exact 95% coverage; the printed numerical value gives the usual rounded interval. No variance estimation or Student distribution is needed.
Past exam of the mathematics course of the University of Cambridge 2017 ib Paper 2 8H c Solution Created 2026-09-24 Updated 2026-10-05
Let and be the order statistics. For the symmetric uniform distribution, each observation is above or below with probability , independently. ThusSo is an exact 50% confidence interval.
The observed interval contains values impossible under the sampling model. Both observations must lie within one unit of the parameter, so the interval of all compatible values is . It contains the true parameter almost surely. A support-restricted confidence interval for a uniform location parameter can therefore reportMore precisely, the procedure retains exact 50% unconditional coverage, since the second interval contains almost surely. The intersection is a nonempty interval for every sample in the model and equals for these data. Reporting the full compatible interval alone is also valid and has coverage one. On this sample's large-spread event it lies wholly between the observations; this does not turn the unconditional 50% procedure into a generally 100% procedure.
Past exam of the mathematics course of the University of Cambridge 2017 iii Paper 205 6 Solution Created 2026-10-03 Updated 2026-10-05
Put . The Debiased Lasso correction isFor the Nodewise Lasso, let . Its Karush-Kuhn-Tucker conditions areso at a nonzero coefficient and at a zero coefficient. Multiplying by gives the nodewise-Lasso residual identityWe require nonzero design columns, a necessary qualification missing from the unrestricted printed formulation. Because , would force both and , and hence . Thus nonzero columns suffice for even when or the full Gram matrix is singular. A zero column instead gives and its coefficient is unidentifiable from ; the proposed normalization and confidence interval do not exist there.
For each , define by and . Set row of to . Since ,This row construction is the nodewise normalization used by van de Geer and coauthors. The matrix need not be symmetric or be an actual inverse.
Substitute the linear model into the correction. The exact decomposition isIn the fixed-design normal linear model, or with and nodewise estimates and tuning chosen from alone, a linear transformation of a multivariate normal distribution gives . Marginal normality of without this conditional assumption would not suffice for a response-dependent random design. No independence between and is asserted. The diagonal cancellation and the Holder inequality give the debiased-Lasso remainder bound
For a coordinate variance, , whenceWriting for the corresponding standard normal quantile, an approximate confidence interval isEquivalently its half-width is . We assume and . For asymptotic coverage, the standardized remainder must have convergence in probability to zero and the coordinate variance must be nondegenerate. Exact conditional normality of alone does not give finite-sample exact coverage for .
One sufficient random-design regime is the Gaussian identity design for debiased Lasso: take independent rows , independently of , fixed , , , andChoose and all for sufficiently large fixed . Here is why this regime has the requested remainder bound. Uniformly over columns, their squared norms divided by tend to one, while all off-diagonal sample cross-correlations have magnitude at most a constant times with probability tending to one. Taking larger makes the zero vector satisfy all nodewise Karush-Kuhn-Tucker conditions strictly, so for every on that event, and eventually. This also gives uniformly.
In this regime, the entrywise entrywise concentration of a Gaussian Gram matrix and Lasso cone condition argument in Gaussian identity design for debiased Lasso gives a Compatibility condition for the Lasso bounded away from zero with probability tending to one. Together with the noise-score event and the Basic inequality for the Lasso, this yields, for a fixed ,For example, the cone inequality and compatibility bound give on their joint event. Therefore, with a fixed ,The stated sparsity condition makes this remainder vanish and supplies the preceding confidence-interval requirement. Both dimensions may grow: and satisfy these assumptions. The concentration and Gaussian-design compatibility results are sufficient standard conditions here; the question does not require their proofs. The displayed rate is a high-probability fixed-constant bound, rather than only a claim of boundedness in probability.
Past exam of the mathematics course of the University of Cambridge 2017 iii Paper 207 1 a Solution Created 2026-10-03 Updated 2026-10-05
Write and for the estimated log odds ratios relative to the common control. Indirect treatment comparison uses the consistency relation . For independent trials, subtraction adds their variances, givingThe substantive assumption is transitivity in network meta-analysis: the study populations, outcome definitions and follow-up are sufficiently comparable, particularly in their distributions of effect modifiers, that the two control comparisons estimate effects applicable to the same target population. The common control's name alone does not justify that assumption. This also assumes comparable marginal odds ratios; these need not equal covariate-adjusted odds ratios even without confounding.
Using the supplied rounded variances and the given standard normal quantile, the approximate confidence interval isOn the odds ratio scale this is , with approximate limits . The estimated odds of recurrent stroke under treatment are about 28% of those under , a reduction of about 72% in odds. The interval excludes equal odds, so this comparison provides evidence of lower odds under if the indirect treatment comparison assumptions hold. These are odds, not a 72% reduction in probability; a confidence interval describes the long-run coverage of the procedure, not a posterior probability for this particular interval.
Past exam of the mathematics course of the University of Cambridge 2017 iii Paper 207 1 e Solution Created 2026-10-03 Updated 2026-10-05
A random-effects meta-analysis allows differences in true treatment effects across countries and eligibility criteria. For trial , let be its estimated log odds ratio and its estimated within-trial variance. A usual approximate statistical model isindependently across trials, with independent of sampling errors. Here is the mean true log odds ratio in the population of comparable trials, and is between-trial heterogeneity, not additional sampling error. Therefore , and for a fitted heterogeneity value,One can estimate by restricted maximum likelihood or another justified method; is a plug-in conditional variance and does not fully account for estimating heterogeneity. With only six studies that uncertainty matters. Different eligibility rules motivate this random effect but do not by themselves establish exchangeability or remove bias; known effect modifiers may warrant stratification or regression.
Use leave-one-study-out influence analysis: fit all six trials, then omit Cohen 1989 and refit both and . Report , the corresponding change in the odds ratio, and changes in the confidence interval and heterogeneity. As a diagnostic with heterogeneity held fixed, writing givesThe fitted Cohen weight would be and . A precise but discordant trial can have large influence; refitting assesses additional influence through heterogeneity. The other five trials' data are absent, so a numerical six-trial influence assessment is not identifiable from the displayed table.
Past exam of the mathematics course of the University of Cambridge 2018 iii Paper 207 3 d Solution Created 2026-10-03 Updated 2026-10-05
The supplementary excerpt uses an adjusted observational study and a two-sample Mendelian randomization analysis.
The observational study examines co-occurrence of hypercalcaemia and migraine diagnoses in electronic health records, adjusting for age, sex, and ancestry. Its adjusted odds ratio is 1.58, with .
The two-sample Mendelian randomization analysis combines the associations of eight genetic variants with serum calcium and with migraine, using a weighted genetic risk score. It estimates an odds ratio of 1.80 per genetically predicted 1 mg/dL higher serum calcium, with 95% confidence interval . The weighted-median Mendelian randomization estimator and MR-Egger regression provide sensitivity analyses.
The measured and instrumented exposure is serum calcium, rather than dietary calcium intake itself. Calcium intake and serum calcium are not interchangeable interventions, and an odds ratio of 1.80 is an odds contrast rather than necessarily an 80% increase in probability. The shortened excerpt supplies two approaches; a further analysis in the full research paper is outside this excerpt.
Past exam of the mathematics course of the University of Cambridge 2018 ii Paper 3 28K c Solution Created 2026-09-24 Updated 2026-10-03
If is the -quantile of the chi-squared distribution with degrees of freedom, an asymptotic confidence region isIn this known-identity-covariance model one may replace by ; then the confidence ball is exact. For an individual coordinate, the corresponding exact confidence interval is
Past exam of the mathematics course of the University of Cambridge 2019 ib Paper 3 20H c i Solution Created 2026-09-24 Updated 2026-09-29
Let denote the -quantile of the standard normal distribution. Since the variance is known,so a confidence interval is
Past exam of the mathematics course of the University of Cambridge 2020 ib Paper 1 19H d Solution Created 2026-09-24 Updated 2026-09-29
Because , for fixed and sufficiently large ,ThereforeEquivalently, converges in distribution to an exponential distribution of rate one.
Put . The limiting probabilityand the certain inequality suggest the approximate confidence intervalSince , its expected length isas required.
Past exam of the mathematics course of the University of Cambridge 2022 iii Paper 218 6 e Solution 2026-09-28
The reported 95% credible interval for isConditional on the model, prior, and observed data, its posterior probability is 0.95. A frequentist 95% confidence interval instead has 95% coverage under repeated sampling before the data are observed; it does not assign a sampling probability to the fixed parameter after observing this dataset.
A Gaussian distribution with mean and standard deviation has probability densityIts symmetry, finite variance and simple behavior under linear combinations make it useful for repeated measurements. Roughly , and of observations lie within one, two and three true standard deviations of the mean. These are coverage probabilities for a specified distribution, not guarantees that every experimental error is normal.
Why it appears. The central limit theorem explains why many sums of small independent finite-variance contributions approach a Gaussian law after centering and scaling, provided no single contribution dominates. Detector noise, small mechanical disturbances and multiple electronic fluctuations can combine approximately this way. The theorem does not remove a common calibration bias, and it does not justify assuming normal tails for rare large disturbances or arbitrarily correlated errors. A large-mean Poisson distribution also approaches a Gaussian with variance equal to its mean, making normal approximations useful for high-count photon or particle data; low counts require the discrete model.
A classical particle at thermal equilibrium in a one-dimensional harmonic potential has a Gaussian position distribution directly from the Boltzmann distribution:Thus a Gaussian law can arise from the energy dependence of equilibrium probability, rather than only from an informal appeal to many independent errors.
Precision of repeated measurements. For independent observations with the same mean and variance, the sample mean has variance . For Gaussian observations this mean is exactly Gaussian:Consequently quadrupling the number of independent readings halves the random standard error. When the true variance is unknown, a small-sample confidence interval for a normal mean uses a Student t-distribution with statistical degrees of freedom; replacing that by a normal quantile can overstate precision. Shared systematic errors and correlations do not decrease by the same averaging rule.
Combining results and fitting models. Independent Gaussian estimates of one quantity, with known variances , combine through the inverse-variance weighted meanFor a model with independent zero-mean Gaussian noise, maximizing the likelihood is equivalent to minimizing the weighted least-squares statisticFor a correct linear model with known independent Gaussian errors and fitted parameters of full rank, the minimized statistic has a chi-squared distribution with degrees of freedom. Nonlinear fits only inherit that familiar approximation under additional regularity and adequate-data assumptions. Known correlated Gaussian errors require the full inverse covariance matrix in the quadratic form.
These properties support confidence intervals, consistency checks, calibration and error propagation. They also give practical diagnostics: inspect residuals for trends, changing spread, correlations or outliers before trusting a Gaussian fit. Gaussian models connect physical fluctuations to quantitative uncertainty, but their assumptions must be checked rather than inferred from the shape of a convenient bell curve.
Bayes' theorem updates prior knowledge using the likelihood of new observations. For alternative hypotheses ,The prior describes information before the data ; is the sampling likelihood, and the posterior describes the updated probabilities. Posterior odds equal prior odds times the likelihood ratio. A likelihood is a probability model for data at specified parameters, not automatically a normalized probability distribution over those parameters.
For a continuous parameter , the same rule uses densities: . Priors can encode positivity, physical limits, previous independent measurements or calibration knowledge. Their parameterization matters: a density uniform in a rate is not uniform in its logarithm. Proper priors make model evidences well defined; an arbitrary normalization in an improper prior is especially problematic for comparing models.
A counting example uses Poisson-gamma conjugacy. If a detector registers events in exposure with constant rate , . A gamma prior with shape and rate parameter , , givesThe posterior mean combines the prior rate with the observed rate , weighted by the prior and actual exposures. The parameters must use a consistent shape-rate convention. Small counts can leave substantial prior sensitivity; abundant informative data usually reduce it for regular identifiable models.
Independent old data can become the prior for a new experiment, giving the same result as joint updating under a consistent model. The new data must not also have been used to construct that prior, or the evidence is counted twice. A credible interval has a specified posterior probability under the chosen model and prior; this interpretation differs from repeated-sampling coverage of a confidence interval. Predictions for a future observation average its sampling distribution over the posterior, incorporating parameter uncertainty. Prior sensitivity checks and a defensible likelihood are therefore part of the inference, rather than Bayes' theorem itself supplying missing physical knowledge.
Percentile bootstrap confidence interval 2026-10-14
A percentile bootstrap confidence interval takes the lower and upper chosen quantiles of the conditional bootstrap distribution of the estimator itself. With simulated estimates, ranks near and provide an approximate central confidence interval. Unlike a basic bootstrap confidence interval, the endpoints are not reflected about the observed estimate. Coverage requires suitable regularity and accurate bootstrap approximation; the ranks do not establish exact finite-sample coverage.