Tutorials › Joint Modeling of Longitudinal and Time-to-Event Data › Joint Level And Slope Associations Across Markers

Multiple Longitudinal Markers · Tutorial 378 of 697

Joint Level And Slope Associations Across Markers

Learn to combine two biomarkers’ current levels and rates of change in one conditional hazard model and interpret each association while holding the others fixed.

Advanced 11 min read

What You'll Learn

  • Write a hazard model with marker-specific current values and slopes.
  • Interpret level and slope coefficients as conditional log-hazard associations.
  • Calculate hazard ratios for changes in one or both marker trajectories.
  • Distinguish joint level-and-slope models from level-only and slope-only alternatives.
  • Check the assumptions and practical limitations of the joint association model.

Why Model Levels and Slopes Together?

Two biomarkers can convey different aspects of a patient’s evolving health. A marker’s current level describes where its trajectory is at a particular time; its slope describes how quickly it is changing. A survival model that includes both can ask whether event hazard is associated with a high current value, a rapid increase or decrease, or both. With two correlated biomarkers, the model also makes each association conditional on the other marker’s level and slope.

This conditional interpretation matters. If the biomarkers tend to move together, a coefficient does not describe the overall association of one marker considered in isolation. It describes the association for a change in that marker while the other modeled marker features and covariates are held fixed. Such a comparison may be scientifically useful, but the observed data may contain relatively little information about it if those features rarely vary independently.

Model Definition and Assumptions

Let \(Y_{ik}\) denote the observed value of marker \(k\) for subject \(i\), recorded at time \(t_{ikj}\), where \(k=1,2\) indexes the two biomarkers and \(j\) indexes visits. The marker-specific latent trajectory is \(m_{ik}(t)\). It represents the subject’s underlying marker value at time \(t\), rather than a single noisy measurement. Its instantaneous rate of change is the derivative \(\dot m_{ik}(t)=d m_{ik}(t)/dt\).

For example, the longitudinal submodel may express each trajectory using fixed effects and subject-specific random effects, with the random effects across the two markers allowed to be correlated. The survival association uses the resulting latent trajectories, not the raw visit measurements. This avoids treating measurement error in an observed value as if it were a genuine instantaneous change in the subject’s underlying marker.

Definition: A joint level-and-slope association model for two markers specifies the event hazard as
$$ h_i(t\mid b_i)=h_0(t)\exp\left\{\gamma^\mathsf{T}w_i+ \alpha_1 m_{i1}(t)+\alpha_2 m_{i2}(t)+ \eta_1\dot m_{i1}(t)+\eta_2\dot m_{i2}(t)\right\}. $$
Here \(h_0(t)\) is the baseline hazard, \(w_i\) is a vector of additional covariates, and \(b_i\) denotes the subject-specific random effects that determine the marker trajectories. The \(\alpha_k\) are level-association coefficients and the \(\eta_k\) are slope-association coefficients. The hazard is conditional on the latent trajectories and covariates.

The interpretation relies on several assumptions. The longitudinal models must adequately represent the latent trajectories and their uncertainty; the slopes used in the hazard must be defined by differentiable trajectories. Conditional on those trajectories and \(w_i\), the specified hazard must adequately describe event risk, including the chosen proportional-hazards form: each association coefficient is constant over time unless the model explicitly allows time-varying effects. The usual joint-model formulation also assumes that censoring is non-informative conditional on the modeled information. Inference additionally depends on the assumed distribution and covariance structure for the random effects being adequate.

The model is an association model. Its conditional hazard ratios do not, by themselves, show that changing a biomarker would cause a change in event risk. They also do not describe a marginal association that averages over the distribution of random effects.

Interpreting the Conditional Effects

At a fixed time \(t\), compare two trajectory configurations for the same covariate values. If the first marker’s current value differs by \(\Delta m_1\), its slope by \(\Delta\dot m_1\), and the second marker’s value and slope differ by \(\Delta m_2\) and \(\Delta\dot m_2\), then the conditional hazard ratio is

