Solveeit Logo

Question

Question: What is the probability density function of a chi-squared distribution?...

What is the probability density function of a chi-squared distribution?

Explanation

Solution

Let us first understand about the chi-square distribution. The chi-square distribution also called Chi-squared distribution (χ2{\chi ^2} -distribution) with nn degrees of freedom is the distribution of a sum of the squares of k standard normal variables. It is a special case of the gamma distribution and is used in statistical hypothesis testing.
The probability density function (also called probability function) is defined for continuous random variables lying between a certain range of values. That is, the probability density function for continuous random variables that takes value between certain limits say aa and bb is calculated by the formula,
P(a<x<b)P(a < x < b) or P(x)=abf(x)dxP(x) = \int\limits_a^b {f(x)dx}
The probability density function is non-negative for all xx (f(x)0)(f(x) \geqslant 0) .
Also, it is noted that f(x)dx=1\int\limits_{ - \infty }^\infty {f(x)dx = 1} .
Formula Used:
The probability density function for chi-square distribution with nn degrees of freedom is as follows.
P(x)=xn21ex2Γ(12n)2n2P(x) = \dfrac{{{x^{\dfrac{n}{2} - 1}}{e^{\dfrac{{ - x}}{2}}}}}{{\Gamma (\dfrac{1}{2}n){2^{\dfrac{n}{2}}}}} for all x[0,)x \in [0,\infty ),
Where, Γ(x)\Gamma \left( x \right) is a gamma function .

Complete step-by-step solution:
A chi-square random variable (denoted symbolically χ2n{\chi ^2}_n ) with nn degrees of freedom is a continuous random variable for all possible values in [0,)[0,\infty ) .
The chi-square distribution has the probability density function (PDF) given by
f(x)\left\\{ \begin{gathered} \dfrac{{{x^{\dfrac{n}{2} - 1}}{e^{\dfrac{{ - x}}{2}}}}}{{\Gamma (\dfrac{n}{2}){2^{\dfrac{n}{2}}}}},if(x \geqslant 0) \\\ 0,if(x \leqslant 0) \\\ \end{gathered} \right\\}
Here,Γ(x)\Gamma \left( x \right) is a gamma function,
Where, Γ(x)\Gamma \left( x \right) =0ettx1dt = \int\limits_0^\infty {{e^{ - t}}} {t^{x - 1}}dt.

Note: We shall go through some properties of the chi-square distribution which are as follows:
1). The mean of the distribution and the number of degrees of freedom are equal (i.e.)μ=n\mu = n .
2). The variance of the distribution is equal to the two times the number of degrees of freedom (i.e.)σ2=2×n{\sigma ^2} = 2 \times n .
3). If the degrees of freedom increase, the Chi-square curve approaches a normal distribution.