Description Usage Arguments Value
View source: R/survival_funcs.R
If !correlated
: X \sim Exponential(λ_{x}) \quad Y \sim Exponential(λ_{y})
If correlated
: X \sim Exponential(λ_{x} \cdot k) \quad Y \sim Exponential(λ_{y} \cdot k) \quad K \sim Gamma(a, b)
1 | S.Z.Exponential(t, a, b, parameters_x, parameters_y, correlated)
|
t |
A number or vector, the survival times |
a |
A number, the shape parameter of Gamma frailty distribution |
b |
A number, the rate parameter of Gamma frailty distribution |
parameters_x |
A list, with an element named |
parameters_y |
A list, with an element |
correlated |
If TRUE, random variables that make up the sum are each conditionally exponential on the frailty parameter, that has Gamma(shape=a, rate=b) distribution. |
Survival function evaluated at t
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.