You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a way to get the confidence limits of the survival function at a specific time?
Example:
Using load_waltons data and WeibullFitter I could get this result:
df = load_waltons()
T = df['T']
E = df['E']
wbf = WeibullFitter().fit(T, E, label='WeibullFitter')
survivalat10 = wbf.survival_function_at_times(10.0)
print(survivalat10)
10.0 0.99734
Name: WeibullFitter, dtype: float64
How I get the 90% confidence interval for the survival function at time 10? I know I can get a DataFrame for series of times using wbf.confidence_interval_survival_function_ but is there a straightforward way to get the confidence limit of a point estimate?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Is there a way to get the confidence limits of the survival function at a specific time?
Example:
Using load_waltons data and WeibullFitter I could get this result:
How I get the 90% confidence interval for the survival function at time 10? I know I can get a DataFrame for series of times using
wbf.confidence_interval_survival_function_
but is there a straightforward way to get the confidence limit of a point estimate?Beta Was this translation helpful? Give feedback.
All reactions