Past exam of the mathematics course of the University of Cambridge 2013 iii Paper 30 4 c Solution Created 2026-10-03 Updated 2026-10-07
Allow each subject to have a separate baseline and slope through a correlated random-intercept and random-slope model:The subject random effects are independent of all measurement errors, and subjects are independent. The within-person covariance between times is , with an additional when the same reading is used twice.
Prefer the model with a random slope. The maximum likelihood estimation refits improve twice the log-likelihood by while adding two covariance statistical parameters. Both the Akaike information criterion ( to ) and Bayesian information criterion ( to ) strongly favour it. The printed nominal likelihood-ratio test is overwhelming. The usual reference chi-squared distribution with two statistical degrees of freedom is not an exact regular calibration, since zero slope variance is a boundary and the intercept–slope correlation is then unidentified; a design-specific parametric bootstrap could calibrate it. This qualification does not undermine the substantial descriptive improvement shown by both information criteria.
The preferred fit estimates population mean baseline strength kg and weekly gain kg/week. The between-person baseline standard deviation is kg, and the between-person slope standard deviation is kg/week. Their estimated correlation is weakly positive, giving random-effect covariance about kg/week; its uncertainty is not supplied. The measurement-error standard deviation is kg. The printed instead describes the correlation between the estimated fixed effects, not between the subject random effects. These statistical parameter estimates come from restricted maximum likelihood; the model comparison uses the separate maximum likelihood estimation fits.
The population mean fitted trajectory is kg. HenceUsing the reported slope standard error, an approximate 95% confidence interval for the population mean gain is kg; a Student t confidence interval with 499 statistical degrees of freedom is almost identical.
Successful individuals can improve far more than the average. Their latent ten-week gains have fitted normal distributionA clear estimate for an upper-performing group uses a between-person slope quantile: the 95th percentile is kg, and the 97.5th percentile is about kg. The upper 5% of fitted underlying gains begin around 73 kg. These are person-to-person performance quantiles, not confidence intervals for the population mean. Identifying the best observed trainee would require that person's data or fitted subject random effects; the aggregate output cannot identify a literal maximum. If performance means the observed difference of endpoint readings, add the measurement-error variance to the latent gain variance.
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 2019 ib Paper 3 20H c ii Solution Created 2026-09-24 Updated 2026-09-29
Let denote the -quantile of Student's t-distribution. Part (b) gives the Student t confidence interval
Prediction interval for a ratio of log-normal responses Created 2026-09-29 Updated 2026-10-03
Suppose independent future log responses satisfy , where the errors have variance . Conditional on a fitted normal linear model, the predicted log ratio has estimated mean and estimated varianceA Student t interval on this logarithmic scale can be exponentiated to obtain a prediction interval for the positive ratio.