Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2023/iii/paper-207/4/b/solution

A martingale residual is observed minus model-expected event count:
where is the fitted individual cumulative hazard. Under an adequate model it estimates the terminal value of a counting-process martingale.
Fit a model omitting the continuous explanatory variable , plot against , and add a flexible smooth curve. A curve fluctuating around zero without structure supports omission. A monotone or curved trend indicates that event incidence still depends on , suggesting inclusion of or a nonlinear transformation of it. The residuals are highly skewed, so the smoothed trend is more informative than an assumption of Gaussian scatter.

New to topics? Read the docs here!