The R package JLPM implements in the jointLPM function the estimation of a joint shared random effects model.
The longitudinal data () can be continuous or ordinal and are modelled using a mixed model.
For the continuous case, a transformation is estimated for outcome () :
For an ordinal outcome, mixed models are combined to the Item Response Theory:
where and are vectors of covariates measured at time for subject , is the vector of fixed effects, are the random effects, the measurement errors, are the parameters of the link function or the thresholds associated to the outcome .
Note that even with multiple longitudinal outcomes, a univariate mixed model is estimated.
The time-to-event data are modelled in a proportional hazard model where different associations between the longitudinal outcome and the event can be included.
With an association through the random effects of the longitudinal model:
With an association through the current level of the longitudinal model:
With an association through the current slope of the longitudinal model:
with the baseline hazard function at time , parameterized with , a vector of time-fixed covariates, the fixed effects, and the association parameter.
The parameters are estimated using a Marquardt-Levenberg algorithm.