Skip to content
Prev 82578 / 398502 Next

Quantile function for the generalized beta distribution of the 2nd kind

Florent Bresson <f_bresson at yahoo.fr> writes:
Eh? You don't need uniroot to solve z/(z+1) == y 

Just set

 z <- y/(1-y)

In general, uniroot works by binary search, so is unhappy with
infinite-length intervals, but you can usually transform to a finite
interval.