The chi-square (χ2) distribution is one of the most important continuous probability distributions with many uses in statistical theory and inference (Lovric 2011).
Let n>0 be a positive integer. For a random variable that has a χ2-distribution with n degrees of freedom (df) the probability density function is
f(x)={0if x≤0x(n/2−1)e−x/22n/2Γ(k2)if x>0
where Γ denotes the Gamma function.
The χ2-distribution (with n degrees of freedom) is equal to the Γ-distribution with the parameters (n/2,2), that is, with a mean and variance of n and 2n, respectively.
Citation
The E-Learning project SOGA-R was developed at the Department of Earth Sciences by Kai Hartmann, Joachim Krois and Annette Rudolph. You can reach us via mail by soga[at]zedat.fu-berlin.de.
Please cite as follow: Hartmann, K., Krois, J., Rudolph, A. (2023): Statistics and Geodata Analysis using R (SOGA-R). Department of Earth Sciences, Freie Universitaet Berlin.