This article describes the formula syntax and usage of the CHISQ.DIST function in Microsoft Excel.
Description
Returns the chi-squared distribution.
The chi-squared distribution is commonly used to study variation in the percentage of something across samples, such as the fraction of the day people spend watching television.
Syntax
CHISQ.DIST(x,deg_freedom,cumulative)
The CHISQ.DIST function syntax has the following arguments:
-
X Required. The value at which you want to evaluate the distribution.
-
Deg_freedom Required. The number of degrees of freedom.
-
Cumulative Required. A logical value that determines the form of the function. If cumulative is TRUE, CHISQ.DIST returns the cumulative distribution function; if FALSE, it returns the probability density function.
Remarks
-
If any argument is nonnumeric, CHISQ.DIST returns the #VALUE! error value.
-
If x is negative, CHISQ.DIST returns the #NUM! error value.
-
If deg_freedom is not an integer, it is truncated.
-
If deg_freedom < 1 or deg_freedom > 10^10, CHISQ.DIST returns the #NUM! error value.
Example
Copy the example data in the following table, and paste it in cell A1 of a new Excel worksheet. For formulas to show results, select them, press F2, and then press Enter. If you need to, you can adjust the column widths to see all the data.
Formula |
Description |
Result |
=CHISQ.DIST(0.5,1,TRUE) |
The chi-squared distribution for 0.5, returned as the cumulative distribution function, using 1 degree of freedom. |
0.52049988 |
=CHISQ.DIST(2,3,FALSE) |
The chi-squared distribution for 2, returned as the probability density function, using 3 degrees of freedom. |
0.20755375 |