Tutorials › Joint Modeling of Longitudinal and Time-to-Event Data › Interpreting Class-Specific Trajectories and Hazards

Latent Class Joint Models · Tutorial 452 of 697

Interpreting Class-Specific Trajectories and Hazards

Interpret what each latent class’s fitted outcome trajectory and event hazard imply together, while checking the assumptions and uncertainty behind the comparison.

Advanced 10 min read

What You'll Learn

  • Define and distinguish class-specific mean curves, hazard functions, and class-specific survival.
  • Compare trajectories at meaningful times and calculate where fitted curves cross.
  • Interpret hazard ratios and absolute hazard differences with their time units.
  • Combine trajectory and hazard estimates into clinically interpretable class profiles.
  • Recognize why class-specific contrasts do not establish causation or describe the population mixture by themselves.
  • Identify diagnostics and modeling limitations that can make fitted profiles misleading.

Reading a Trajectory and an Event Hazard Together

A latent class joint model gives more than a collection of regression coefficients. It describes classes with different longitudinal patterns and different event-risk patterns. Interpretation therefore requires looking at the fitted outcome curve and the event hazard together. A class whose mean outcome rises over time may also have a larger event hazard, but neither pattern alone tells the full story: the trajectories might cross, or the hazard contrast might change over follow-up.

The goal is to describe the fitted profiles on interpretable scales and at relevant times. This is not the same as claiming that a trajectory causes an event, or that every individual assigned to a class follows its mean curve. The classes represent model-based subpopulations; individual outcomes and event times can vary within each class.

Definition: Let \(C_i\) denote the latent class for individual \(i\), with possible values \(1,\ldots,G\). The class-specific longitudinal mean \(m_c(t)\) is the model-implied expected outcome at time \(t\) for class \(c\), under the covariate and random-effects convention used to define that mean. The class-specific event hazard \(h_c(t)\) is the instantaneous event rate at time \(t\), conditional on being event-free just before \(t\) and on the specified class and covariate or random-effects setting. A hazard has units of inverse time; it is not a probability.

Some fitted models report a mean curve averaged over the random-effects distribution within class; others report a curve at a specified random-effects value or covariate pattern. Similarly, a hazard prediction may be conditional on a specified profile. Those details matter: comparisons are most interpretable when the same convention and covariate pattern are used for every class. In the examples below, predictions are stated to be on a common, specified basis.

A useful event-risk summary is the class-specific cumulative hazard \(H_c(t)=\int_0^t h_c(u)\,du\). The corresponding class-specific survival function is \(S_c(t)=\exp\{-H_c(t)\}\), when the hazard describes the event process under consideration. These quantities describe survival conditional on class under the model; they are not the overall survival curve for a population mixture of classes.

Assumptions Behind a Class Profile

Interpretation presumes that the fitted class structure is a useful representation of the data and that the model’s longitudinal and event components are adequately specified. In the latent class formulation, individuals belong to one of the modeled classes, and the class-specific curves and hazards are conditional descriptions. If the model also includes random effects within classes, the reported mean and hazard must be interpreted according to how those random effects were handled.

The conditional-independence assumption used in this setting says that, given class and the modeled random effects or other shared latent quantities, the longitudinal measurements and event process are independent. It does not say that they are unconditionally independent. The class-specific profiles are therefore meaningful only in relation to the fitted joint model and its assumptions.

  • Time and units must be clear. State the outcome scale and the time unit. A slope in outcome units per year is not interchangeable with a slope per month.
  • Hazard comparisons must be aligned. Compare hazards at the same follow-up time and under the same covariate or random-effects setting.
  • Censoring and observation must be handled appropriately. The event and longitudinal likelihoods rely on the model’s assumptions about censoring and the observation process; informative loss not represented by the model can distort the fitted profiles.
  • Do not over-interpret beyond observed support. A curve far beyond the observed follow-up may reflect the chosen functional form more than reliable information in the data.

Compare Curves Before Comparing Coefficients

A coefficient is a compact description of one model component, but the clinical interpretation usually concerns predicted outcome levels, changes, and event rates. For example, a linear mean curve \(m_c(t)=\beta_{0c}+\beta_{1c}t\) has an intercept \(\beta_{0c}\) in outcome units and a slope \(\beta_{1c}\) in outcome units per time unit. A contrast between slopes does not by itself say which class has the larger mean at a clinically relevant time; that depends on both intercepts and slopes.

Likewise, if a class-specific hazard is expressed on a log scale, exponentiating a contrast gives a hazard ratio. A hazard ratio describes a relative instantaneous event rate, not a difference in event probabilities. Absolute hazards and, when appropriate, cumulative hazards or class-specific survival can help convey the size of the difference in context.

