Re: [R] Quantile function for the generalized beta distribution of the 2nd kind (Florent Bresson)

From: Christian Kleiber <kleiber_at_statistik.uni-dortmund.de>
Date: Tue 13 Dec 2005 - 01:05:20 EST


No need for integrate(), uniroot(), etc

Exploit the structure of the distribution using something like

quantile <- scale * ( 1/qbeta(p, shape1=p, shape2=q) - 1 )^(-1/a)

where the parameterization is as in

C. Kleiber and S. Kotz: Statistical Size Distributions in Economics and Actuarial Sciences, Wiley 2003

(you seem to know the book)

or contact me off-list, I have code for this.

Best,
CK

-- 
____________________________________________

Dr. Christian Kleiber
FB Statistik
Universitaet Dortmund
Vogelpothsweg 78
44221 Dortmund
Germany

phone.  ++49-(0)231-755 5419
fax.    ++49-(0)231-755 5284
e-mail: kleiber@statistik.uni-dortmund.de

______________________________________________
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 Tue Dec 13 01:20:01 2005

This archive was generated by hypermail 2.1.8 : Tue 13 Dec 2005 - 02:28:22 EST