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 of independently  
random (q,x) pairs  on a large sample. Wouldn't the matrix of (x,q)  
pairs then be something to work with?
(This has been asked several many times on R-help, so you could  
practice your use of the search facilities. Here's a MarkMail link:
http://markmail.org/search/?q=list%3Aorg.r-project.r-help+inverse+cumulative+distribution

--

David Winsemius, MD
West Hartford, CT

______________________________________________
R-help@r-project.org mailing list
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.

Reply via email to