Closed lisandrojim closed 1 year ago
This is an issue, but it should raise a ValueError. This is because you shouldn't use only left censored data for estimation. You need at least one failure, or one right censored point with all the left censored data to get a reasonable result.
If you have more than just left censored data, you can use the Turnbull estimator:
turnbull_model = surv.Turnbull.fit(x=x, c=c)
You need at least two different failure types for a fit to work. So you'd need some observed (c=0) or right censored (c=1) with this data.
Otherwise the fitting method will just say that the failure occurred at -inf...
Hello,
I am trying to make analysis using left-censored data using the non-parametric estimators Kaplan-Meier but I get the following error:
The error:
ValueError: xrd format can't be used with left (c=-1) or interval (c=2) censoring
What are the alternatives?