A simple method for generating gamma variables.
We offer a procedure for generating a gamma variate as the cube of a suitably scaled normal variate. It is fast and simple, assuming one has a fast way to generate normal variables. In brief: generate a normal variate x and a uniform variate U until In (U)<0.5x2 + d - dv + dln(italic>v), then...
| Опубликовано в:: | ACM transactions on mathematical software. 26, 3 (2000). |
|---|---|
| Главный автор: | |
| Другие авторы: | |
| Формат: | Статья |
| Язык: | English |
| Предметы: |