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:

    poor Felix Randal;
    How far from then forethought of, all thy more boisterous years,
    When thou at the random grim forge, powerful amidst peers,
    Didst fettle for the great gray drayhorse his bright and battering
    sandal!
    Gerard Manley Hopkins (1844–1889)