Extended Joint Models for Longitudinal and Time-to-Event Data: A Tutorial
Pedro Miranda-AfonsoDimitris Rizopoulos
Pedro Miranda-Afonso
Dimitris Rizopoulos
+2
This tutorial demonstrates how to fit extended joint models for longitudinal and time-to-event data using the R package JMbayes2. It covers models with competing risks, recurrent events, multistate processes, flexible association structures, and multiple longitudinal outcomes following different distributions. Each model is illustrated with simulated data resembling real-world datasets, with detailed instructions on data organization, specification, fitting, diagnostics, and interpretation. The work provides accessible, reproducible R code for applied researchers.

arXiv ·
· September 14, 2026