The general form of the gamma distribution has probability density function f given by
where α ( > 0), β ( > 0) and γ are parameters, and Γ is the gamma function. The distribution has mean αβ+γ and variance αβ2. If α>1 then the distribution has mode at x = γ+β (α−1); otherwise the mode is at x = γ.
The case (α = ½, β = 2, γ = 0) corresponds to the chi-squared distribution with ν degrees of freedom. The case (β = 1, γ = 0) gives the standard form of the distribution:
The case (α = 1, β = 1, γ = 0) gives the exponential distribution, and the case (α = k, β = 1, γ = 0), where k is a positive integer, gives the Erlang distribution, which is the distribution of the time to the kth event in a Poisson process. If Z is a standard normal variable (see normal distribution) then ½Z2 has a gamma distribution with parameters α = ½, β = 1, γ = 0.