A Python package for survival analysis. The most flexible survival analysis package available. SurPyval can work with arbitrary combinations of observed, censored, and truncated data. SurPyval can also fit distributions with 'offsets' with ease, for example the three parameter Weibull distribution.
In an IPython console, the following produces different results:
Take a look at
__repr__
instead of using [__str__
] (https://github.com/derrynknife/SurPyval/blob/768595da11fa15410c3ad5b44bb1a7caf615b9e7/surpyval/parametric/offset_parametric.py#L23) to align these