← Latest papers
📊 statistics

Landmarking with Latent Class Mixed Models for Dynamic Prediction of Time-to-event Data with Heterogeneous Biomarker Trajectories

This paper proposes a computationally efficient landmarking approach integrated with latent class mixed models, implemented in the R package `landmaRk`, to improve dynamic time-to-event prediction for large-scale EHR data by accounting for heterogeneous biomarker trajectories that traditional methods fail to capture.

Original authors: Víctor Velasco-Pardo, Nathan Constantine-Cooke, Charlie W. Lees, Catalina A. Vallejos

Published 2026-06-24
📖 6 min read🧠 Deep dive

Original authors: Víctor Velasco-Pardo, Nathan Constantine-Cooke, Charlie W. Lees, Catalina A. Vallejos

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

The Big Picture: Predicting the Future from a Messy Past

Imagine you are trying to predict who will win a long-distance race. You have a massive list of runners (patients), and you have been tracking their speed (biomarkers) every time they pass a checkpoint.

In the medical world, doctors have access to huge digital records (Electronic Health Records) containing these speed checks for thousands of people. The goal is to use this history to predict who might drop out of the race (experience a health event) in the future.

However, there is a problem: Not all runners are the same.
Some runners start fast and slow down. Others start slow and sprint at the end. Some have hidden injuries we can't see. Traditional prediction tools often assume everyone is running on the same track with the same style, just adjusting for things we can see (like age or gender). But in reality, there are hidden "sub-groups" of runners with completely different patterns.

This paper introduces a new way to predict race outcomes that accounts for these hidden groups, and it does so without getting bogged down in heavy math that crashes computers.


The Old Ways: The "Last Seen" and the "Super-Computer"

Before this paper, there were two main ways to make these predictions:

  1. The "Last Seen" Method (LOCF):
    Imagine a coach looking at a runner and saying, "Okay, the last time I saw you, you were running at 5 mph. I'll assume you keep running at 5 mph until the next checkpoint."

    • The Flaw: This ignores the fact that the runner might have tripped, sped up, or slowed down between checks. It's a rough guess that ignores measurement errors.
  2. The "Super-Computer" Method (Joint Models):
    This method tries to build a perfect, complex 3D map of every single runner's path and their chance of dropping out all at once.

    • The Flaw: It is incredibly heavy. If you have data on 100,000 people, this method is like trying to solve a puzzle with a million pieces using a calculator. It takes too long and often fails on large datasets.

There was also a method called Joint Latent Class Models that tried to find hidden groups (like "sprinters" vs. "marathoners"), but it was just as heavy and slow as the Super-Computer method.


The New Solution: The "Smart Landmark"

The authors propose a new strategy called Landmarking with Latent Class Mixed Models (LCMM). Think of this as a modular, smart checkpoint system.

1. The Landmark Concept (The Checkpoints)

Instead of trying to predict the whole race at once, you pick specific moments in time (landmarks), like "Month 6" or "Year 2."

  • At Month 6, you only look at the people who are still in the race.
  • You look at their history up to that point.
  • You make a prediction for the next few months.
  • Then you move to Month 7, and repeat.

This is flexible. It handles the fact that people join and leave the study at different times, which is common in real-world hospital data.

2. The Secret Sauce: Finding Hidden Groups (LCMM)

This is where the paper shines. When looking at the history up to a checkpoint, the new method asks: "Is this runner part of a hidden group?"

Imagine the runners are actually three different species of animals:

  • Group A: Starts high, dips low, then spikes up.
  • Group B: Stays steady in the middle.
  • Group C: Starts high and slowly declines.

Old methods might just average everyone out. The new method uses Latent Class Mixed Models (LCMM) to say, "Ah, this runner looks like a Group A animal." It then uses the specific pattern of Group A to make the prediction.

Crucially, the paper found that knowing the group label is more important than the exact math of the path. Even if the math predicting the exact speed is similar to old methods, knowing which group the person belongs to gives a huge boost in accuracy.

3. The Tool: landmaRk

The authors didn't just write a theory; they built a Swiss Army Knife for this. They created a free software package called landmaRk.

  • Modular: You can swap out parts. Want to use a simple "Last Seen" method? Fine. Want to use the new "Hidden Group" method? Fine. Want to try a different survival calculator? You can plug it in.
  • Fast: It is designed to run on massive datasets (like hospital records) without crashing, unlike the heavy "Super-Computer" methods.

What Did They Test?

They tested this in two ways:

  1. The Simulation (The Practice Race):
    They created fake data where they knew the "truth" (there were exactly 3 hidden groups).

    • Result: The new method (Landmarking + Hidden Groups) was much better at predicting the outcome than the old "Last Seen" method or the heavy "Super-Computer" methods. It was also faster.
    • Key Finding: The biggest win came from telling the model which group the person belongs to, not just the math of their speed.
  2. The Real Data (The AIDS Dataset):
    They used real historical data from a clinical trial about HIV/AIDS patients, tracking their CD4 counts (a measure of immune health) to predict death.

    • Result: The new method again outperformed the old ones. It found hidden patterns in how patients' immune systems were changing that the old methods missed.
    • Note: The "Super-Computer" methods (Joint Models) were slower and actually less accurate at calibration (getting the probabilities right) than the new modular approach.

The Bottom Line

The paper claims that by combining Landmarking (checking the race at specific times) with Latent Class Models (finding hidden groups of similar runners), we can predict health outcomes much better and faster than before.

They also gave the medical community a free, flexible tool (landmaRk) to do this easily, allowing researchers to mix and match different math strategies without needing to be coding wizards.

In short: They found a way to spot hidden patterns in messy medical data to make better predictions, and they built a user-friendly toolkit to make it happen without slowing down the computer.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →