The entry count counts jumps of a continuous-time Markov chain into state by time , excluding initial occupation. It is a counting process. For homogeneous transition intensities, its mean has derivative conditional on initial state , so its expected value is the sum of incoming rates times the expected occupation times of a continuous-time Markov chain. This density is an expected count rate, not necessarily a normalized probability density function.
Global balance for a continuous-time Markov chain Created 2026-10-06 Updated 2026-10-14
Global balance equates total stationary incoming and outgoing transition intensities at each state. Detailed balance for a continuous-time Markov chain is sufficient but stronger: it equates each pair separately.
Log-linear transition intensity model 2026-10-06
Past exam of the mathematics course of the University of Cambridge 2004 iii Paper 37 5 ii a Solution Created 2026-10-03 Updated 2026-10-14
The permitted transitions form the following diagram. Each arrow is labelled by its fitted transition intensity in units of inverse years; the absence of an arrow is a structural restriction, not an estimated small effect.
State 1 can move directly to 2, 3 or 5; state 2 can move to 4 or 5; state 3 can move to 4 or 5; and state 4 can move only to 5. There are no recovery transitions, and state 5 is an absorbing state. The rates of leaving the four living states are the sums of their outgoing arrows:The diagonal generator entries are their negatives, so every row of sums to zero. These diagonal entries are not arrows or negative event rates. For example the direct rate is per year, while death after reaching another state can occur at a much larger rate. The printed fit has no covariates on the intensities, so it estimates one pooled rate system and contains no treatment-effect comparison, despite the trial's treatment randomization. The reported describes the fitted likelihood level; by itself it is not a goodness-of-fit test without a reference or competing model.
Past exam of the mathematics course of the University of Cambridge 2004 iii Paper 37 5 ii c Solution Created 2026-10-03 Updated 2026-10-14
The transition matrix over five years is . Its first row conditions on starting in state 1. The displayed approximate probabilities mean that, five years later, about 65% remain disease-free, 6% have local recurrence only, 10% have distant metastasis only, 2% have both, and 16% have died. They are probabilities of the states occupied at five years; they are not the probabilities of the next jump destinations or annual transition intensities. In particular the positive probability of state 4 does not require a direct arrow: the paths and contribute to it. The probability of death includes deaths after any allowed sequence of intermediate states.
The printed row sums to rather than one because the entries are approximate; an exact stochastic transition row sums to one. Exponentiating the displayed three-decimal generator gives approximately , illustrating that the edited, low-precision table should not be treated as an exact matrix exponential of its separately rounded rates.
State 5 is an absorbing state, so once entered it can never be left. Its generator row is zero, and the last row of every positive-time transition matrix is thereforeThis explains all four leading zeroes in the printed last row.
Past exam of the mathematics course of the University of Cambridge 2004 iii Paper 37 5 i Solution Created 2026-10-03 Updated 2026-10-14
Use the time-homogeneous continuous-time multi-state model displayed in part ii. Write for the state at time , for its generator matrix, andFor , is the transition intensity, and . Condition on the observed initial state, and treat the clinic observation process and administrative end of follow-up as noninformative. A panel-observed interval contributes its transition probability, not the density of a jump at the examination date; the transitions inside that interval need not have been observed.
For the first patient, the two clinic intervals contribute . The subsequent death is observed at elapsed time after the last clinic state, so its contribution is the conditional death-time densityThe equality uses the permitted directions: starting from state 3, only living states 3 and 4 can be occupied before death. To obtain this density directly, survival in a living state until time , followed by death in , has probability ; add over the unobserved state . Hence the mixed panel and exact-death likelihood contribution isIt includes the possibility of an unrecorded transition between the last clinic visit and death. Keeping only would exclude that allowed history, while would be the probability of death by that time rather than the density of death at that time. With dates recorded in whole days, an exact interval-likelihood treatment integrates this density over the relevant day; the density formulation is its fine-time approximation.
For the second patient, the three successive intervals with state 1 at both ends, then the interval ending in state 2, and the last interval remaining in state 2 give the panel-observed multi-state likelihoodThere is no additional death contribution after the final administrative observation. Each likelihood contribution already accounts for being alive in the observed state at that visit. For independent patients their joint conditional likelihood contribution is .
For an explicit form, put . Irreversibility givesandThese formulas follow by integrating the density of the one possible intermediate jump time; at equal exit rates the limiting expression is . ThusUsing the displayed fitted rates as numerical values gives per year, per year and , providing a check of the probability-versus-density distinction.
Past exam of the mathematics course of the University of Cambridge 2009 iii Paper 38 5 iii Solution Created 2026-10-03 Updated 2026-10-14
For patient , let be the fatigue state at time years since study entry. Let the covariate vector be , representing the sex indicator, arthritis duration in years, HAQ disability score and haemoglobin measurement. Conditional on these covariates, the continuous-time multi-state model has the Markov property and generator matrixEach allowed transition intensity has its own log-linear transition intensity model, . The zero entries exclude direct instantaneous jumps between mild and severe states, and the diagonals enforce zero row sums.
To express the estimates correctly, the printed intensities are evaluated at the sample covariate means , not at . Order the allowed transitions as . Their estimates arewith rows indexed by that transition order and columns by inEquivalently, the uncentred intercept is . The means are not printed, so the displayed rates cannot be treated as numerical zero-covariate intercepts.
The assumptions are independent patients conditional on their covariates; correctly observed fatigue states; no unmodelled history dependence once current state and covariates are known; positive adjacent-state intensities with the specified exponential covariate dependence and no interaction terms; and a noninformative observation and censoring mechanism for the conditional state-process likelihood. With fixed covariates the rates are homogeneous in time and holding times are exponential. Covariates updated at visits are treated as piecewise constant between observations, so each such interval has a constant generator, a piecewise-constant covariate approximation. In particular this is an approximation if a quantity such as duration changes continuously between visits.
For observations , conditioning on the initial observed state, the panel-observed multi-state likelihood is a product over patients and intervals ofwhere is the covariate value held over that interval. Multiple unobserved jumps within an interval are integrated out by this transition matrix. For example, a mild state followed by a severe state can have positive likelihood despite , because an unobserved moderate state can intervene. The panel observations within a patient are not independent; it is the Markov property that justifies multiplying conditional transition probabilities. The piecewise-constant handling of changing covariates is specified in the msm model documentation.
Past exam of the mathematics course of the University of Cambridge 2009 iii Paper 38 5 i Solution Created 2026-10-03 Updated 2026-10-14
The fitted continuous-time multi-state model allows only adjacent fatigue-state jumps. Its four transition intensities, in reciprocal years, are shown here:
Estimated fatigue transition intensities: mild to moderate 0.173, moderate to mild 0.4684, moderate to severe 0.3835, and severe to moderate 0.3655 per year
. Details. In state , the total exit intensity is . By the holding time law for a continuous-time Markov chain, the time until the next jump has an exponential distribution with this rate. ThereforeThe printed interval for gives the interval for . Taking reciprocals reverses the endpoints, so the transformed confidence interval for the mean holding time isFor the next jump's destination, competing outgoing intensities giveIndeed the density of a first jump to at time is ; integrating gives the ratio above. This is a conditional next-jump probability, not a transition probability of being mild at a fixed later visit.
Past exam of the mathematics course of the University of Cambridge 2009 iii Paper 38 5 iv Solution Created 2026-10-03 Updated 2026-10-14
For the mild-to-moderate transition intensity, an increment in a single covariate, with the others held fixed, gives the multiplicative ratio . Of the four printed effects on this transition, sex and HAQ have confidence intervals excluding zero on the log-intensity scale.
With male coded and female coded , the estimated hazard ratio for males relative to females isThus, conditional on currently being mildly fatigued and on the other covariates, males have an estimated mild-to-moderate transition intensity about lower than females. The conclusion concerns this particular instantaneous transition, rather than a general reduction in fatigue probability.
For a one-point increase in HAQ, indicating greater physical disability, the estimated intensity multiplier isGreater disability is therefore associated with a substantially faster mild-to-moderate transition, after adjustment for sex, arthritis duration and haemoglobin. Both conclusions use the specified log-linear transition intensity model and the nominal individual intervals. Arthritis duration and haemoglobin have intervals including zero for this transition, so their effects here are not statistically significant at ; this says neither that their effects are zero nor that they are insignificant for all other transitions.
Past exam of the mathematics course of the University of Cambridge 2012 iii Paper 37 5 c ii Solution Created 2026-10-03 Updated 2026-10-14
Use the three-state competing risks model shown below. State 0 is alive after surgery, state 1 is dead from lung cancer, and state 2 is dead from other causes. Both death states are absorbing. Study censoring is an observation mechanism, not a biological transition to a fourth state.
For treatment (radiotherapy) or (chemotherapy), define the transition intensityThe fitted Cox proportional-hazards models areHere and represent the estimated baseline cause-specific hazards for radiotherapy. More formally, the baseline estimates can be expressed as cumulative hazard measures with increments , rather than ordinary smooth functions. All outgoing intensities from states 1 and 2 vanish, and . The treatment hazard ratios are 3.7111 and 1.8045 respectively. This model describes the two observed causes of death, not identifiable latent failure times after death has already occurred.
Past exam of the mathematics course of the University of Cambridge 2013 iii Paper 30 6 a Solution Created 2026-10-03 Updated 2026-10-07
Let be the transition intensity from state to , and let be the transition intensity matrix, with . For a continuous-time multi-state model with the time-homogeneous Markov property, the transition probability matrix is , with entry . Condition on each recorded initial state. Panel visits contribute transition probabilities; an exact entry into the absorbing death state contributes a statistical probability densityThis mixed panel and exact-death likelihood sums over the living state just before death. It accounts for survival until the event; replacing its final factor by would count deaths throughout the interval.
Using the actual visit times recovered from the PDF, the three individual likelihood contributions areHere means with , not a transition probability. Subjects 8 and 9 supply no event-density factor after their last panel observation. Assume independent subjects and noninformative examination and censoring times; conditional on their observation schedule, its distribution supplies no additional statistical parameter-dependent factor. The patients' covariates can be incorporated by using their own in these same expressions.
For the progressive structure used in the subsequent output, put , , and . The progressive illness-death model permits no recovery, soWhen , the continuous limit is . Thus the likelihood contributions simplify toIntermediate unobserved disease transitions remain integrated into each panel transition probability.
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 30 6 b ii Solution Created 2026-10-03 Updated 2026-10-07
Let contain sex, the education indicator, and age at diagnosis. Write for the sample means. The output's baseline transition intensities are evaluated at those means, so use the centred log-linear transition intensity modelThe full transition intensity matrix isThe fitted centred baselines are , and fitted slope vectors in sex–education–age order areThe two sex coefficients displayed as zero are fixed by the specified constraints; they are not estimated to be exactly zero. There are three free baseline transition intensities and seven free covariate slopes. The sample means are not printed, so uncentred intercepts at cannot be recovered numerically from this output.
Conditional on fixed covariates, subjects follow independent, correctly classified continuous-time multi-state models obeying the time-homogeneous Markov property, with . The progression is irreversible and death absorbing, with constant transition intensities during follow-up for each subject. In particular, the model uses fixed age at diagnosis rather than attained age. It assumes noninformative observation and censoring, and treats death times as exact through the mixed panel and exact-death likelihood. The Markov property rules out an additional effect of elapsed time in the current state after conditioning on it and the recorded predictors.
Past exam of the mathematics course of the University of Cambridge 2013 iii Paper 30 6 b i Solution Created 2026-10-03 Updated 2026-10-14
The fitted progressive illness-death model has three allowed arrows: with estimated transition intensity , with , and with , all in years. State 3 is an absorbing state, and state 2 has no return arrow.
Progressive three-state model with estimated annual transition intensities
. Details. Once in state 2, the holding time has an exponential distribution with rate , so the mean holding time from a transition intensity matrix isApply a confidence interval for an inverse rate to the printed rate interval : since inversion reverses order, the approximate 95% interval for the mean isThe time-homogeneous Markov property makes the future depend only on the current state; the exponential distribution also has the memoryless property. For a person currently in state 2,Equivalently, . Thus the fitted two-year death probability is approximately 11.6%.
Past exam of the mathematics course of the University of Cambridge 2014 iii Paper 32 2 a Solution Created 2026-10-03 Updated 2026-10-14
There are three free transition intensities: progression, death from the initial state, and death from the advanced state. In the three-state illness-death model, state 3 is an absorbing state, and there is no recovery transition.
Writing , and , with all three nonnegative, the transition intensity matrix isEach diagonal entry is minus the sum of the row's outgoing transition intensities, rather than an additional unknown parameter. A continuous-time multi-state model with these rates describes the severity labels in the observations; an explicit cured state would require a richer state space.
Past exam of the mathematics course of the University of Cambridge 2014 iii Paper 32 2 b Solution Created 2026-10-03 Updated 2026-10-06
In a time-homogeneous continuous-time Markov chain, a state's holding time is exponential with rate equal to its total outgoing transition intensity. Converting the specified times to months givesThe exit-type probability follows by dividing its transition intensity by the total exit rate. ThereforeThese are starting values for numerical estimation, rather than further observations or constraints on the final fitted rates.




