log_p11: Probability of Remaining in Progression Between Two Time...

View source: R/corPFSOS.R

log_p11R Documentation

Probability of Remaining in Progression Between Two Time Points for Different Transition Models

Description

Probability of Remaining in Progression Between Two Time Points for Different Transition Models

Usage

log_p11(transition, s, t)

Arguments

transition

(TransitionParameters)
see exponential_transition(), weibull_transition() or piecewise_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)

simIDM documentation built on May 29, 2024, 6:38 a.m.