Past exam of the mathematics course of the University of Cambridge 2009 iii Paper 102 4 b Solution Created 2026-10-03 Updated 2026-10-14
For a population-averaged rate trend, use the marginal incidence trend with clustered observations modelFit a generalized estimating equation with village as cluster, a log link and an appropriate working correlation; estimate uncertainty with a village-level sandwich covariance matrix. Then is the fitted annual marginal rate ratio, is the annual percentage rate change, and is the four-year endpoint ratio. Test using cluster-robust uncertainty, with a small-sample correction or village-resampling bootstrap given only 32 independent clusters. Also compare year as a factor with a linear trend, since a single slope can conceal nonlinear behaviour.
Report which population is averaged over. The directly pooled rate is exposure weighted; a mean of village rates gives each village equal weight. For standardized comparisons one can use the same village weights at every year, preventing changing population composition from masquerading as a rate trend.
A conditional random-slope coefficient cannot simply be substituted for the marginal slope: the marginal mean of a Poisson random-slope model contains time-dependent variance terms. A direction, magnitude and confidence interval for the trend across all villages require the missing full dataset. The increase in the two displayed villages does not determine the trend in the other thirty.
Past exam of the mathematics course of the University of Cambridge 2009 iii Paper 102 4 c Solution Created 2026-10-03 Updated 2026-10-14
Center time at 2008 by setting , and initially ignore the explanatory covariates. A Poisson generalized linear mixed model addressing both heterogeneity questions isHere describes between-village variation of log rates in 2008, while describes heterogeneity of annual log-rate changes. The latent 2008 rate has median , mean and coefficient of variation . A central 95% interval for latent village rates is ; the corresponding interval for village-specific annual rate ratios is . These describe heterogeneity, not confidence intervals for estimated fixed effects.
Fit an intercept-only random-effects model and then add a correlated random slope. Compare them with a parametric bootstrap of the likelihood improvement: the null slope variance is on the boundary, so an ordinary fixed-effect chi-squared reference is not automatically valid. Inspect uncertainty in both variance components, shrinkage of village-specific estimates, residual overdispersion and remaining serial correlation. A negative-binomial conditional model can distinguish additional within-village count variation from persistent village differences when the data support it.
By the marginal mean of a Poisson random-slope model, the marginal log rate is , so marginal curvature can arise even when each village has a straight conditional log trend. Numerical variance estimates and evidence of heterogeneous slopes cannot be obtained for 32 villages from two displayed trajectories.