A simulated dataset for demonstrating high-dimensional and longitudinal mediation analysis with survival outcomes in a counting-process framework. The data were generated under a longitudinal mediator model and a piecewise-constant Weibull survival model, mimicking real-world analysis settings.
SurvivalLongDataA list with the following components:
A data frame where each row represents one interval
(tstart, tstop) for a subject in counting-process format.
It contains:
Subject identifier (may appear multiple times due to interval splitting).
Start time of the interval.
Stop time of the interval (event or censoring time).
Event indicator for the interval (1 = event, 0 = no event).
Exposure variable for each subject.
Binary covariate: 1 = male, 0 = female.
Age of the subject in years.
A numeric matrix of high-dimensional longitudinal mediators
aligned with the rows of PhenoData.
Columns correspond to mediator variables (M1, M2, …), and rows
correspond to observation intervals in the counting-process setup.
data(SurvivalLongData)
head(SurvivalLongData$PhenoData)
Run the code above in your browser using DataLab