survreg with left truncated (delayed entry) data

Viewed 568

I am trying to fit a delayed entry parametric regression model for a Poisson process with Weibull baseline rate. It doesn't appear that R's survreg function supports left truncated data (I get the error: start-stop type Surv objects are not supported). Is there an alternate approach/R package that I could use to do this?

2 Answers

You may want to try something like:

flexsurv::flexsurvreg(formula = Surv(starttime, stoptime, status) ~ x1 + x2, 
                      data=data, dist = "weibull") 

Check the options the package offers which may fit your need.

Related