Fitting CoxPHFitter with data observed up to specific date #1334
Unanswered
jakubruszkowski
asked this question in
Q&A
Replies: 1 comment
-
|
Ah, I think I understand. Is it correct that currently you would need to do some pre-processing in the dataframe. Something like: or something like that? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi.
I really love survival_difference_at_fixed_point_in_time_test() function that helps to compare the two curves at specific times, rather than comparing the entire survival curves against each other. I wonder whether it is possible to easily fit CoxPHFitter (and parametric models) with data up to a specific time (automatically censoring data on longer observed participants). It would be especially helpful when one wants to test predictors of 1-/5-/10-years mortality using the same dataframe.
Beta Was this translation helpful? Give feedback.
All reactions