BJM: Backward Joint Model for the Dynamic Prediction of Both Time-to-Event and Longitudinal Outcomes

Provides tools to fit joint models of multivariate longitudinal data and time-to-event data for dynamic prediction. It allows the joint prediction of both future time-to-event outcomes and future longitudinal outcomes conditional on survival. The models accommodate irregularly measured longitudinal data and competing risks outcomes. The use of the backward joint model enables fast and efficient computation, especially for applications with large sample sizes and many longitudinal variables. Methods without competing risks are described in Shen and Li (2021) <doi:10.1002/sim.9037>, and their extension to competing risks is described in Li et al. (2026) <doi:10.1007/s10985-026-09725-x>.

Version: 0.3.0
Depends: R (≥ 3.5.0), survival
Imports: nlme, mvtnorm, ggplot2 (≥ 3.4.0), Matrix, parallel, graphics
Suggests: testthat (≥ 3.0.0), knitr, rmarkdown, torch, ordinal, timeROC, riskRegression, prodlim
Published: 2026-10-31
DOI: 10.32614/CRAN.package.BJM
Author: Wenhao Li [aut, cre], Liang Li [aut]
Maintainer: Wenhao Li <wenhaoli.jlu at gmail.com>
BugReports: https://github.com/wenhaoli18/BJM/issues
License: MIT + file LICENSE
URL: https://wenhaoli18.github.io/BJM/, https://github.com/wenhaoli18/BJM
NeedsCompilation: no
Citation: BJM citation info
Materials: README, NEWS
CRAN checks: BJM results [issues need fixing before 2026-11-23]

Documentation:

Reference manual: BJM.html , BJM.pdf
Vignettes: Getting started with BJM (source, R code)
Nonlinear terms in longitudinal formulas (source, R code)

Downloads:

Package source: BJM_0.3.0.tar.gz
Windows binaries: r-devel: BJM_0.2.0.zip, r-release: BJM_0.2.0.zip, r-oldrel: BJM_0.2.0.zip
macOS binaries: r-release (arm64): BJM_0.3.0.tgz, r-oldrel (arm64): BJM_0.3.0.tgz, r-release (x86_64): BJM_0.3.0.tgz, r-oldrel (x86_64): BJM_0.3.0.tgz
Old sources: BJM archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=BJM to link to this page.