I am struggling trying to figure out how to produce an expected (mean) time to event from regression models using (1) Cox Regression (2) Weibull parametric. I want to calculate an expected value (and CI if possible) for any given set of predictor values. Does anyone know the calculus?

Thanks!