bad29210创建于 2022年6月25日历史提交

Gamma distribution

A gamma continuous random variable.

Notes

The probability density function for gamma distribution is:

.. math::

f(x, \alpha, \beta) = \frac{\beta^\alpha x^{\alpha-1}e^{-\beta x}}
                      {\Gamma(\alpha)}

for :math:\alpha > 0, :math:\beta > 0, :math:x > 0, where :math:\Gamma is the gamma function.

The following plots show the pdf and cdf:

.. image:: ../../../../tests/imgs/stats/continuous/gamma/gammapdf.png :align: center :width: 480

.. image:: ../../../../tests/imgs/stats/continuous/gamma/gammacdf.png :align: center :width: 480