Chisq dist
CHISQ.DIST Function¶
The CHISQ.DIST function in Excel calculates the Chi-Square distribution, which is widely used in hypothesis
testing and statistical analysis to compare observed data with expected data under a specific hypothesis. The Chi-Square
distribution is particularly useful for categorical data and in scenarios such as independence testing or
goodness-of-fit.
This function can compute either the probability density function (PDF) or the **cumulative distribution function ** (CDF) for the Chi-Square distribution, based on the value of its arguments.
Key Features of CHISQ.DIST:¶
- Computes probabilities or cumulative probabilities for the Chi-Square distribution.
- Useful in statistical tests, such as the Chi-Square test for independence or goodness of fit.
Syntax:¶
- x: The value at which you want to evaluate the distribution. Must be a non-negative number.
- degrees_freedom: The number of degrees of freedom in the distribution. Must be a positive integer.
- cumulative: A logical value (
TRUEorFALSE) that specifies the form of the distribution:- If
TRUE,CHISQ.DISTreturns the cumulative distribution function (CDF), the probability that the observed value is less than or equal tox. - If
FALSE, it returns the probability density function (PDF).
- If
Examples:¶
-
=CHISQ.DIST(5, 3, TRUE)
Calculates the cumulative probability for a Chi-Square distribution with 3 degrees of freedom atx = 5.
Result:0.91608. -
=CHISQ.DIST(2, 2, FALSE)
Returns the probability density function (PDF) for a Chi-Square distribution with 2 degrees of freedom atx = 2.
Result:0.18394. -
=CHISQ.DIST(10, 4, TRUE)
Computes the cumulative probability for a Chi-Square distribution wheredegrees_freedom = 4andx = 10.
Result:0.98651.
Notes:¶
- The Chi-Square distribution is used to test statistical hypotheses, especially for categorical data with multiple categories.
- If
x < 0or ifdegrees_freedomis not a positive integer, the function returns an error (#NUM!or#VALUE!). - For small degrees of freedom, the Chi-Square distribution is skewed to the left. With larger degrees of freedom, the distribution becomes symmetrical.
Tip: Use the
CHISQ.DISTfunction when testing the relationship between observed and expected data under a theoretical model, such as in contingency tables or for analyzing variances.