Description Usage Arguments Details Value See Also
Functions which return the hazard, cumulative hazard and inverse cumulative hazard at time t for an exponential distribution with parameter lambda and true hazard ratio mu.
1 2 3 4 5 |
t |
time of evaluation. |
lambda |
parameter of the exponential distribution. |
mu |
(optional) true excess hazard rate μ. |
The hazard function of an exponential distribution is given by:
h(λ) = λ
The cumulative hazard (with true hazard ratio μ) is given by:
H(λ, μ) = λ * t * exp(μ)
The inverse cumulative hazard (with true hazard ratio μ) by:
H^(-1)(λ, μ) = t/(λ exp(μ))
Value of specified function at time t.
Other utils:
calc_risk()
,
gen_arriv_times()
,
gen_surv_times()
,
runlength()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.