$$ \mathrm{HR}(t)= \exp\left\{ \alpha_1\Delta m_1+\alpha_2\Delta m_2+ \eta_1\Delta\dot m_1+\eta_2\Delta\dot m_2 \right\}. $$

This result follows by dividing the hazard for one trajectory configuration by the hazard for the other. At the same time \(t\), the baseline hazard \(h_0(t)\) is common to both and cancels. The covariate contribution cancels when \(w_i\) is the same, and subtracting the two linear predictors leaves the four coefficient-times-change terms shown above. Exponentiating this difference gives the hazard ratio.

For a one-unit increase in marker 1’s current value, with its slope and both features of marker 2 held fixed, the conditional hazard ratio is \(\exp(\alpha_1)\). For a one-unit increase in marker 1’s slope, holding the other three features fixed, it is \(\exp(\eta_1)\). The units differ: \(\alpha_1\) is per unit of marker 1, while \(\eta_1\) is per unit of marker 1 per unit of time. A positive coefficient means a higher conditional hazard for the specified increase; it does not automatically mean that the marker is changing in a positive direction.

The comparison must be made at the same time when using this simple ratio. If comparing hazards at different times, the baseline hazards need not cancel. Also, a one-unit increase in a slope means a difference in rate of change, not a one-unit increase in the marker’s current value.

Worked Example: A One-Unit Increase in One Marker

Suppose a hypothetical model uses marker 1 measured in mg/L and time measured in months. Its fitted level coefficient is \(\alpha_1=0.18\) per mg/L. At a particular time, compare two otherwise identical trajectory configurations that differ by 2 mg/L in marker 1’s current value. Hold marker 1’s slope, marker 2’s level and slope, and covariates fixed.

The conditional hazard ratio is

$$ \mathrm{HR}=\exp(\alpha_1\Delta m_1) =\exp(0.18\times 2) =\exp(0.36) \approx 1.433. $$

Thus, at that time, the configuration with marker 1 higher by 2 mg/L has an estimated conditional hazard about 1.43 times as high, or about 43.3% higher, under this model. This is not a comparison of subjects whose other marker features also differ, and it is not a causal effect.

Worked Example: Combining Both Markers’ Levels

Consider a hypothetical model with \(\alpha_1=0.18\) per mg/L for marker 1 and \(\alpha_2=-0.12\) per score point for marker 2. At the same time, compare trajectory configurations with marker 1 higher by 2 mg/L and marker 2 higher by 1 score point. Hold both slopes and the covariates fixed.

The log hazard ratio is the sum of the two conditional level contributions:

$$ 0.18(2)+(-0.12)(1)=0.36-0.12=0.24. $$

Therefore,

$$ \mathrm{HR}=\exp(0.24)\approx 1.271. $$

The specified joint increase corresponds to an estimated conditional hazard about 1.27 times as high. The negative coefficient for marker 2 means that, with marker 1’s level and both slopes held fixed, a higher marker 2 value is associated with a lower hazard in this model. The combined comparison does not imply that marker 2 is protective in a causal sense.

Reading Level and Slope Effects Together

A level coefficient and its corresponding slope coefficient answer distinct conditional questions. They may have different signs without contradiction. For instance, a high current marker value might be associated with higher hazard while a rising trajectory, at the same current value, is associated with lower hazard. Such a pattern is a statement about the model’s conditional association, not a claim that all possible trajectories with those features are biologically plausible or equally well represented in the data.

For a slope interpretation, retain the time unit. Suppose marker 1 has slope coefficient \(\eta_1=0.35\) per (mg/L)/month. A slope difference of \(0.4\) (mg/L)/month, with the two current values and marker 2’s level and slope held fixed, gives the following comparison.

Worked Example: A Difference in Rate of Change

In a hypothetical fitted model, let \(\eta_1=0.35\) per (mg/L)/month. At the same time and current marker 1 value, compare a trajectory whose marker 1 is increasing at \(0.6\) mg/L per month with one increasing at \(0.2\) mg/L per month. Hold marker 2’s level and slope and all covariates fixed.

