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
However, loc[1] has a T value of 81. Thus, wouldn't loc[1] have a 100 percent chance of "surviving" to 53, 64, 76 (since it already did)?
I tried a few different rows for my X values and seem to get the same output for every row. However, I'm expecting to get different outputs for my rows that are "survivors" (that is, loc[1] and loc[6]) since they have much different T values.
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
-
I'm just getting started with Lifelines and survival analysis so this may be a basic question.
I'm trying to run the survival function for individual rows in my data to see how long each row will "survive".
Suppose I have this dataset of durations (T) and events(E).
Then I run these commands (after the customary initialization).
X = regression_dataset.loc[1]
ax = wft.predict_survival_function(X)
ax
...and get output like this:
53.0 0.997631
64.0 0.968971
76.0 0.716824
78.0 0.621617
81.0 0.450302
85.0 0.213209
86.0 0.162931
However, loc[1] has a T value of 81. Thus, wouldn't loc[1] have a 100 percent chance of "surviving" to 53, 64, 76 (since it already did)?
I tried a few different rows for my X values and seem to get the same output for every row. However, I'm expecting to get different outputs for my rows that are "survivors" (that is, loc[1] and loc[6]) since they have much different T values.
Beta Was this translation helpful? Give feedback.
All reactions