-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Description
Issue with current documentation:
Hi all!
I am using the CensoredData class introduced in scipy v1.11.0 to model a censored dataset. I think that in the documentation for this class is not very clear which type of censoring is considered, or if there is the possibility to change the likelihood function depending on the censoring type. From the text "Reliability and Survival Analysis" by Karim and Islam 2019, three types of censoring are defined Type I, Type II and random and depending on the three types there are different formulations to calculate the likelihood (chapter 4.4).
-
Type I:
$L = \prod f(t_{i})^{\delta_{i}}S(t_{r})^{1-\delta_{i}}$ -
Type II:
$L = [\prod f(t_{i})]S(t_{r})^{n-r}$ - Random censoring: The same as Type I if censoring is considered independent from the event.
There are also more complex and umbrella formulations that consider right, left and interval censoring all together. Which of these formulations are used in scipy?
Idea or request for content:
I think that a more precise overview of the underlying likelihood calculation used in scipy should be added.
Additional context (e.g. screenshots, GIFs)
No response