API reference
Models
Cox Proportional Hazards model. |
|
Simulation
Simulates a long-format survival dataset with covariates matched to target hazard ratios. |
|
Simulates a dataset of n_patients patients by concatenating smaller chunks. |
|
Simulates a dataset with a single WCE "dose" covariate, for benchmarking/validation experiments. |
|
This class is used to define a constant cox covariate, it's a covariate that impacts the values taken by the patients at each time point are constant It impact the log-likelihood like in the cox model |
|
This class is used to define a time-dependent cox covariate, it's a covariate that impact The values are time-dependant and can be cumulative or not. |
|
This class is used to define a WCE covariate, it's a covariate that impact the log likelihood following a time-dependent pattern of cumulative exposure. |
Utilities
bool(x) -> bool |