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?
Asked
Active
Viewed 735 times
5

Jake
- 510
- 11
- 19
2 Answers
3
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.

Zhiqiang Wang
- 6,206
- 2
- 13
- 27
0
The other way would be to define a truncated distribution and use interval values. See the survival packages example of using a truncated Gaussian distribution aka ”tobit”. https://www.rdocumentation.org/packages/survival/versions/2.44-1.1/topics/tobin

IRTFM
- 258,963
- 21
- 364
- 487