[R] Quantile function for the generalized beta distribution of the 2nd kind

From: Florent Bresson <f_bresson_at_yahoo.fr>
Date: Mon 12 Dec 2005 - 01:31:41 EST

I have succeded in defining the cdf of the generalized beta of the second kind, eg.

pgbeta2 <- function(quint,b,a,p1,p2) {

but I'm facing problems with the quantile function. I tried something like

qgbeta2 <- function(proba,b,a,p1,p2) {
upper=10^200) }

but it doesn't work. I tried with other non linear optimization command like optim but it is apparently not the solution.
Any idea ?

R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Mon Dec 12 19:08:16 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:41:35 EST