An Algorithm for Generating Gamma Variates Based on the Weibull Distribution

Abstract An algorithm for generating gamma variates based on the Weibull distribution is given. This algorithm, a modification of one given by Phillips, is shown to be more accurate than the latter. The speed and memory requirements are similar.