| r_gl2 | R Documentation |
Generates random variates from GL Type 2 frailty distribution (two-component Gamma mixture with common rate).
r_gl2(n, theta, mu)
n |
Number of observations to generate. |
theta |
Parameter theta > 0. |
mu |
Parameter mu in (0, 1 + theta). |
Numeric vector of length n.
Pandey, A., & Tyagi, S. (2021). Comparison of Multiplicative Frailty Models Under Weibull Baseline Distribution. Lobachevskii Journal of Mathematics, 42(13), 3184-3195.
set.seed(123)
w_gl2 <- r_gl2(100, theta = 1.5, mu = 0.8)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.