Introduction¤
PyDTS currently includes two estimation procedures:
-
TwoStagesFitter - a python implementation of our estimation method [1].
-
DataExpansionFitter - a python implementation of the estimation method of Lee et al. (2018) [2].
The following example demonstrates the required data preparation steps, and applies our estimation procedure (Meir et. al., 2022) and that of Lee et al. (2018). As expected, both methods perform similarly in terms of point estimation and standard errors, while that of Meir et al (2022) is much faster.
The following sections includes:
- Data Preparation
- Estimating with TwoStagesFitter
- TwoStagesFitter Prediction
- Estimating with DataExpansionFitter
- DataExpansionFitter Prediction
For details about the estimation methods, please see Methods section.
For a detailed comparison between the two estimation techniques, based on as simulation study, see Meir et al. (2022).
References¤
[1] Meir, Tomer*, Gutman, Rom*, and Gorfine, Malka, "PyDTS: A Python Package for Discrete-Time Survival Analysis with Competing Risks" (2022)
[2] Lee, Minjung and Feuer, Eric J. and Fine, Jason P., "On the analysis of discrete time competing risks data", Biometrics (2018) doi: 10.1111/biom.12881