Hi, i have used the code below to come out with censored data with real values but if i want to generate data from q<-rweibull(25,2,4) that involves percent eg 5% or 10% censored i do not know how to do it. Can somebody show me how to do it. Thank you in advance d <- Surv(time=c(27,100,100,53,78),event=c(1,0,0,1,1)) [[alternative HTML version deleted]]