Fabiha Binte Farooq
2018-Jul-18 19:16 UTC
[R] Query regarding simulating weibull aft model with predefined censoring rate
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 here. 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!!! Sincerely, Fabiha -------------- 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-0002.txt>
Bert Gunter
2018-Jul-18 23:34 UTC
[R] Query regarding simulating weibull aft model with predefined censoring rate
Off topic for r-help (see posting guide linked below). Suggest Posting on stats.stackexchange.com instead.. Cheers, Bert Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) On Wed, Jul 18, 2018 at 12:16 PM, Fabiha Binte Farooq <fabiha6074 at gmail.com> wrote:> 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 > here. > > 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!!! > > Sincerely, > Fabiha > > ______________________________________________ > R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/ > posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > >[[alternative HTML version deleted]]