Past exam of the mathematics course of the University of Cambridge 2002 iii Paper 36 3 i Solution Created 2026-10-03 Updated 2026-10-14
Use for the expected accident count, not for the accident rate. With a design row consisting of an intercept, seven non-reference site indicators and the after-treatment indicator,Here is a known generalized linear model offset, with coefficient fixed at one. Differentiating the Poisson regression log-likelihood gives the score function equationsThese nine equations estimate the intercept, seven site contrasts and one treatment contrast, with the stated reference-level constraints.
The Fisher information is , where . A Fisher scoring update adds to the current coefficient vector. In iteratively reweighted least squares, the working response is ; regress on the design with weights . Thus the reported four iterations solve the likelihood equations while accounting for unequal exposure periods.
The common adjusted rate ratio is obtained by exponentiating the after coefficient:This estimates a lower accident rate after the intervention, conditional on the additive site model. The standard error gives normal Wald statistic , two-sided , and an approximate confidence interval for the rate ratioThe label t value is again a normal-reference Wald ratio under fixed Poisson dispersion, rather than an exact Student statistic.
The intercept gives the before rate at reference site one: accidents per year. The seven site coefficients are log baseline-rate ratios relative to that site. In site order two through eight, their exponentials are about . The third site has the largest estimated rate and a nominal Wald ratio about against the reference. These are adjusted baseline comparisons, not differences in absolute accident counts. The overall unadjusted before/after rate ratio is , and it differs from because site risks and their relative exposure weights differ.
An independent way to solve the fit is the profile likelihood for a common Poisson rate ratio with unequal exposures. Put and . For fixed , the site score gives . The remaining equation isIts positive root reproduces the reported treatment estimate. Comparing the same site model with to the fitted model gives a deviance improvement about on one degree of freedom, with nominal likelihood-ratio .
There are count observations and fitted mean parameters, leaving residual degrees of freedom. The null deviance on degrees of freedom is for the intercept-only rate model, still including the exposure offset. The residual Poisson deviance is on degrees of freedom. A chi-squared comparison gives approximately , suggesting potential lack of fit of a single common treatment ratio; the extreme deviance residuals near and also deserve inspection. Several after-cell expected counts are below one or near two, so this absolute-fit calibration is only approximate. Site-specific treatment effects, overdispersion or temporal dependence are possible explanations to investigate, with a parametric bootstrap available to calibrate the sparse-count fit statistic. A before/after association alone does not isolate a causal effect from secular changes or regression to the mean at selected sites.
Past exam of the mathematics course of the University of Cambridge 2005 iii Paper 44 5 c Solution Created 2026-10-03 Updated 2026-10-14
Use the original PDF's value ; the TeX aid misreads its last digit. In the fitted conditional mixture, means that about 57.5% are assigned to the structural-zero, or modelled cured, component. Its asymptotic 95% confidence interval of shows substantial uncertainty about that fraction. An observed post-treatment zero alone is not proof of cure, since the non-cured Poisson distribution can also produce zero.
The parameter is a conditional allocation probability, not the ratio of post-treatment to pre-treatment means. That ratio among non-cured patients is . HenceThe map is strictly increasing, so transform the endpoints of the supplied 95% confidence interval:No change in the non-cured mean is , equivalently , which lies in this interval. Thus the point estimate suggests a reduction, but this interval does not firmly establish one among the non-cured patients at the corresponding two-sided 5% level. It is not correct to describe itself as a 61.4% reduction in their mean count.
Under a full pre-conditioning mixture with cure independent of the baseline rate, the population mean ratio would be , whose plug-in value is about . This combines disappearance of counts in one component with a change of rate in the other; it is distinct from the conditional estimate's direct interpretation. The two marginal confidence intervals cannot simply be multiplied to obtain a calibrated joint 95% interval for this derived quantity.
Only 12 patients were observed, so the asymptotic intervals, particularly for a mixture parameter near a boundary, should be interpreted cautiously. The data describe one-minute counts and do not establish permanent cure. Nor does an uncontrolled before-and-after comparison alone prove a causal effect of the drug: natural count variability, secular changes and regression to the mean remain possible. The structural-zero interpretation and the reduction among non-cured patients are conclusions within the specified statistical model.
Past exam of the mathematics course of the University of Cambridge 2010 iii Paper 37 4 d Solution Created 2026-10-03 Updated 2026-10-14
After adjusting for location, adding the period effect reduces deviance by on one degree of freedom, giving the supplied likelihood-ratio test . The adjusted incidence rate ratio isUnder this Poisson exposure model, the accident rate after installation is estimated to be about lower, with a statistically significant reduction. The remaining lack of fit merits residual checks and possibly a Quasi-Poisson model or a model allowing location-specific changes. This before-and-after observational study establishes an association under the fitted model; changes in traffic volume, broader trends, or regression to the mean at sites chosen for high prior counts could also contribute, so the estimated reduction is not by itself a causal treatment effect.