The dataset was generated based on the proposed model \(h(t; \boldsymbol{Z}_i, {X}_i(\cdot))=h_{0}(t-t_{i,j-1}) \exp \left(\eta_{ij}\right)\),
where \(h_0(\cdot)\) is the baseline hazard function generated from a Weibull distribution. \(\eta_{ij} = \bm{\alpha}^{\top}\boldsymbol{Z}_i +\int_{t_{i, j-1}}^{t}{X}_{i}(s)\beta(s)ds + v_{ij}\).
\(\bm{\alpha}\) is the fixed effect parameter associated with the time-invariant covariates \(\boldsymbol{Z}_i\),
and \(\beta(t)\) is a time-varying coefficient that captures the effect of functional predictor \(X_{i}(t)\) on the hazard rate of recurrent events.
The simulated dataset is organized into two data frames:
a survival data frame (sdat) and a functional data frame (fdat).
The variables in each data frame are listed below:
data(simDat)A list with two data frame:
Survival data; a data frame with xxx rows and xxx variables:
Functional data; a data frame with xxx rows and xxx variables: