powered by
Predefined target density corresponding to the population survival function of GPTCM
target(x, theta, proportion, mu, kappas)
value of the targeted (improper) probability density function
value generated from the proposal distribution
cure rate parameter (log scale)
proportions data
mean survival time
Weibull's true shape parameter
time1 <- target(1.2, 0.1, c(0.2, 0.3, 0.5), c(0.2, 0.1, 0.4), 2)
Run the code above in your browser using DataLab