crm3 | R Documentation |
Triangular distribution Tri(a, c, b) as the baseline density, which puts a probability of one to the interval [a, b] and the mode at c.
data("crm3")
A data frame with 100 observations with the following 2 variables.
times
Simulated time
delta
Simulated censoring
In particular we took, a = 0, c = 1 and b = 4. The censoring time was independently generated from a uniform distribution to yield a 30% censoring rate. Sample size n = 100 and the cure proportion exp{-theta}=0.2.
Nieto-Barajas, L. E., & Yin, G. (2008)
## Cure Gama model Example 1
# data(crm3)
# times<-crm3$times
# delta<-crm3$delta
# res <- CuMRes(times, delta, type.t = 2,
# K = 100, length = .1, alpha = rep(1, 100 ),
# beta = rep(1, 100),c.r = rep(50, 99),
# iterations = 100, burn.in = 10, thinning = 1, type.c = 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.