Question
Question: What is the probability density function of a chi-squared distribution?...
What is the probability density function of a chi-squared distribution?
Solution
Let us first understand about the chi-square distribution. The chi-square distribution also called Chi-squared distribution (χ2 -distribution) with n 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 a and b is calculated by the formula,
P(a<x<b) or P(x)=a∫bf(x)dx
The probability density function is non-negative for all x (f(x)⩾0) .
Also, it is noted that −∞∫∞f(x)dx=1.
Formula Used:
The probability density function for chi-square distribution with n degrees of freedom is as follows.
P(x)=Γ(21n)22nx2n−1e2−x for all x∈[0,∞),
Where, Γ(x) is a gamma function .
Complete step-by-step solution:
A chi-square random variable (denoted symbolically χ2n ) with n degrees of freedom is a continuous random variable for all possible values in [0,∞) .
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) is a gamma function,
Where, Γ(x) =0∫∞e−ttx−1dt.
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 .
2). The variance of the distribution is equal to the two times the number of degrees of freedom (i.e.)σ2=2×n .
3). If the degrees of freedom increase, the Chi-square curve approaches a normal distribution.