Inverse Chi Square Distribution

The inverse chi square (χ2) distribution, also known as the inverted chi square distribution, is a continuous probability distribution that models the distribution of the reciprocal (inverse) of a chi square variable. It is commonly used in Bayesian statistics.

Definition

The inverse chi square distribution with ν degrees of freedom models the distribution of the reciprocal of a chi square variable.

The probability density function (PDF) is given by:

f(x)=2ν/2Γ(ν/2)xν/21e1/(2x)

The cumulative distribution function (CDF) can be expressed in terms of the gamma function:

F(x)=1Γ(ν/2,1/(2x))/Γ(ν/2)

The distribution is defined for positive real values (x>0), with the degrees of freedom parameter ν being strictly positive (ν>0).

Applications

  • Bayesian inference serves as a conjugate prior for the variance parameter in normal distributions.

  • Statistical quality control uses this distribution for variance component analysis.

  • Reliability engineering employs the distribution in lifetime modeling.

Properties

Statistical Properties
PropertyValue
Mean1ν2,ν>2
Mode1ν+2
Variance2(ν2)2(ν4),ν>4
Skewness42(ν4)ν6,ν>6
Excess Kurtosis12(5ν22)(ν6)(ν8),ν>8
Entropyν2+ln(2Γ(ν2))(ν2+1)ψ(ν2)

Relationships to Other Distributions

  • If X follows a chi-square distribution with ν degrees of freedom, then 1/X follows an inverse chi-square distribution with ν degrees of freedom.

  • The inverse chi-square distribution is a special case of the inverse gamma distribution, equivalent to an inverse gamma distribution with shape parameter α=ν/2 and scale parameter β=1/2.

  • The scaled inverse chi-square distribution is obtained by scaling the inverse chi-square distribution by a factor.

The InverseChiSquareDistribution class

The inverse chi square distribution is implemented by the InverseChiSquareDistribution class. It has one constructor which takes the degrees of freedom as its only argument. The following constructs an inverse chi square distribution with 10 degrees of freedom:

C#
var invChiSquare = new ChiSquareDistribution(10);

The InverseChiSquareDistribution class has one specific property, DegreesOfFreedom, that returns the degrees of freedom of the distribution.

References

For more information on the inverse chi-squared distribution, refer to the following sources:

  • Johnson, N. L., Kotz, S., & Balakrishnan, N. (1994). "Continuous Univariate Distributions, Volume 1", Chapter 18. Wiley Series in Probability and Statistics.

  • Johnson, N. L., Kotz, S., & Balakrishnan, N. (1994). "Continuous Univariate Distributions, Volume 2", Chapter 29. Wiley Series in Probability and Statistics.

See Also