Chi-Square Calculator
The Chi-Square Calculator makes it easy to find the cumulative probability associated with a specified chi-square statistic. Or you can find the chi-square statistic associated with a specified cumulative probability.
If anything is unclear, read the Frequently-Asked Questions or the Sample Problems. To learn more about the chi-square, read Stat Trek's tutorial on the chi-square distribution.
Frequently-Asked Questions
Instructions: To find the answer to a frequently-asked question, simply click on the question.
What are degrees of freedom?
What is a chi-square critical value?
What is a cumulative probability?
What is a chi-square statistic?
What is a probability?
Sample Problems
-
The Acme Widget Company claims that their widgets last 5 years, with a standard deviation of 1 year. Assume that their claims are true.
If you test a random sample of 9 Acme widgets, what is the probability that the standard deviation in your sample will be less than 0.95 years?
Solution:
We know the following:
- The population standard deviation is equal to 1.
- The sample standard deviation is equal to 0.95.
- The sample size (n) is equal to 9.
- The degrees of freedom (df) is equal to 8, because df = n - 1 = 9 - 1 = 8.
Given these data, we compute the chi-square statistic:
χ2 = [ ( n - 1 ) * s2 ] / σ2
χ2 = [ ( 9 - 1 ) * (0.95)2 ] / (1.0)2 = 7.22where σ is the standard deviation of the population, s is the standard deviation of the sample, and n is the sample size.
Now, using the Chi-Square Distribution Calculator, we can determine the cumulative probability for the chi-square statistic. We enter the degrees of freedom (8) and the chi-square critical value (7.22) into the calculator, and hit the Calculate button.
The calculator reports that the P(χ2 ≤ 7.22) is 0.48691. Therefore, there is about a 49% chance that the sample standard deviation will be no more than 0.95.
-
Find the chi-square critical value, if the P(χ2 ≤ x) is 0.75 and the sample size is 25.
Solution:
We know the following:
- The P(χ2 ≤ x) is 0.75.
- The sample size (n) is 25.
- The degrees of freedom (df) is equal to 24,because df = n - 1 = 25 - 1 = 24.
Given these data, we compute the chi-square critical value, using the Chi-Square Distribution Calculator.
We enter the degrees of freedom (24) and the cumulative probability (0.75) into the calculator, and hit the Calculate button. The calculator reports that the chi-square critical value is 28.24115.
This means that if you select a random sample of 25 observations, there is a 75% chance that the chi-square statistic from that sample will be less than or equal to 28.24115.