| r_gl1 | R Documentation |
Generates random variates from GL Type 1 frailty distribution (two-component Gamma mixture).
r_gl1(n, eta, epsilon)
n |
Number of observations to generate. |
eta |
Parameter eta > 0. |
epsilon |
Parameter epsilon > 0. |
Numeric vector of length n.
Pandey, A., Hanagal, D. D., & Tyagi, S. (2022). Shared Frailty Models Based on Cancer Data. International Journal of Statistics and Reliability Engineering, 9(3), 461-474.
set.seed(123)
w_gl1 <- r_gl1(100, eta = 1.2, epsilon = 0.5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.