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 216 2 Solution Created 2026-10-03 Updated 2026-10-06
Write for the directed edges from parent to child and for the state at site . The global Markov property for an undirected graph on this tree, together with the specified parent transitions, gives the complete-data likelihood functionOne can obtain the factorization by successively removing terminal subtrees: after conditioning on their parent, each subtree is independent of the rest. The root factor and transition products also show that different sites are independent. Only ancestral states are latent variables.
At the current Markov kernel , define expected transition countsThe E-step of the expectation-maximization algorithm isMaximize separately for each row under and . For , the Lagrange multiplier equation is , with zero-count entries set to zero at a boundary maximum. Thus the EM transition-count update on a tree isIf , that row does not occur in ; any row probability distribution, including its previous value, maximizes the objective.
The expected counts can be computed exactly by the Felsenstein pruning algorithm and an outward belief propagation pass. For one site, let be the conditional probability of observations in the subtree below , given state . For a leaf with observed state , . For an internal vertex,Define as the joint mass of state at and all observations outside its subtree. The root has . For a child of , putThe edge posterior probability required above isMultiply the inside and outside factors to obtain the joint mass of the observations and endpoint states; division by the site likelihood function proves this expression. Sum over edges and sites to form . The two passes take operations on a binary tree. Scaling messages or computing them logarithmically avoids underflow.
A strictly positive initial Markov kernel ensures for every observed leaf pattern, so every E-step is defined. At a later boundary iterate, require positive likelihood for the actual data and restrict the conditional distribution to its support. EM likelihood monotonicity proves that the update cannot decrease observed-data likelihood function. It is a maximum-likelihood iteration, not a guarantee of finding the global maximum-likelihood estimate; different initial kernels may lead to different stationary points.
Past exam of the mathematics course of the University of Cambridge 2019 ia Paper 2 9F c Solution Created 2026-09-24 Updated 2026-10-14
Urn has balls, so a draw from it is white with probability . Given that the first ball is white, Bayes' theorem gives the posterior probabilityAfter replacement, the second draw is conditionally independent of the first given the urn. HenceConsequently .
Posterior odds 2026-10-14
For two exhaustive mutually exclusive models, posterior odds are the ratio of their posterior probabilities. Bayes' theorem givesThe second factor is the Bayes factor, formed from model prior predictive distributions. Evidence favouring one model need not make that model's posterior probability exceed one half if its prior probability was sufficiently small.
For fixed statistical parameters and , Bayes' theorem gives the mixture responsibilityIt is the conditional expectation of the mixture allocation indicator. This posterior probability concerns the hidden label, with held fixed; it does not require a prior distribution over . For a continuous , use the density ratio to define this conditional distribution, rather than dividing probabilities of the zero-probability event .[ref]
Finite Mixtures. Finite Mixtures, section Recovering posterior mixture proportions: Bayes formula for label probabilities conditional on the observation, component parameters, and mixing weights
For the Two-Gaussian mixture example, the component density ratio is , so the posterior probability ratio and the mixture responsibilities areAt the two unweighted component densities are equal, so the mixture responsibilities equal the mixture weights: , . At , the second component density is twice the first and its mixture responsibility is . Equal mixture responsibilities instead occur at : the more frequent second mixture component is favored even slightly to the left of the midpoint.
The mixture weights describe membership before learning ; mixture responsibilities describe membership after learning . The law of total expectation gives under this statistical model, although varies across individual values. In fitting by the expectation-maximization algorithm, evaluate mixture responsibilities at the current statistical parameters and recompute them after an update.
Sequential Bayesian photon counting 2026-10-18
Consider an original balanced-readout model, rather than a fit to the experiment. Let , with a normalized prior probability and . A detected chemical atom has outcome . Define the conditional probabilitiesHere is the accumulated quantum phase per photon, the controlled analysis quantum phase, and the fringe contrast. The two probabilities sum to one for every . Actual calibration may also require an offset and asymmetric detection errors; alone does not specify a quantum instrument.
Assume no photon number change during the record and fresh independently prepared atomic meters. For observed outcomes at recorded settings , the Born rule and Bayes' theorem giveThe posterior probability is defined only for . Summing its numerator over proves normalization. This is also the update of diagonal elements of a field density operator under a measurement in quantum mechanics; it does not assume that an initial quantum superposition was an unknown pre-existing integer. The observed settings are part of the record, especially when selected adaptively.
For an exact finite example take , , and . An outcome at has likelihood , giving . Another at gives . A subsequent at givesThus three atomic records raise the posterior probability of from to , while leaving finite uncertainty. No one of these outcomes identifies with certainty.
The periodic likelihood function imposes an identifiability limit. If for an integer , then for every setting: the posterior odds between and never change. Varying can resolve a cosine reflection ambiguity within a period, but cannot remove this exact period. Changing can supply additional information. A finite cutoff is therefore a physical assumption to justify, not evidence that excluded high photon numbers were absent. At no outcome changes the prior probability; at neither binary outcome has an exactly zero likelihood.
The no-loss assumption also has a time limit. In an original zero-temperature loss model, let . A Fock state loses its first photon at rate , so its survival probability is and its mean lifetime is for . Several records must be acquired within that lifetime to identify a plateau. When losses matter, first predict using a normalized transition matrix, then apply the atomic Bayesian inference update to . Thermal excitation requires upward transitions too. A delayed or broadened inference after a jump need not indicate that an atom caused the jump.
Small normal sample mean confidence interval 2026-10-18
Under the studentized normal sample mean assumptions, let denote the quantile at cumulative probability of the Student's t-distribution. For , rearranging the event gives a Student t confidence interval for the unknown mean with exact coverage probability . [ref]
Choose the list as an original arithmetic example, not as reported measurements or a claim that these five numbers establish a normal distribution. If such values were obtained under the assumed independent and identically distributed normal distribution model with unknown , thenThere are four statistical degrees of freedom. For a 95% confidence interval, , soUsing the standard normal quantile with the same estimated standard error would give only . That underestimates the correct margin by about 29.4%. Indeed its actual coverage probability under this normal distribution model is , rather than 0.95.
The observations, the sample mean and the confidence interval all have different meanings. The bar estimates the population mean; it is not an interval intended to contain 95% of individual observations. In repeated independent samples of size five from the assumed normal distribution, 95% of intervals constructed using the exact quantile cover the same fixed . This is not a 95% posterior probability that the fixed statistical parameter lies in this particular realized interval. Such a probability requires a separate Bayesian inference model.
For this four-degree case, the cumulative distribution function has an especially simple form:One can check the formula by differentiation: , with limits zero and one at the two ends of the real line. Solving the increasing equation by the bisection method gives the quantile used above.


