How to predict an outcome within a specific time window?
Beeing X in the future and beeing X in specific time in the future is just a subset of the first one.

So what one really needs to do is just determine the probabilities (or parameters that give us these probabilities)

P(X|t&gt;30)


Where you can model t, also as your feature. So just fit a model on this data, where you have mutliclassification of:


dead within 30 days
dead after 30 days
alive after 30 days