Beta Distribution - Generating Beta-distributed Random Variates

Generating Beta-distributed Random Variates

If and are independent, with and then, so one algorithm for generating beta variates is to generate X/(X + Y), where X is a gamma variate with parameters and Y is an independent gamma variate with parameters .

Also, the kth order statistic of uniformly distributed variates is, so an alternative if and are small integers is to generate uniform variates and choose the -th largest.

Read more about this topic:  Beta Distribution

Famous quotes containing the word random:

    Man always made, and still makes, grotesque blunders in selecting and measuring forces, taken at random from the heap, but he never made a mistake in the value he set on the whole, which he symbolized as unity and worshipped as God. To this day, his attitude towards it has never changed, though science can no longer give to force a name.
    Henry Brooks Adams (1838–1918)