Tutorials › Joint Modeling of Longitudinal and Time-to-Event Data › Adding Survival to the Multimarker Likelihood

Multiple Longitudinal Markers · Tutorial 372 of 697

Adding Survival to the Multimarker Likelihood

You will derive the integrated subject-level likelihood and distinguish conditions that allow the censoring contribution to be factored out from those that require modeling it with the latent effects.

Advanced 12 min read

What You'll Learn

  • Write the event-time contribution for observed events and right-censored observations.
  • Combine the multivariate marker density, event contribution, censoring contribution, and random-effects distribution.
  • Derive when an independent censoring contribution factors out of the latent-effects integral.
  • Explain why conditional independence of event and censoring times given latent effects does not alone justify omitting censoring.
  • Calculate and interpret subject-level likelihood contributions in concrete examples.
  • Identify assumptions and diagnostics relevant to a multimarker joint likelihood.

Why Add Survival to the Marker Likelihood?

A subject in a multimarker study contributes more than a set of repeated measurements. The subject may also experience an event during follow-up, or may leave follow-up without an observed event. A joint likelihood must account for both the marker records and what is known about the event time. The distinction matters: an observed event contributes an event-time density, whereas a right-censored record contributes an event-time survival probability.

The multivariate longitudinal likelihood describes the marker observations conditional on the subject’s latent random effects. To add survival, we multiply that marker density by the appropriate event-observation contribution, and then integrate over the latent effects. If censoring depends on those latent effects, its contribution belongs inside that same integral. It cannot generally be discarded just because event and censoring times are conditionally independent given the latent effects.

Definition: For subject \(i\), let \(Y_i\) denote the stacked vector of observed measurements across markers and visits, and let \(b_i\) denote the latent random-effects vector. Let \(T_i\) be the event time and \(C_i\) the censoring time. The observed time is \(U_i=\min(T_i,C_i)\), and \(\delta_i=I(T_i\le C_i)\), so \(\delta_i=1\) indicates an observed event and \(\delta_i=0\) indicates right censoring.

Conditional Marker, Event, and Censoring Models

Condition throughout on observed covariates \(X_i\). A standard multivariate linear mixed model specifies a multivariate normal marker density conditional on \(b_i\), for example \(Y_i\mid b_i,X_i\sim N\{\mu_i(b_i),\Sigma_i\}\). Here \(\mu_i(b_i)\) is the stacked conditional mean and \(\Sigma_i\) is the covariance matrix for the observed marker vector. It may include covariance across markers within a visit and across observations, as specified by the marker model. The distribution of the random effects is denoted \(f_b(b_i\mid X_i)\); a common specification is \(b_i\sim N(0,D)\).

Write the conditional event hazard as \(\lambda_{T,i}(t\mid b_i,X_i)\). Its corresponding conditional survival function and density are

$$ S_{T,i}(u\mid b_i,X_i) =\exp\left\{-\int_0^u \lambda_{T,i}(s\mid b_i,X_i)\,ds\right\}, \qquad f_{T,i}(u\mid b_i,X_i) =\lambda_{T,i}(u\mid b_i,X_i)S_{T,i}(u\mid b_i,X_i). $$

The event-time contribution for the observed pair \((U_i,\delta_i)\) is therefore

$$ L_{T,i}(b_i) = \left\{f_{T,i}(U_i\mid b_i,X_i)\right\}^{\delta_i} \left\{S_{T,i}(U_i\mid b_i,X_i)\right\}^{1-\delta_i}. $$

If \(\delta_i=1\), this is the event density at \(U_i\). If \(\delta_i=0\), it is the probability that the event time exceeds the censoring time \(U_i\). A censored observation does not say that the event occurred at \(U_i\).

For an explicit censoring model, let \(f_{C,i}\) and \(S_{C,i}\) be the conditional censoring-time density and survival function. If \(T_i\) and \(C_i\) are conditionally independent given \(b_i,X_i\), the censoring contribution is

$$ L_{C,i}(b_i) = \left\{S_{C,i}(U_i\mid b_i,X_i)\right\}^{\delta_i} \left\{f_{C,i}(U_i\mid b_i,X_i)\right\}^{1-\delta_i}. $$

This reverses the density/survival pattern in \(L_{T,i}\): an observed event tells us that censoring lasted at least until \(U_i\), whereas a censored record tells us that censoring occurred at \(U_i\). These expressions assume continuous event and censoring times; ties require a convention or a model that allows them.

Deriving the Subject-Level Joint Likelihood

Suppose that, conditional on \(b_i,X_i\), the marker data are independent of the event and censoring times, and that \(T_i\) and \(C_i\) are conditionally independent of each other. The conditional density contribution for all the observed data on subject \(i\) is then the product of the three components. Because \(b_i\) is not observed, integrate that product over its distribution:

$$ L_i = \int f_Y(Y_i\mid b_i,X_i)\, L_{T,i}(b_i)\, L_{C,i}(b_i)\, f_b(b_i\mid X_i)\,db_i. $$

This is the subject-level observed-data likelihood contribution. The sample likelihood is \(\prod_i L_i\), assuming subjects are independent conditional on the model parameters and covariates. The integral is essential: it averages the conditional likelihood over the random-effects distribution rather than treating a subject’s latent effects as known.

The factorization follows directly from the conditional density. For example, if \(\delta_i=1\), the observed time information is \(T_i=U_i\) and \(C_i\ge U_i\). Under conditional independence, its density contribution is \(f_{T,i}(U_i\mid b_i,X_i)S_{C,i}(U_i\mid b_i,X_i)\). If \(\delta_i=0\), it is \(T_i>U_i\) and \(C_i=U_i\), giving \(S_{T,i}(U_i\mid b_i,X_i)f_{C,i}(U_i\mid b_i,X_i)\). Multiplying by the conditional marker density and the random-effects density, then integrating, gives the displayed likelihood.

A censoring contribution may be factored out only under a suitable ignorability condition. For instance, suppose \(C_i\) is independent of \((T_i,b_i,Y_i)\) conditional on \(X_i\), and the censoring parameters are distinct from the event and marker parameters. Then \(L_{C,i}\) is a function of observed data and censoring parameters, not \(b_i\), and

$$ L_i = L_{C,i}(U_i,\delta_i\mid X_i) \int f_Y(Y_i\mid b_i,X_i)L_{T,i}(b_i)f_b(b_i\mid X_i)\,db_i. $$

For inference on the event and marker parameters, the factored censoring term can then be omitted from the likelihood if the censoring parameters are nuisance parameters. Fixed administrative follow-up may likewise be conditioned on as part of the study design. By contrast, conditional independence of \(T_i\) and \(C_i\) given \(b_i,X_i\) is not enough: if censoring depends on \(b_i\), the observed censoring record can change the latent-effects weighting inside the integral.

Worked Example: Combining Two Markers and an Observed Event

Consider a hypothetical subject at a fixed value of \(b_i\). At one visit, two marker measurements are \(1.2\) and \(1.9\), with conditional mean \((1.0,2.0)\) and covariance matrix

$$ \Sigma_i= \begin{pmatrix} 0.25&0.10\\ 0.10&0.16 \end{pmatrix}. $$

The residual vector is \(r=(0.2,-0.1)^\mathsf{T}\). The determinant is \(0.25(0.16)-0.10^2=0.03\), and the inverse covariance matrix is approximately \(\begin{pmatrix}5.333&-3.333\\-3.333&8.333\end{pmatrix}\). Thus \(r^\mathsf{T}\Sigma_i^{-1}r=0.4300\), and the bivariate normal marker density is

$$ f_Y(Y_i\mid b_i) = \frac{\exp(-0.4300/2)}{2\pi\sqrt{0.03}} \approx 0.741. $$

Suppose the conditional event hazard is constant at \(0.30\) per year and the event is observed at \(U_i=2\) years. Then \(f_{T,i}(2\mid b_i)=0.30\exp(-0.30\times2)=0.1646\) per year. Let censoring be exponential with rate \(0.05\) per year; because an event was observed, its censoring contribution is \(S_{C,i}(2)=\exp(-0.05\times2)=0.9048\). The full conditional contribution, before integrating over \(b_i\), is

$$ 0.741\times0.1646\times0.9048\approx0.1104. $$

The event density carries units of inverse years, so the product is a likelihood density with corresponding units. This calculation is conditional on the specified \(b_i\); the subject-level likelihood requires averaging the product over \(f_b\), not substituting an estimated \(b_i\) as though it were observed.

Worked Example: Factoring Out Independent Censoring

For a hypothetical right-censored subject at \(U_i=3\) years, suppose censoring is exponential with rate \(0.10\) per year and is independent of the event, marker data, and latent effects given \(X_i\). Its censoring density is \(f_C(3)=0.10\exp(-0.10\times3)=0.07408\) per year.

Suppose a two-point random-effects distribution has equal probabilities at \(b_A\) and \(b_B\). At the observed marker data, the conditional marker densities are \(0.40\) and \(0.20\), respectively. The event survival probabilities at 3 years are \(0.60\) and \(0.30\). Since this record is censored, the event contribution is survival, so the marker-and-event integral is

$$ 0.5(0.40)(0.60)+0.5(0.20)(0.30)=0.120+0.030=0.150. $$

The full likelihood contribution is \(0.150\times0.07408=0.01111\). The censoring factor is common to both latent-effect values, so it factors out of the integral. With distinct censoring parameters, it does not affect likelihood-based inference on the event and marker parameters. This conclusion depends on censoring being independent of the latent effects and the other relevant data given \(X_i\), not merely on conditional independence of event and censoring times given \(b_i\).

Worked Example: When Censoring Changes Latent-Effect Weights