Interpretation rule: Describe each class with predicted longitudinal values at meaningful times and event-risk summaries at matching times or intervals. State the scale, units, conditioning convention, and uncertainty. Treat the resulting pattern as a model-based association, not a causal effect of class membership or outcome level.

Worked Example: Locating a Trajectory Crossing

Suppose a hypothetical model reports two class-specific mean curves for a symptom score, measured in points, with \(t\) measured in years since enrollment: \(m_A(t)=30+2t\) and \(m_B(t)=42-0.5t\). These are fitted class means on the same covariate and random-effects basis. Which class has the higher fitted mean at enrollment and at year 4, and when do the curves cross?

At enrollment, \(t=0\), so \(m_A(0)=30+2(0)=30\) points and \(m_B(0)=42-0.5(0)=42\) points. Class B has the higher fitted mean by \(42-30=12\) points.

At year 4, \(m_A(4)=30+2(4)=38\) points, while \(m_B(4)=42-0.5(4)=40\) points. Class B remains higher, but now by 2 points.

To find the crossing, set the fitted means equal:

$$ 30+2t=42-0.5t $$

Thus \(2.5t=12\), giving \(t=4.8\) years. Substitution gives \(m_A(4.8)=30+9.6=39.6\) points and \(m_B(4.8)=42-2.4=39.6\) points. After 4.8 years, the fitted line for class A is higher. This is a change in the ordering of the class means, not evidence that any individual’s outcome necessarily follows either line. The interpretation is also limited if 4.8 years is outside the time range with adequate data.

Quantifying Event-Risk Contrasts

Suppose class-specific hazards are reported at a particular time \(t\), with \(h_A(t)\) and \(h_B(t)\) in events per person-year. The absolute hazard difference is \(h_B(t)-h_A(t)\), also in events per person-year. The hazard ratio is \(h_B(t)/h_A(t)\), when \(h_A(t)>0\). These are distinct summaries: a large ratio can correspond to a small absolute difference when both hazards are small.

For a proportional-hazards contrast with class-specific log hazards \(\eta_A(t)\) and \(\eta_B(t)\), the ratio is obtained by exponentiating the difference. This follows because a log hazard is the natural logarithm of the hazard:

$$ \log\!\left\{\frac{h_B(t)}{h_A(t)}\right\} =\log h_B(t)-\log h_A(t) =\eta_B(t)-\eta_A(t), \qquad \frac{h_B(t)}{h_A(t)} =\exp\{\eta_B(t)-\eta_A(t)\}. $$

If the model allows the class contrast to vary over time, this ratio must be evaluated at specified times; a single hazard ratio would conceal that variation. Regardless of the parameterization, distinguish a pointwise hazard from an interval risk. The hazard is an instantaneous rate conditional on remaining event-free, whereas the probability of an event over an interval depends on the hazard over that whole interval.

Worked Example: Relative and Absolute Hazard Contrasts

In a hypothetical fitted model, the hazards at year 2, under the same covariate and random-effects setting, are \(h_A(2)=0.06\) events per person-year and \(h_B(2)=0.15\) events per person-year. Calculate and interpret the hazard ratio and absolute difference.

The ratio comparing class B with class A is \(0.15/0.06=2.50\). At year 2, the fitted instantaneous event rate for a person still event-free in class B is 2.50 times the corresponding rate in class A, under the stated conditioning convention.

The absolute difference is \(0.15-0.06=0.09\) events per person-year. This is a difference in instantaneous rates at year 2, not an increase of 9 percentage points in the probability of an event.

For an additional calculation only, suppose these hazards were constant over the entire first 2 years. Then \(H_A(2)=0.06(2)=0.12\) and \(H_B(2)=0.15(2)=0.30\). The class-specific survival probabilities under this constant-hazard assumption are \(S_A(2)=\exp(-0.12)=0.887\) and \(S_B(2)=\exp(-0.30)=0.741\). The corresponding event probabilities are \(1-0.887=0.113\) and \(1-0.741=0.259\). These interval probabilities follow only because constant hazards over the interval were stipulated; they cannot be inferred from the two year-2 point hazards alone.

Build a Clinically Meaningful Joint Profile

The interpretation should bring the outcome and event components together without treating one as proof of the other. A clear profile might say that one class has a persistently higher symptom mean and a higher fitted hazard at specified times. That is more informative than reporting, for example, only that one slope differs from zero or that a hazard coefficient is positive. But the profile remains conditional on the fitted model, its class definition, and the prediction settings.

Worked Example: Describing Two Fitted Risk Profiles

Consider hypothetical fitted results for a biomarker, measured in units per liter, with time in years. On a common prediction basis, class L has means \(m_L(0)=4\), \(m_L(1)=5\), and \(m_L(2)=6\); class H has means \(m_H(0)=8\), \(m_H(1)=10\), and \(m_H(2)=12\). At year 2, the fitted hazards are \(h_L(2)=0.03\) and \(h_H(2)=0.12\) events per person-year. Describe the joint pattern.

