Topics (384k) Articles (398k) Users (410) Discussions (242) Comments (383) Files (13k) New article
Past exam of the mathematics course of the University of Cambridge 2015 iii Paper 35 3 b Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-06
In discrete back-calculation with endpoint cohorts, for equal-width intervals , write , for the expected infection count assigned to time under the end-of-interval approximation, and for the expected onset count in . DefineAn infection assigned to can first contribute to , so the discrete convolution with this timing convention isThe sum includes any infection cohorts before the observation window. With no infections before and cohorts beginning at , it is and the first mean is zero in this endpoint approximation.
For unequal intervals use , truncating negative endpoints at zero, and . An alternative approximation assigning cohort to gives . Both are legitimate discretisations; the subsequent solutions use the end-of-interval convention explicitly specified in part (d), so the index shift is essential.
Past exam of the mathematics course of the University of Cambridge 2015 iii Paper 35 3 a Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-06
Let be the infection time and its incubation delay, with independent delays having probability density function . Each infection contributes to the symptom-onset intensity according to its delay density. Back-calculation of infection incidence uses the convolutionObserved onset intensity is infection intensity convolved with the incubation distribution. If infections begin at a known , take for , reducing the first integral's lower limit to . Otherwise past infections must be included; the observation window's start need not be the infection process's start.
Past exam of the mathematics course of the University of Cambridge 2015 iii Paper 35 2 f Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-06
For an independent subgroup contrast in meta-analysis, the difference of disjoint independent subgroup estimates has estimated variance equal to the sum of the two variances. The subgroup contrast and standard error areThe Wald test of equal subgroup mean log odds ratios therefore givesUnder the null, is approximately standard normal and has a chi-squared distribution with one degree of freedom. A quantile-2 confidence interval for the difference is . There is no statistically persuasive evidence of a subgroup difference. The result does not establish equal effects. Nor does a between-trial subgroup comparison, by itself, identify a causal advantage of one technique: other study characteristics may differ.
Past exam of the mathematics course of the University of Cambridge 2015 iii Paper 35 2 e Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-06
Within-study bias is a systematic displacement of a study's effect estimate from its intended true effect because of its design, conduct, analysis or reporting. Examples include faulty allocation concealment, differential outcome assessment without suitable blinding, informative loss to follow-up, deviations from the intended treatment analysis, and selective reporting of outcomes or analyses. This differs from chance sampling error; the bias need not diminish as a study becomes larger.
It can shift a pooled meta-analysis effect and can create or obscure between-study heterogeneity. A random-effects meta-analysis accommodates dispersion, not systematic invalidity. Publication or non-inclusion of whole studies is a separate selection problem at the synthesis level.
Two useful approaches are risk-of-bias sensitivity analyses and explicit bias adjustment. First, appraise the relevant bias domains and compare the full synthesis with a prespecified synthesis restricted to studies with more credible methods, or stratify by those domains; discuss the resulting loss of precision and possible confounding of study characteristics. Second, if substantive information supports plausible bias magnitudes, use a bias-adjusted meta-analysis with uncertainty about those adjustments, and assess the effect across plausible values. Simply assigning a generic quality score or downweighting a study's sampling variance does not by itself remove its bias.
Past exam of the mathematics course of the University of Cambridge 2015 iii Paper 35 2 d Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-06
A fixed-effect meta-analysis assigns inverse-variance weights. Using the unrounded within-study variance from part (b), this trial has , so its percentage weight isUsing the printed rounded standard error of instead gives approximately ; the raw cell calculation yields the more precise answer.
For a random-effects meta-analysis, the corresponding weight and percentage weight areWith , its unnormalised weight is . The supplied sums of fixed-effect weights do not determine the denominator of the random-effects percentage; the individual are needed. Positive heterogeneity makes the weight distribution more even. Percentage weight measures the trial's contribution to a pooled mean with fixed weights; total influence can also involve re-estimation of heterogeneity.
Past exam of the mathematics course of the University of Cambridge 2015 iii Paper 35 2 c Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-06
Use for the inverse within-study variances, and . For Cochran's Q statistic, the DerSimonian–Laird estimator of the between-study variance isConsequently the estimated heterogeneity variance and standard deviation areThese describe dispersion of underlying study log odds ratios, not ordinary sampling error of a single trial. The between-study heterogeneity is additional to the within-study variances.
The I-squared statistic isIt estimates the share of variation beyond that expected from sampling error in this collection of studies. Approximately half the variation is attributed to heterogeneity on that scale; this is neither the percentage of trials with different effects nor a percentage change in mortality. The PDF omits the symbol naming its heterogeneity estimate, so both and are reported explicitly.
Past exam of the mathematics course of the University of Cambridge 2015 iii Paper 35 2 b Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-06
The event and nonevent cell counts are and . Thus the estimated odds ratio and log odds ratio areFor independent binomial groups, the delta method givesUsing the permitted normal approximation quantile of 2, the approximate 95% interval isThe observed odds of death are equal between groups. The confidence interval includes zero and allows appreciable effects in either direction; it does not demonstrate equivalence. Exponentiating gives an odds ratio interval approximately , so the data are compatible with roughly half to twice the death odds for the first treatment relative to the second. The tabulated standard error is rounded.
Past exam of the mathematics course of the University of Cambridge 2015 iii Paper 35 2 a Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-06
Three distinct benefits of a meta-analysis are greater precision, an explicit synthesis of the effect, and assessment of variation across studies.
Combining compatible independent estimates can reduce the standard error, improve statistical power and provide more informative confidence intervals than individual small trials. A prespecified pooled estimate summarises the direction and magnitude of the evidence quantitatively, instead of informally counting statistically significant results. Finally, between-study heterogeneity and subgroup comparisons can reveal whether effects vary with populations or interventions, helping assess generalisability. These benefits require comparable estimands and an appraisal of study validity; pooling cannot repair systematic within-study bias.
Past exam of the mathematics course of the University of Cambridge 2015 iii Paper 35 1 f Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-06
Treat the extra measurements as auxiliary variables for multiple imputation. Include alcohol consumption and disease history as predictors in both the and conditional distributions, together with age, sex and the other incomplete response. If these auxiliary variables themselves have missing entries, give them appropriate models and update them within the same multiple imputation by chained equations sweeps. Preserve observed entries throughout.
Useful auxiliary measurements can improve predictions, precision and the plausibility of missing at random. Their association with the missing responses reduces uncertainty in the imputed values; association with nonresponse may explain some selection that otherwise depends on unobserved values. This can reduce selection bias under the enlarged missing at random model and reduce between-imputation variance. It does not guarantee elimination of missing not at random dependence. They need not be added to the final substantive logistic regression merely because they help imputation: the final analysis should still estimate its intended association.
Past exam of the mathematics course of the University of Cambridge 2015 iii Paper 35 1 e Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-06
Ordinary multiple imputation by chained equations relies on missing at random, conditional on the variables included in its models, together with adequate model specification and suitable conditional distributions. For Bayesian inference that ignores the response mechanism, the usual sufficient condition also includes distinct parameters for data and missingness models, with an appropriately separate prior.
The suspected dependence on withheld responses makes the usual missing-at-random assumption doubtful. An accurately fitted observed-data model cannot, on its own, establish what the nonresponders would have reported. Use substantive judgement and sensitivity analysis under plausible missing not at random departures, for example a pattern-mixture sensitivity analysis shifting the imputed condom log odds or partner-count distribution relative to the observed-data prediction. Report how the final association changes. Additional informative measurements may make missing at random more credible, but cannot verify it.
Past exam of the mathematics course of the University of Cambridge 2015 iii Paper 35 1 d Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-06
Multiple imputation by chained equations specifies one conditional distribution for each incomplete variable. In general, let be the incomplete variables, the fully observed predictors, and the parameters of a model . The notation means all variables except . The models should respect each variable's support and contain the terms needed by the planned analysis.
First choose suitable models and initialise only the missing entries with admissible provisional values. One sweep updates in turn. At update , fit its model to records whose is observed, using the latest filled-in predictors. DrawThe first draw represents parameter uncertainty through a Bayesian posterior; the second represents residual uncertainty through a posterior predictive distribution. Replace the missing entries with these draws, leaving every genuinely observed entry fixed. Repeat whole sweeps until the chain has settled, assessing traces, mixing and plausibility. Obtain completed datasets from independently initialised chains, or sufficiently separated draws after convergence. Both parameter and missing-value uncertainty must be propagated; repeated deterministic prediction is not multiple imputation.
Here use a logistic regression for conditional on , age and sex. For , use an appropriate discrete count model conditional on , age and sex, such as a suitably checked negative binomial regression, allowing enough flexibility for skewness and nonlinear effects. Include interactions or transformations needed by the analysis in the imputation models. If condom use is structurally undefined for a record, preserve that applicability rule rather than treating it as ordinary missing data.
Impute the eligible survey information before discarding records solely because the observed is absent. In each completed dataset select its own records and fit the requested logistic regression. This allows a record with missing to contribute to the target group in some imputations and not others. Models must respect any known eligibility restrictions; if eligibility was independently known, use that information.
For a scalar regression coefficient, let be its estimate and its estimated variance in completed dataset . Rubin's rules giveThe standard error is . Use the corresponding multiple-imputation confidence interval, rather than treating one completed dataset as fully observed. For vector coefficients replace the squared differences by outer products and by the covariance matrix. This combines within-imputation and between-imputation uncertainty.
Past exam of the mathematics course of the University of Cambridge 2015 iii Paper 35 1 c Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-14
A complete-case analysis changes the mix of people contributing to the logistic regression. Let mean that both required variables are observed, and write . Within , Bayes' theorem givesIf completeness depends differently on the two responses, and that selection also varies with partner count or the other predictors, the extra term changes the fitted regression coefficients. For example, people with high counts and poor condom use can be under-represented, weakening or otherwise distorting the apparent association. Dropping people with missing also excludes some whose membership of the target group is unknown.
The fitted conditional association among complete responders need not equal the target-population association. No direction of selection bias follows without specifying the response mechanism. Selection on predictors alone need not bias a correctly specified conditional logistic regression; it is the outcome-related selection described here that removes that reassurance.
Past exam of the mathematics course of the University of Cambridge 2015 iii Paper 35 1 b Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-06
Missing not at random is the plausible working classification. The suggested reluctance depends on the actual partner count and actual condom response, including the values that are withheld. Among people with the same observed age, sex and other recorded information, those with an unreported high count or an unreported negative response may still be less likely to answer.
Such dependence on unobserved values violates missing at random and therefore also missing completely at random. This is a substantive judgement rather than something that can be proved from the observed data alone. If all the dependence were explained by measured predictors, the mechanism could instead satisfy missing at random.
Past exam of the mathematics course of the University of Cambridge 2015 iii Paper 35 1 a Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-06
Write for the binary response, for the partner count, and for fully observed background variables. Let indicate which of are observed, with 1 meaning observed. For any realised pattern , partition the data into and .
Missing completely at random means that the missing-data mechanism does not depend on any of the measurements:Missing at random allows dependence on the data observed under the particular pattern, but no further dependence on its unobserved values:Thus a response probability depending on fully observed age or sex can satisfy missing at random. Dependence on an observed partner count can also be permissible for patterns in which that count is available. Missing not at random means that this equality fails: the probability of the pattern still depends on one of its missing measurements, after conditioning on the observed ones. The distinction concerns dependence on the unseen values, not whether missingness looks haphazard. These definitions can be applied within the target population ; unknown membership of that population must itself be handled when is missing.
Past exam of the mathematics course of the University of Cambridge 2015 iii Paper 34 2 b Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-06
Write and . Their common expected value is . Expanding about the retention gives the requested variance identityThe stop loss variance minimization principle follows from a pointwise comparison. For , the constraint impliesFor , the squared distance of from is zero, so the same squared-distance comparison is immediate. ThereforeSubtracting the same proves optimality of the retained stop loss payout:Since is bounded, its variance is finite; if , the inequality remains valid with infinite variance on the left. When it is finite, equality requires almost surely, because the pointwise squared-distance inequality is strict whenever the two payouts differ.
Past exam of the mathematics course of the University of Cambridge 2015 iii Paper 34 2 a Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-06
The expected value and variance under quota share reinsurance follow by scaling the exponential distribution:The retained stop loss moments for an exponential aggregate follow from the payout , its survival function equals for and zero for . The tail integral formula for moments gives, with and ,Consequently the retained moments areMatching the two expected values forces , which lies strictly between zero and one. The difference of the variances simplifies toIndeed has and for . Because , the difference is actually positive. At equal retained expected value, aggregate stop loss reinsurance reduces the variance more than quota share reinsurance.
Past exam of the mathematics course of the University of Cambridge 2015 iii Paper 34 1 c Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-06
Conditioning on the intensity in the Poisson mixture givesThus has the negative binomial distribution with two successes and success probability , counting failures; explicitly for . The probability generating function is finite for real .
The claim-size moment-generating function is . Substituting into the aggregate moment-generating function and using givesPut , the moment-generating function of an exponential distribution with rate . The identitythen yieldsThe gamma-mixed Poisson aggregate with exponential claims has three nonnegative mixture weights summing to one. By uniqueness of the moment-generating function near zero, the aggregate distribution isHere is the Dirac measure at zero. In particular , consistently with . The positive components have respective expected values and ; their mixture distribution accounts for the possibility of no aggregate payout.
Past exam of the mathematics course of the University of Cambridge 2015 iii Paper 34 1 b Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-06
To distinguish the random intensity from its possible values, write it as . Its law is a gamma distribution with shape and rate . HenceFor the Poisson mixture, conditional expectation and conditional variance both equal . The law of total expectation and the law of total variance yieldwhere . Applying the random sum of independent claims formulas with the exponential distribution of the claim sizes gives the portfolio B momentsAt the matched intensity , the expected value for portfolio A is also , whereas its variance is . Thus the expected totals agree, but mixing increases the variance:The extra term is precisely .
Past exam of the mathematics course of the University of Cambridge 2015 iii Paper 34 1 a Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-06
For the exponential distribution with expected value ,The Poisson distribution has both expected value and variance equal to . Substitution into the random sum of independent claims formulas gives the portfolio A moments
Past exam of the mathematics course of the University of Cambridge 2015 iii Paper 33 6 c Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-06
The three-component finite Gaussian mixture with a common variance has the largest displayed maximized log-likelihood, but it also has more fitted parameters. For components there are free weights, means and one common variance, making residual-distribution parameters. Applying the nominal Akaike information criterion and Bayesian information criterion to the three residual fits givesBoth criteria favour the two-component model. It improves the likelihood substantially over one normal component; the third component gains only in log-likelihood at a cost of two further parameters. The Akaike information criterion difference between two and three components is small, about , so that criterion alone gives only a slight preference; the Bayesian information criterion preference for two is stronger. Their nearly indistinguishable overlaid curves also support retaining the simpler two-component fit.
These calculations are model-selection aids, not an exact test. Ordinary chi-squared calibration of a likelihood-ratio test for the number of mixture components is invalid in general: under a smaller-component null, some weights lie on the boundary and extra-component parameters are unidentified. This is nonregular mixture model selection. A parametric bootstrap or predictive cross-validation is preferable for a formal comparison, and should account for the mean-adjustment stage. The table uses the provided residual likelihoods and their nominal parameter counts; first-stage regression uncertainty and possible local EM maxima remain qualifications. On the supplied evidence, select two components without claiming that two distinct biological groups have been established.
Pinned article: Introduction to the OurBigBook Project
Welcome to the OurBigBook Project! Our goal is to create the perfect publishing platform for STEM subjects, and get university-level students to write the best free STEM tutorials ever.
Everyone is welcome to create an account and play with the site: ourbigbook.com/go/register. We belive that students themselves can write amazing tutorials, but teachers are welcome too. You can write about anything you want, it doesn't have to be STEM or even educational. Silly test content is very welcome and you won't be penalized in any way. Just keep it legal!
Intro to OurBigBook
. Source. We have two killer features:
- topics: topics group articles by different users with the same title, e.g. here is the topic for the "Fundamental Theorem of Calculus" ourbigbook.com/go/topic/fundamental-theorem-of-calculusArticles of different users are sorted by upvote within each article page. This feature is a bit like:
- a Wikipedia where each user can have their own version of each article
- a Q&A website like Stack Overflow, where multiple people can give their views on a given topic, and the best ones are sorted by upvote. Except you don't need to wait for someone to ask first, and any topic goes, no matter how narrow or broad
This feature makes it possible for readers to find better explanations of any topic created by other writers. And it allows writers to create an explanation in a place that readers might actually find it.Figure 1. Screenshot of the "Derivative" topic page. View it live at: ourbigbook.com/go/topic/derivativeVideo 2. OurBigBook Web topics demo. Source. - local editing: you can store all your personal knowledge base content locally in a plaintext markup format that can be edited locally and published either:This way you can be sure that even if OurBigBook.com were to go down one day (which we have no plans to do as it is quite cheap to host!), your content will still be perfectly readable as a static site.
- to OurBigBook.com to get awesome multi-user features like topics and likes
- as HTML files to a static website, which you can host yourself for free on many external providers like GitHub Pages, and remain in full control
Figure 2. You can publish local OurBigBook lightweight markup files to either OurBigBook.com or as a static website.Figure 3. Visual Studio Code extension installation.Figure 5. . You can also edit articles on the Web editor without installing anything locally. Video 3. Edit locally and publish demo. Source. This shows editing OurBigBook Markup and publishing it using the Visual Studio Code extension. - Infinitely deep tables of contents:
All our software is open source and hosted at: github.com/ourbigbook/ourbigbook
Further documentation can be found at: docs.ourbigbook.com
Feel free to reach our to us for any help or suggestions: docs.ourbigbook.com/#contact





