Is there a function that returns the event occurrence probability between two time points? #1285
-
I am looking for a function that returns the probability of hazard between two time points for a fitted model. I'll use these probabilities as transition probabilities for a discrete time Markov Chain so I need transition probabilities for hazards. Looking for: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hi @yildizyasin, there's no built in function. Are you fitting a regression model? If so, there is the |
Beta Was this translation helpful? Give feedback.
Hi @yildizyasin, there's no built in function. Are you fitting a regression model? If so, there is the
conditional_after
argument inpredict_survival_function
that could be useful. However, you latter equation can be easily turned into a function, too.