The class H mean is higher at each listed time: the class differences are \(8-4=4\), \(10-5=5\), and \(12-6=6\) units per liter at years 0, 1, and 2, respectively. The means also rise over time in both classes: class L increases by \(6-4=2\) units per liter from year 0 to year 2, while class H increases by \(12-8=4\) units per liter.

At year 2, the hazard ratio for class H versus class L is \(0.12/0.03=4.00\), and the absolute hazard difference is \(0.12-0.03=0.09\) events per person-year. A measured interpretation is: in this hypothetical fitted model, class H has higher biomarker means at the reported times and a fourfold fitted instantaneous event rate at year 2 than class L, for the specified prediction basis.

This is a coherent higher-trajectory, higher-hazard profile in the model. It does not establish that raising the biomarker would raise event risk, that the biomarker mediates a class difference, or that every member of class H has a higher biomarker or event risk than every member of class L. Those conclusions do not follow from class-specific fitted means and hazards.

Uncertainty, Diagnostics, and Alternatives

A profile should include uncertainty when it is available. Pointwise confidence intervals for mean curves can show how precisely the class means are estimated at particular times; uncertainty bands or intervals for hazards can do the same for event risk. A contrast such as a hazard ratio should ideally have its own interval, because uncertainty in two estimated hazards is not captured by simply comparing their separate intervals. An interval that includes the null ratio of 1 does not prove the classes have equal hazards; it indicates that the data and model have not ruled out that value at the corresponding confidence level.

Check fitted curves and hazards over the observed follow-up, rather than relying on a table of coefficients alone. Look for implausible curvature, abrupt changes unsupported by data, crossing curves hidden by a single slope summary, and hazards that become extreme near the edge of follow-up. Confirm that displayed comparisons use the same time scale, units, covariate pattern, and random-effects convention. If class-specific estimates are imprecise, avoid confident clinical labels even if the point estimates look widely separated.

Alternative summaries answer different questions. A trajectory-only clustering approach may describe outcome patterns but does not use the event process to define the joint likelihood. A model with one pooled event hazard can obscure class-specific risk differences. Conversely, reporting only the class-specific event coefficients can hide how longitudinal means change over time. Joint profiles are useful because they present both fitted components, but they do not replace model checking or resolve uncertainty in class assignment.

A common mistake is to read the hazard ratio as a risk ratio: “class H has four times the probability of an event.” The correction is that the ratio compares instantaneous rates among individuals still event-free at the specified time, conditional on the model’s settings. Another mistake is to infer causation from the alignment of a rising mean curve and higher hazard. The correction is to describe the fitted association and avoid claims about what would happen under an intervention. Finally, a class-specific hazard is not automatically the hazard for the full population; averaging or combining class-specific hazards requires accounting for the class mixture and who remains event-free over time.

Key takeaway: Interpret a class by pairing predicted longitudinal values with event-risk summaries at relevant times, stating units and conditioning assumptions. Describe the pattern as a model-based profile, not as an isolated coefficient, an individual-level guarantee, or a causal effect.

Check Your Understanding

Answer each question, then compare your reasoning with the solutions.

  1. A fitted mean curve is \(m(t)=12-1.5t\), where the outcome is measured in millimeters and time in years. What is the fitted mean at year 4, and what does the slope mean?
  2. At a specified time, two class-specific hazards are 0.02 and 0.08 events per person-month. Calculate the hazard ratio and absolute hazard difference. Interpret both with units.
  3. Why does a higher class-specific mean outcome together with a higher class-specific hazard not establish that the outcome causes the event?
  4. A model reports a hazard at year 3 but gives no assumptions about the hazard between years 0 and 3. Can you compute the three-year event probability from that single hazard? Explain.
  5. What should be checked before comparing two class-specific mean curves and hazards?

Solutions. 1. \(m(4)=12-1.5(4)=6\) mm. The slope means the fitted mean decreases by 1.5 mm per year. 2. The ratio is \(0.08/0.02=4.00\); the second class has four times the instantaneous rate at that time. The difference is \(0.08-0.02=0.06\) events per person-month. Neither is a difference in event probabilities. 3. The fitted association may reflect the joint model, class membership, or other modeled and unmodeled factors; it does not compare outcomes under an intervention. 4. No. A single point hazard does not determine the cumulative hazard over the full interval; the hazard path or an assumption such as constancy is needed. 5. Check common time units, outcome and hazard scales, covariate and random-effects settings, observed follow-up support, uncertainty, and whether the model’s assumptions make the reported predictions interpretable.

Clinical Biostats