The Gamma, Exponential and Chi-square Distributions
Gamma family: parameters, tails, and special cases
The gamma family describes nonnegative waiting times and aggregate quantities using a shape and either a rate or a scale. The stated convention controls each calculation.
Parameter conventions
For X∼Gamma(k,rate λ), the density is f(x)=λkxk−1e−λx/Γ(k) for x≥0, with k,λ>0. The mean is E[X]=k/λ, and the variance is Var(X)=k/λ2. If the rate is measured per hour, the mean is in hours and the variance is in squared hours.
Under the scale convention, θ=1/λ, so E[X]=kθ and Var(X)=kθ2. With shape held fixed, increasing the rate shortens the typical wait; increasing the scale lengthens it.
Special cases and tails
Shape one gives the exponential distribution, whose upper tail is P(X>t)=e−λt for t≥0. For a positive integer shape k, the variable can represent the wait for event k in a Poisson process of rate λ. Waiting beyond time t means that only zero through k−1 events have occurred, so P(X>t)=e−λt∑j=0k−1(λt)j/j!.
A chi-square distribution with ν degrees of freedom is gamma with shape ν/2 and rate 1/2; its mean and variance are ν and 2ν. Its sum-of-squares construction requires independent standard normal terms.
Independent gamma variables with the same rate have a gamma sum whose shape is the sum of their shapes; that simple shape rule does not generally apply to different rates.
Worked example
Suppose a wait has gamma shape 3 and rate 4 per hour. Its scale is 1/4 hour, its mean is 3/4=0.75 hour, and its variance is 3/16=0.1875 hour squared. At t=0.25 hour, λt=1, so the upper tail is e−1(1+1+1/2)≈0.9197. The three terms count zero, one, or two events by that time; the resulting probability has no units.
Y follows Gamma(shape 5, scale 2). Which chi-square distribution has the same law?
The waiting time T for the second event in a Poisson process with rate 3 per hour is measured in hours. What is P(T > 1 hour)?