The slope difference is \(0.6-0.2=0.4\) mg/L per month. The estimated conditional hazard ratio is

$$ \mathrm{HR}=\exp\{0.35(0.4)\} =\exp(0.14) \approx 1.150. $$

The model therefore associates the faster-increasing trajectory with a conditional hazard about 1.15 times as high at that time, for these otherwise matched features. The comparison concerns a difference in slope; it is not the hazard ratio for a 0.4 mg/L difference in current marker level.

In applications, the two markers’ levels and slopes may be correlated. The coefficient for one feature is consequently conditional on the other three features even when the scientific question began with a single marker. It is important to report the conditioning clearly and to avoid interpreting coefficients as if each came from a separate model.

Model Checks, Alternatives, and Limits

Before interpreting estimates, check that the joint model’s assumptions and fitted components are credible. Plot observed marker measurements alongside fitted trajectories for representative subjects, and examine whether the fitted curves capture the overall patterns and rates of change over the time range relevant to events. Check whether slope estimates are determined by the longitudinal data rather than being driven mainly by the assumed trajectory shape. Review convergence and identifiability evidence, and examine uncertainty in all four association estimates. Very wide intervals or unstable estimates can make a conditional interpretation uninformative.

Units and plausible trajectory ranges are essential diagnostics for interpretation. A slope’s numerical value changes if time is recorded in days rather than months, and its coefficient changes accordingly. A one-unit change may also be much larger than the differences commonly observed. A calculated hazard ratio can be mathematically correct yet describe an implausible comparison if the proposed combination of levels and slopes is not supported by the data.

Common alternatives answer narrower questions. A current-value-only model includes the two \(m_{ik}(t)\) terms but omits slopes. A slope-only model includes the derivatives but omits current levels. A shared-random-effects association instead links hazard to selected latent random effects rather than directly to each marker’s current value and rate of change. These approaches are not interchangeable: they encode different assumptions about which aspects of the longitudinal process carry survival information. The joint level-and-slope specification is useful when both features are scientifically motivated, but it requires estimating and interpreting four conditional associations.

A key pitfall is to read a positive slope coefficient as evidence that a high marker level raises risk. The slope coefficient concerns a faster rate of change while the current level and other modeled features are held fixed. The level coefficient addresses the current value. A second pitfall is to treat a marker’s coefficient as its overall or causal effect despite the conditioning on the other marker features and the model assumptions. State the feature changed, the features held fixed, the units, and the conditional nature of the comparison.

Key takeaway: In a two-marker joint level-and-slope model, each association coefficient describes a conditional log-hazard change for one specific trajectory feature. A useful interpretation always identifies that feature, its units, the other features held fixed, and the time-specific comparison.

Check Your Understanding

Answer each question, then compare your work with the solutions below.

  1. In a model with level coefficient \(\alpha_2=-0.20\) per score point, what is the conditional hazard ratio for a 3-point increase in marker 2’s current value, holding its slope and both features of marker 1 fixed?
  2. A marker’s slope coefficient is \(0.40\) per unit per month. What is the conditional hazard ratio for a slope difference of \(-0.5\) units per month, with all other modeled features held fixed?
  3. Why can a positive level coefficient and a negative slope coefficient for the same marker coexist without logical contradiction?
  4. What cancels when deriving the conditional hazard ratio for two trajectory configurations at the same time and with the same covariates?

Solutions. For question 1, \(\mathrm{HR}=\exp\{-0.20(3)\}=\exp(-0.60)\approx0.549\). The specified 3-point increase is associated with a conditional hazard about 0.549 times as high, with the other features fixed. For question 2, \(\mathrm{HR}=\exp\{0.40(-0.5)\}=\exp(-0.20)\approx0.819\); the lower slope is associated with a conditional hazard about 0.819 times as high in this comparison. For question 3, the level coefficient describes a change in current value holding slope fixed, whereas the slope coefficient describes a change in rate of change holding current value fixed. They concern different trajectory features. For question 4, the common baseline hazard and the common covariate contribution cancel in the ratio, leaving the difference in the marker-feature linear predictors.

Clinical Biostats