PyDTS: A Python Package for Discrete-Time Survival Analysis with Competing Risks and Optional Penalization
This package addresses the need for discrete-time survival analysis with competing risks in research and development, but it is incremental as it implements existing methods in a new software tool.
The authors tackled the problem of biased estimators in survival analysis when time is discrete and events involve competing risks, resulting in the development of PyDTS, a Python package that provides tools for regularized estimation, model evaluation, variable screening, and simulation.
Time-to-event (survival) analysis models the time until a pre-specified event occurs. When time is measured in discrete units or rounded into intervals, standard continuous-time models can yield biased estimators. In addition, the event of interest may belong to one of several mutually exclusive types, referred to as competing risks, where the occurrence of one event prevents the occurrence or observation of the others. PyDTS is an open-source Python package for analyzing discrete-time survival data with competing-risks. It provides regularized estimation methods, model evaluation metrics, variable screening tools, and a simulation module to support research and development.