[R] simulate survival data using median survival time
michael.bedward at gmail.com
Tue Nov 16 09:34:28 CET 2010
Step 1 is choose an appropriate distribution :) Do you have one in
mind ? Or are you interested in examining the effects of survival
times having the same mean but generated with alternative
One ready-rolled alternative is the SimSurv method in package prodlim.
To find (many) others you can use the "sos" package...
findFn("simulate survival data")
Which returns 66 matches when I just tried it.
On 16 November 2010 18:04, Kere Klein <k.klein at uq.edu.au> wrote:
> Dear All,
> I like to know how to simulate survival data using median (or mean) survival time. Any help will be greatly appreciated.
> Best wishes,
> Kerenaftali Klein PhD| Biostatistician | Queensland Clinical Trials & Biostatistics Centre
> The University of Queensland | School of Population Health | Building 33, Level 1| Princess Alexandra Hospital |Ipswich Road | Woolloongabba QLD 4102 | Australia Ph: +61 7 3176 3062| Fax: +61 7 3176 6826 | Email: k.klein at uq.edu.au | Web: http://www.sph.uq.edu.au/qctbc
> R-help at r-project.org mailing list
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help