The Excel Chisq.Dist function calculates the Probability Density Function or the Cumulative Distribution Function for the Chi-Square Distribution.
The function is new in Excel 2010 and so is not available in earlier versions of Excel.
The syntax of the Chisq.Dist function is:
where the function arguments are:
x | - | The value at which the chi-square distribution is to be evaluated (must be ≥ 0). | ||||||
degrees_freedom | - |
The number of degrees of freedom (must be an integer between 1 and 1010). (If the supplied value is a decimal, this is truncated to an integer). |
||||||
cumulative | - |
A logical argument that specifies the type of chi-square distribution to be calculated. This can be either:
|
The above chart on the right shows the probability density function for the chi-square distribution with 1, 2 & 3 degrees of freedom.
If you want to calculate the value of any of these functions for a specified value of x, this can be done using the Chisq.Dist function.
For example, the value of the probability density function with 2 degrees of freedom, at x = 3 is calculated by the following function:
This gives the result 0.11156508.
The above chart on the right shows the Chi-Square Cumulative Distribution function with 1, 2, & 3 degrees of freedom.
If you want to calculate the value of any of these functions for a specified value of x, this can be done using the Chisq.Dist function.
For example, the chi-square cumulative distribution with 2 degrees of freedom, at the value x = 3, is calculated by the following:
This gives the result 0.77686984.
For further details and examples of the Excel Chisq.Dist function, see the Microsoft Office website.
If you get an error from the Excel Chisq.Dist function this is likely to be one of the following:
#NUM! | - |
Occurs if either:
|
#VALUE! | - | Occurs if any of the supplied arguments is non-numeric. |