Hey everyone,

I’m currently working on Survival Analysis and would particularly like to model the ability to accommodate for “censoring”. If for a while we forget about censoring, the I think this falls in domain of known ways of modeling. We can build a generative process (based on whatever covariates) which emits the Survival Time.

My general question would be - How do I create a generative process for censored observations?

In particular, is there a way to simulate “if” conditions in a Bayesian Network in Pyro?