(newbie) Random censoring using pymc.Censored?

Hello,
I’m new to probabilistic programming and survival analysis. I’m trying to build a survival model, assuming that assets have an expected time-to-failure that follows a Weibull distribution. I can’t seem to figure out how to add censoring to my model. I’ve tried following weibull_aft notebook but haven’t had any luck in PyMC v4 (PyMC v4.1.4)

My question:
How can I censor different age assets that have yet to fail by the censor date?

Context:

1 Like