Efficient Algorithms and Implementation of a Semiparametric Joint Model for Longitudinal and Competing Risks Data: With Applications to Massive Biobank Data

Shanpeng Li, Ning Li, Hong Wang, Jin Zhou, Hua Zhou +1 more
10/28/2021
stat.MEstat.CO

Official code: shanpengli/FastJM (7 stars, C++, last commit 2026-11-20).

Abstract

Semiparametric joint models of longitudinal and competing risks data are computationally costly and their current implementations do not scale well to massive biobank data. This paper identifies and addresses some key computational barriers in a semiparametric joint model for longitudinal and competing risks survival data.

Show full abstract

By developing and implementing customized linear scan algorithms, we reduce the computational complexities from $O(n^2)$ or $O(n^3)$ to $O(n)$ in various components including numerical integration, risk set calculation, and standard error estimation, where $n$ is the number of subjects. Using both simulated and real world biobank data, we demonstrate that these linear scan algorithms generate drastic speed-up of up to hundreds of thousands fold when $n>10^4$, sometimes reducing the run-time from days to minutes. We have developed an R-package, FastJM, based on the proposed algorithms for joint modeling of longitudinal and time-to-event data with and without competing risks, and made it publicly available on the Comprehensive R Archive Network (CRAN).

View on arXivView PDF

Code Implementations(1)

shanpengli/FastJMOfficial100%

Efficient algorithms and implementation of joint models with longitudinal and competing risks data applying pseudo-adaptive quadrature rules and customized linear scan approach

712C++, RJun 25, 20201 weeks ago
cppr

Similar Papers

Cite this paper

@article{li2021efficient,
  title  = {Efficient Algorithms and Implementation of a Semiparametric Joint Model for Longitudinal and Competing Risks Data: With Applications to Massive Biobank Data},
  author = {Shanpeng Li and Ning Li and Hong Wang and Jin Zhou and Hua Zhou and Gang Li},
  year   = {2021},
  eprint = {2110.14822},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2110.14822}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2110.14822.svg)](https://codeofpaper.com/paper/2110.14822)

Discussion