This returns event times with a distribution resulting from the sum of two Weibull distributed random variables using the inversion method.
Arguments
- U
(
numeric
)
uniformly distributed random variables.- haz1
(positive
number
)
first summand (constant hazard).- haz2
(positive
number
)
second summand (constant hazard).- p1
(positive
number
)
rate parameter of Weibull distribution forhaz1
.- p2
(positive
number
)
rate parameter of Weibull distribution forhaz2
.- entry
(
numeric
)
the entry times in the current state.