Re: [R] Inverse fuction of ecdf

2007-01-28 Thread Duncan Murdoch
On 1/28/2007 5:41 PM, Geoffrey Zhu wrote: > Hi Everyone, > > I want to generate some random numbers according to some empirical > distribution. Therefore I am looking for the inverse of an empirical > cumulative distribution function. I haven't found any in R. Can anyone > give a pointer? sample(

Re: [R] Inverse fuction of ecdf

2007-01-28 Thread roger koenker
> Sent: Sunday, January 28, 2007 4:45 PM > To: Geoffrey Zhu > Cc: r-help@stat.math.ethz.ch > Subject: Re: [R] Inverse fuction of ecdf > > ?quantile > > b > > On Jan 28, 2007, at 5:41 PM, Geoffrey Zhu wrote: > >> Hi Everyone, >> >> I want to gene

Re: [R] Inverse fuction of ecdf

2007-01-28 Thread Geoffrey Zhu
:[EMAIL PROTECTED] Sent: Sunday, January 28, 2007 4:45 PM To: Geoffrey Zhu Cc: r-help@stat.math.ethz.ch Subject: Re: [R] Inverse fuction of ecdf ?quantile b On Jan 28, 2007, at 5:41 PM, Geoffrey Zhu wrote: > Hi Everyone, > > I want to generate some random numbers according to some

Re: [R] Inverse fuction of ecdf

2007-01-28 Thread Benilton Carvalho
?quantile b On Jan 28, 2007, at 5:41 PM, Geoffrey Zhu wrote: > Hi Everyone, > > I want to generate some random numbers according to some empirical > distribution. Therefore I am looking for the inverse of an empirical > cumulative distribution function. I haven't found any in R. Can anyone > giv

[R] Inverse fuction of ecdf

2007-01-28 Thread Geoffrey Zhu
Hi Everyone, I want to generate some random numbers according to some empirical distribution. Therefore I am looking for the inverse of an empirical cumulative distribution function. I haven't found any in R. Can anyone give a pointer? Thanks, Geoffrey ___