[R] Query regarding simulating weibull aft model with predefined censoring rate

Fabiha Binte Farooq f@bih@6074 @ending from gm@il@com
Wed Jul 18 21:16:39 CEST 2018

Hi there,
I am an MS student from Bangladesh. I am doing thesis in my MS degree. In
my research, I am generating data from weibull distribution and my model is
accelerated failure time (AFT) model. I am considering right censoring as
well as covariates. Now I have been facing difficulties to generate
censoring time controlling censoring proportion. I am attaching my codes

Problem. I have generated censoring time using a relationship between scale
and covariates from an article for PH model. But my model is AFT. Is it
authentic to use it here? Please help!!!


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 1531941100067_weibull model.txt
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20180719/0fbf8d94/attachment.txt>

More information about the R-help mailing list