Now consider a different hypothetical subject censored at \(U_i=1\) year. Let \(b_i\) take two equally likely values, \(b_A\) and \(b_B\), and suppose the marker density is the same at both values. Conditional event hazards are constant: \(0.10\) per year for \(b_A\) and \(1.00\) per year for \(b_B\). The event-survival contributions are therefore \(\exp(-0.10)=0.9048\) and \(\exp(-1)=0.3679\).

Suppose censoring is conditionally independent of the event given \(b_i\), but its exponential rate is \(0.10\) per year for \(b_A\) and \(1.00\) per year for \(b_B\). Because the subject was censored at 1 year, the censoring contributions are the densities \(0.10\exp(-0.10)=0.09048\) and \(1.00\exp(-1)=0.3679\). Ignoring the common marker density, the prior-weighted joint contributions are

$$ w_A=0.5\exp(-0.1)\cdot0.1\exp(-0.1)\approx0.04094,\qquad w_B=0.5\exp(-1)\cdot\exp(-1)\approx0.06767. $$

Thus the likelihood-weighted probability of \(b_B\) for this record is \(0.06767/(0.04095+0.06767)=0.6229\). If the censoring density were incorrectly omitted, the corresponding weight would instead be \(0.3679/(0.9048+0.3679)=0.2890\). The record’s censoring status carries information about \(b_i\), which changes the integrated likelihood and potentially inference on event parameters. Conditional independence of event and censoring given \(b_i\) does not remove that information.

Assumptions, Diagnostics, and Alternatives

The likelihood derivation relies on assumptions that should be checked against the study design and data-generating process. The conditional marker density must represent the joint distribution of the observed marker vector, including relevant covariance across markers and visits. The event model must provide a valid nonnegative hazard and the implied survival function. The product form also requires the stated conditional independence of marker data from the event and censoring times given the latent effects and covariates, plus conditional independence between event and censoring times if their contributions are modeled separately.

Useful diagnostics include checking whether censoring patterns vary across observed covariate groups or marker histories, comparing the assumed censoring model with observed follow-up patterns, and examining whether event-model and marker-model residual or fit diagnostics reveal systematic lack of fit. Such checks cannot prove independence from unobserved random effects. If censoring plausibly depends on latent health status represented by \(b_i\), the censoring process should be modeled conditionally on those effects, with its likelihood contribution retained inside the integral. If event and censoring times remain dependent even after conditioning on the modeled latent quantities and covariates, the simple product of separate event and censoring terms is not justified; a joint model for their dependence is needed.

A common alternative for event-parameter inference is to use the marker-and-event integral alone. This is appropriate only when censoring is ignorable for the parameters of interest under assumptions such as independence of censoring from latent effects and event time conditional on observed covariates, with a distinct censoring mechanism. It is not licensed merely by assigning separate censoring parameters. Including a censoring likelihood is more explicit and can accommodate latent-dependent censoring, but requires a credible censoring model and can add substantial estimation difficulty. Neither approach repairs misspecification of the marker covariance or event model.

A frequent mistake is to reason, “Event and censoring times are independent given the random effects, so the censoring likelihood can be omitted.” The correction is that the random effects are integrated out, not observed. If censoring depends on them, \(L_{C,i}(b_i)\) changes the weights assigned to different \(b_i\) values inside the integral. The censoring term may be omitted from event-parameter inference only under an ignorability condition that allows it to factor out, or under an explicitly adopted assumption that it is irrelevant to the target likelihood.

Key takeaway: The general subject-level likelihood integrates the product of the multivariate marker density, event contribution, censoring contribution, and random-effects density. Factor censoring out only when its distribution does not depend on the latent effects or other unmodeled information relevant to the integral, and its parameters are separate from the targets of inference.

Check Your Understanding

Answer each question, then compare with the solutions below.

  1. For an observed event at \(U_i\), which event-time term appears, and which censoring term appears?
  2. For a right-censored record, explain why the event contribution is a survival probability rather than an event density.
  3. State a sufficient censoring condition under which the censoring contribution can be factored out of the latent-effects integral.
  4. Why is conditional independence of \(T_i\) and \(C_i\) given \(b_i,X_i\) alone insufficient to omit censoring?

Solutions. (1) The event term is \(f_{T,i}(U_i\mid b_i,X_i)\), and the censoring term is \(S_{C,i}(U_i\mid b_i,X_i)\), since censoring must last at least until the observed event. (2) A censored record establishes \(T_i>U_i\), whose conditional probability is \(S_{T,i}(U_i\mid b_i,X_i)\); it does not observe an event at \(U_i\). (3) One sufficient condition is \(C_i\) independent of \((T_i,b_i,Y_i)\) given \(X_i\), with censoring parameters distinct from the event and marker parameters. Then its likelihood factor does not depend on \(b_i\) and can be taken outside the integral. (4) If censoring depends on \(b_i\), its observed contribution changes the weighting of latent-effect values in the integral, even when event and censoring times are independent conditional on \(b_i,X_i\).

Clinical Biostats