Solved – Can someone explain the chi squared distribution in layman’s terms

chi-squared-distributionhypothesis testingintuition

I understand that the chi squared distribution is the square of a normal distribution. If X is a normal variable, what are we squaring, the values of X or the corresponding probabilities?

I am unable to see the intuitive explanation as to how by squaring a normal variable, I can use the resultant distribution for hypothesis testing and confidence interval?

Best Answer

Let's say you have random numbers $x_i$. When you estimate the variance of the series, you have to calculate sums like $\sum_i x_i^2$. If your numbers are from normal distribution, then the sum is from $\chi^2$ distribution. If you need to know the confidence intervals of your variance estimate, then you can use $\chi^2$ distribution to get them.

Often your numbers are not from normal distribution. However, due to central limit theorem (CLT) the sums of non-normal random variables are still normal in some cases. So, if you look at the mean of the sample, it's from normal distribution $\bar x=\frac{1}{n}\sum_i x_i$. Hence, if you want to know the variance of the sample mean, you'll get to calculate the sums like $\sum_k \mu_k^2$, where $k$ is a sample. Again, you can use $\chi^2$ to get confidence intervals of the variance of the sample mean.