Probability of Remaining in Progression Between Two Time Points for Different Transition Models
Source:R/corPFSOS.R
log_p11.Rd
Probability of Remaining in Progression Between Two Time Points for Different Transition Models
Arguments
- transition
(
TransitionParameters
)
seeexponential_transition()
,weibull_transition()
orpiecewise_exponential()
for details.- s
(
numeric
)
lower time points.- t
(
numeric
)
higher time points.
Value
This returns the natural logarithm of the probability of remaining in progression (state 1) between two time points, conditional on being in state 1 at the lower time point.
Examples
transition <- exponential_transition(h01 = 1.2, h02 = 1.5, h12 = 1.6)
log_p11(transition, 1, 3)
#> [1] -3.2