zepid.datasets.load_longitudinal_data¶
-
zepid.datasets.
load_longitudinal_data
()¶ Loads simulated longitudinal data. This longitudinal data is used to demonstrate the sequential regression time-varying g-formula, and the longitudinal targeted maximum likelihood estimator. The format of the returned file is a long data set
Notes
- Variables included are
- A: treatment of interest
- Y: outcome of interest
- t: time-point
- W: baseline variable
- L: time-varying variable
- id: unique identifier for each subject
Returns: Returns pandas DataFrame Return type: DataFrame