Frailty models and multistate models (MSMs) are powerful tools used in survival analysis to handle heterogeneity among individuals and to better represent complex processes involving multiple ...