This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author David.Kremer
Recipients David.Kremer, docs@python
Date 2010-12-28.16:48:33
SpamBayes Score 0.0002548946
Marked as misclassified No
Message-id <1293554918.75.0.546382725998.issue10787@psf.upfronthosting.co.za>
In-reply-to
Content
Could you please add the exact form of the distribution, because it's rather confusing in the current form.

In this url, the role of k and theta is precised with a formula :
[http://tinyurl.com/24jxfrk]*

It seems that in 
[http://docs.python.org/library/random.html#random.gammavariate] , alpha is playing the role of k and beta is playing the role of theta.

But it's still not clear, because one can confuse beta with 1/beta and vice et versa, like there is two usual representation for the gamma distribution [http://en.wikipedia.org/wiki/Gamma_distribution]

[http://docs.scipy.org/doc/numpy-1.5.x/reference/generated/numpy.random.gamma.html#numpy.random.gamma]*

Please update the documentation to avoid this ambiguity.

I provide an indicative patch which is updating the doc string in random.py
History
Date User Action Args
2010-12-28 16:48:38David.Kremersetrecipients: + David.Kremer, docs@python
2010-12-28 16:48:38David.Kremersetmessageid: <1293554918.75.0.546382725998.issue10787@psf.upfronthosting.co.za>
2010-12-28 16:48:34David.Kremerlinkissue10787 messages
2010-12-28 16:48:33David.Kremercreate