Re: [R] Numerical Inversion of Cumulative Distribution Function

2012-03-06 Thread David Winsemius
On Mar 6, 2012, at 1:47 PM, Gildas Mazo wrote: Dear R users, Given a user-defined cumulative distribution function F, I want to compute F^{-1}(x). Isn't this quantile()? (But pay attention to the type some say to use type=1.) Alternatively: If q = CDF(x) then generate a matrix

Re: [R] Numerical Inversion of Cumulative Distribution Function

2012-03-06 Thread Dimitris Rizopoulos
Check function uniroot(). I hope it helps. Best, Dimitris On 3/6/2012 7:47 PM, Gildas Mazo wrote: Dear R users, Given a user-defined cumulative distribution function F, I want to compute F^{-1}(x). How is that possible with R? Best Regards, -- Dimitris Rizopoulos Assistant Professor De

[R] Numerical Inversion of Cumulative Distribution Function

2012-03-06 Thread Gildas Mazo
Dear R users, Given a user-defined cumulative distribution function F, I want to compute F^{-1}(x). How is that possible with R? Best Regards, -- Gildas Mazo PhD student MISTIS team at INRIA Grenoble, France [[alternative HTML version deleted]] __