Kumaraswamy's Random Variate



Kumaraswamy's Random Variate

The probability density function, f(x), of a random variable distributed according to Kumaraswamy's distribution with shape parameters a > 0 and b > 0 is:
f(x) =
0for x ≤ 0
a b x a-1 (1 - x a) b-1 for 0 < x < 1
0for x ≥ 1

Function List

  • double Kumaraswamys_Random_Variate( double a, double b )

    This function returns X where X is a random variable with the density given above. Note that both a and b are positive.

Source Code

C source code is available for this routine: