# Gamma Distribution

Menu location: **Analysis_Distributions_Gamma**.

The gamma distribution depends upon two parameters; A (the shaping parameter) and B (the scaling parameter).

The gamma density function is:

The gamma function Γ(*) is:

If A is an integer then Γ(A)=(A-1)! where x! is factorial x.

When A = 1 this gives an exponential distribution. If you vary A then the shape of the distribution will change. Changing B does not affect the shape of the distribution, just its scale on the x axis.

See random number fill.