Re: [R] Generate random variate from a non-parametric hazard function

2009-10-24 Thread Peter Dalgaard
Samiul Hasan wrote: Hi I have estimated a hazard function using a kernel based method. Now i have to generate a random variate that follows this hazard function. Does any one know method I should use to generate the variate. Thanks Samiul As far as I remember, the relation that you need is tha

[R] Generate random variate from a non-parametric hazard function

2009-10-24 Thread Samiul Hasan
Hi I have estimated a hazard function using a kernel based method. Now i have to generate a random variate that follows this hazard function. Does any one know method I should use to generate the variate. Thanks Samiul -- View this message in context: http://www.nabble.com/Generate-random-varia