simDat | R Documentation |
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:
Subjects identification
A sequence of the number of events per subject
Event starting time
Event end time
Event censoring time
Event status: status=1
if event is observed and status=0
if event is censored
A univariate scalar covariates. Can be extended to multiple scalar covariates
Functional data; a data frame with xxx rows and xxx variables:
Subjects identification
Time points for each longitudinal measurement
Longitudinal measurements at distinct time points
Simulated data
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.