Past exam of the mathematics course of the University of Cambridge 2013 iii Paper 30 5 b iv Solution Created 2026-10-03 Updated 2026-10-07
The preferred cumulative-response logistic model estimatesIts logit link describes conditional smoking-free probability given baseline predictors and prior successful weeks. Holding the other predictors fixed, males have times the female success odds; the reported p-value is , and the approximate 95% odds ratio confidence interval is . Age has estimated odds ratio per additional year, with p-value , giving little evidence for an age association in this fit.
The combined treatment has conditional success odds ratio versus the reference treatment, with approximate 95% confidence interval and p-value . The fitted conditional odds are about 39% higher for the combined treatment. The trial randomization supports treatment comparisons, but conditioning on accumulated post-treatment outcomes means this coefficient is not directly the marginal total treatment effect.
Each previous successful week multiplies current success odds by , with approximate 95% confidence interval and very small p-value . This is strong fitted persistence. It can reflect true state dependence, unobserved heterogeneity, or an omitted calendar-time trend; this fit alone cannot distinguish them. The baseline intercept implies success probability for a reference-treatment female aged zero with no previous success. That age is outside the study's useful interpretation range, so the intercept chiefly anchors the regression. The Bernoulli distribution dispersion parameter is fixed at one, and the residual binomial deviance is 1122 on 995 statistical degrees of freedom. With individual binary outcomes, comparing that binomial deviance mechanically to a chi-squared distribution is not a reliable general goodness-of-fit test.
Past exam of the mathematics course of the University of Cambridge 2013 iii Paper 30 6 b iii Solution Created 2026-10-03 Updated 2026-10-07
Under , the seven free covariate coefficients all equal zero. The likelihood-ratio test statistic isThe larger fit has ten free statistical parameters, compared with three in the constant-rate fit, so the reference chi-squared distribution has seven statistical degrees of freedom. Its 95th percentile is . Therefore reject at 5%; the p-value is approximately , and the covariate model is preferred. The two constrained sex coefficients add no free statistical parameters.
For the dementia-to-death arrow, the hazard ratio for higher versus lower education is , with approximate 95% confidence interval . Thus higher education is associated with a roughly 77.5% lower fitted death transition intensity, conditional on diagnosis age; the interval excludes one. This is an observational association and is not a direct multiplicative statement about death probability.
Each additional year of age at diagnosis multiplies the dementia-to-death transition intensity by , with confidence interval . The estimate suggests an increase, but the interval includes one, so this individual age coefficient is not significant at 5%. Sex has hazard ratio one for this transition by the model's imposed constraint. The output supplies no estimated sex effect or test of that constraint for this arrow. The nonzero sex coefficient for must not be mistaken for a sex effect on .
Past exam of the mathematics course of the University of Cambridge 2013 iii Paper 32 1 a Solution Created 2026-10-03 Updated 2026-10-07
For independent binomial distributions in the two trial arms, the estimate of the log risk ratio isThe delta method gives ; replacing by the sample proportion gives , where is the event count. Adding the independent arm contributions therefore givesThe standard error is . Using the stipulated normal quantile two, the approximate confidence interval isThe point estimate of the risk ratio is , corresponding to approximately 79% lower mortality risk in the transfusion arm. Exponentiating the endpoints gives an approximate 95% confidence interval for the risk ratio of . It includes one, so the trial is compatible with no difference as well as substantial benefit or some harm. The point estimate favours transfusion, but the data are too imprecise to establish a difference at the 5% level. These are large-sample approximations, especially rough with only one event in an arm. A frequentist confidence interval describes repeated-sampling coverage, not a 95% posterior probability for this fixed parameter.
Past exam of the mathematics course of the University of Cambridge 2013 iii Paper 32 1 d Solution Created 2026-10-03 Updated 2026-10-14
A funnel plot places each estimated log risk ratio horizontally and its standard error vertically, with the most precise studies at the top. Under a common-effect model without selective availability, less precise estimates should spread approximately symmetrically around the underlying effect. The plotted dashed limits are the pooled estimate plus or minus twice the standard error; they illustrate the expected sampling spread, not a test of publication bias by themselves.
Funnel plot of the ten transfusion trial estimates, with inverse-variance pooled effect and approximate sampling limits
. Details. The least precise estimates are mostly far to the left, whereas the most precise estimates are close to zero. The reported regression slope means that increasing the standard error by one unit is associated with a decrease of about in the estimated log risk ratio. Its 95% confidence interval excludes zero, and gives evidence against a zero slope under that regression model. This is evidence of a small-study effect: less precise trials report stronger apparent benefit.
There is evidence consistent with publication bias, but asymmetry does not identify its cause. Selective availability of favourable small studies is a plausible explanation. Genuine differences in patient populations, trial quality, interventions or effect modification could also generate the pattern, and there are only ten trials. The given outcome-on-error regression should be interpreted as specified; it is not automatically the original standardized-effect-on-precision form of an Egger test. The plot and slope justify investigating missing studies and sensitivity to selection, rather than concluding that publication bias has been proved.
Past exam of the mathematics course of the University of Cambridge 2013 iii Paper 35 4 d Solution Created 2026-10-03 Updated 2026-10-07
Report the six treatment-combination means and their uncertainty, together with useful marginal treatment contrasts, standard errors and confidence intervals. Means are needed to interpret direction and practical importance, while the fitted interaction term determines whether one factor's effects should be reported separately at levels of the other. For the pairwise marginal comparisons in part (c), ordinary model-based 95% Student t confidence intervals use times the corresponding standard error; a simultaneous set of comparisons needs an appropriate adjustment.
Also describe orchard selection, actual randomization, treatment delivery, numbers of trees observed, missing data and response units. Check orchard-level residuals for unequal variance, outliers or systematic patterns using a residual-versus-fitted plot and an appropriate distributional diagnostic. Explain that twelve orchards provide independent treatment replication; 360 tree measurements provide subsampling precision. No numerical treatment means or numerical confidence intervals can be recovered from the supplied sums of squares in ANOVA alone.
Past exam of the mathematics course of the University of Cambridge 2014 iii Paper 32 2 d Solution Created 2026-10-03 Updated 2026-10-06
The mean holding time from a transition intensity matrix is . Apply this to the fitted exit rates and use monotonic inversion for each confidence interval:Thus the expected state durations are 86.96 months and 31.45 months, respectively. A confidence interval for a reciprocal rate reverses the endpoint order; the negative diagonal rates must first be converted to positive exit rates.
For the expected absorption time in an illness-death model, the time spent initially in the mild state is followed by an additional severe-state duration only if progression occurs before death. That probability is . ThereforeThis is an unconditional mean including both possible paths to death, not a mean conditional on progression.
Past exam of the mathematics course of the University of Cambridge 2015 iii Paper 33 2 Solution Created 2026-10-03 Updated 2026-10-06
Let be recall for age level , processing level , and replicate . Write for Younger and for Older. With Older and A as the reference levels in a regression factor, the additive two-factor normal linear model under treatment coding iswhere the errors are independent , with common positive variance. The design matrix is fixed; subjects supply independent observations; the specified conditional mean is correct; and the absence of an interaction term means the age difference is constant across processing levels. These are model assumptions, not consequences of random assignment. The treatment allocation supports independence between processing assignment and background characteristics, but age itself was not randomized.
An older subject in A has and , so the estimated mean is words. Its standard error is the intercept's . There are residual degrees of freedom, giving the 95% confidence interval for this mean:This is a mean-response confidence interval, not a prediction interval for a new individual's recall; the latter also includes the new observation's error variance.
The second two-factor normal linear model adds age-by-processing interaction terms:Its ten free mean parameters are equivalent to one mean for each of the ten cells. To compare the fits, the null hypothesis is . The full residual sum of squares is on degrees of freedom. Adding interaction reduces the additive model's residual sum of squares by , so the reduced value is . The nested-model F-test statistic isIts p-value is . Reject additivity and retain the interaction model. The significant interaction means that a single age effect averaged over all processing methods does not adequately summarize the data.
The regression intercept is the older-A mean. The age coefficient is the younger-minus-older contrast specifically in A. The processing coefficients compare B, C, D and E with A specifically among older subjects. The interaction coefficients are differences between the age contrast in each of those methods and its value in A. Adding the relevant coefficients givesThus A, C and especially D favour younger subjects in their estimated means, whereas B and E have little estimated age difference. In the younger group, D has the largest estimated recall, followed by C and A; B and E are much lower. Among older subjects C is largest, D and A are intermediate, and B and E are lowest. Comparing these orders is a description of estimates, not a claim that every pairwise difference is significant.
Each coefficient's printed standard error estimates its uncertainty; its statistic divides the estimate by that error, and its two-sided p-value uses under the relevant zero-contrast null hypothesis. For example, the older B-versus-A and E-versus-A contrasts have and . The C-versus-A and D-versus-A older contrasts have and . The B interaction has , while the D interaction is borderline at and the other two individual interaction tests are not significant at . These individual tests do not override the joint interaction F-test, and multiple comparisons require care. A simple younger-versus-older contrast outside A combines coefficients and must use their estimated covariance, rather than adding their marginal errors.
The residual standard error estimates . The coefficient of determination is the fraction of centered sample recall variation explained by the ten-cell model. The overall with null law tests all nine non-intercept coefficients jointly against zero, giving extremely strong evidence that the cell means are not all equal. The sequential analysis of variance separates age, process, and their interaction; the balanced design makes the main-effect sums orthogonal, whereas the coefficient table uses the specified reference-level contrasts.
To assess pooling into three processing types, retain age-by-type interaction because the previous test rejects additivity. The reduced model has six cell means. Its null hypothesis says A and C have equal means within each age, and B and E have equal means within each age: four restrictions. Compare it with the ten-cell model usingIn fact the supplied fitted cell means and equal cell sizes determine the increase without raw observations. Pooling two ten-person cells with means adds to the residual sum of squares. Here the four differences are , soTherefore and . At , the data do not reject the three-type reduction, though the result is borderline and is not proof that the pooled means are identical. This factor-level pooling test keeps the previously supported interaction structure; reducing the categories and removing all interaction simultaneously would test a different set of restrictions.
Past exam of the mathematics course of the University of Cambridge 2015 iii Paper 33 5 b ii Solution Created 2026-10-03 Updated 2026-10-06
Let be age in years, the male indicator and the indicator for the Messiah group. The fitted Cox proportional-hazards model iswith an unspecified common baseline hazard. Its coefficients were estimated by Cox partial likelihood, using the Breslow approximation for tied event times. There are participants, recorded completions and four censored observations.
A higher hazard function means a greater instantaneous chance of completion among those not yet completing, so it describes faster completion rather than greater mortality. Holding gender and group fixed, an extra year of age multiplies the completion hazard by , about a increase. The 95% confidence interval is and the Wald test has , so there is little evidence of an age association.
Holding age and group fixed, male participants have a hazard ratio relative to female participants, about a lower completion hazard. Its 95% confidence interval is and . Under the fitted model this corresponds to slower completion for males. It is not a ratio of mean or median completion times.
Holding age and gender fixed, participants assigned to Messiah have a hazard ratio relative to The Kingdom, with 95% confidence interval and . This is strong evidence of a group difference, with faster completion in the Messiah group under the fitted model. Random assignment supports interpreting a group contrast as an effect of the assigned condition, subject to the assumptions about follow-up and censoring; age and gender contrasts remain observational associations.
Each printed statistic is the coefficient divided by its standard error, using an asymptotic standard normal sampling distribution under a zero-coefficient null hypothesis. The hazard ratio is , and its confidence limits exponentiate the coefficient limits. Proportional hazards assumes these covariate-specific hazard multipliers stay constant over follow-up, together with the specified linear age effect and independent censoring conditional on covariates.
Past exam of the mathematics course of the University of Cambridge 2015 iii Paper 35 2 a Solution 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 2 b Solution 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 f Solution 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 37 3 b Solution Created 2026-10-03 Updated 2026-10-06
Use the sample autocorrelation function and sample partial autocorrelation function to look for approximate cutoffs. For a minimal causal autoregressive model of order , the partial autocorrelation function is zero beyond , while the autocorrelation function usually tails off, possibly with damped oscillation. For an invertible moving-average model of order , the autocorrelation function is zero beyond , while the partial autocorrelation function tails off. In a mixed autoregressive moving-average model, both generally tail off.
Thus the last visibly nonzero partial correlation suggests an autoregressive order, and the last visibly nonzero autocorrelation suggests a moving-average order. Finite samples do not produce exact zeros. Approximate white-noise reference bands can help flag clearly nonzero lags, but they are not universal confidence intervals for arbitrary correlated processes. Fit a few suggested orders and check residual autocorrelation, rather than treating these plots as a proof of the model order. This is order identification by autocorrelation cutoffs.
Past exam of the mathematics course of the University of Cambridge 2016 ib Paper 3 20H b Solution Created 2026-09-24 Updated 2026-10-06
For fixed , the central limit theorem givesThe weak law of large numbers gives , so Slutsky theorem permits replacing in the standard error by . With , an approximate 95% confidence interval isThe lower endpoint may be truncated at zero because the parameter is nonnegative. This is a large-sample normal approximation for fixed positive ; an all-zero or very sparse sample does not justify the plug-in normal approximation. At the degenerate parameter value zero, every observation is zero almost surely.
