2.1.1.15. Gamma law
The Gamma distribution is a two-parameter family of continuous probability distributions. It depends on a shape parameter \(\alpha\) and a scale parameter \(\beta\). The function is usually defined for \(x\) greater than 0, but the distribution can be shifted thanks to the third parameter called location (\(\xi\)) which should be positive. This parametrisation is more common in Bayesian statistics, where the gamma distribution is used as a conjugate prior distribution for various types of laws:
The mean value of the Gamma law can then be computed as \(\mu = \alpha\beta + \xi\) while its variance can be written as \(\sigma^2=\alpha\beta^2 \).
Figure 2.16 shows the PDF, CDF and inverse CDF generated for different sets of parameters.
Figure 2.16 Example of PDF, CDF and inverse CDF for Gamma distributions.