WorksheetFunction.ChiSq_Dist Method (Excel)
Returns the chi-squared distribution.
Version Information
Version Added: Excel 2010
Syntax
expression .ChiSq_Dist(Arg1, Arg2, Arg3)
expression A variable that represents a WorksheetFunction object.
Parameters
Name |
Required/Optional |
Data Type |
Description |
---|---|---|---|
Arg1 |
Required |
Double |
X - The value at which you want to evaluate the distribution. |
Arg2 |
Required |
Double |
Deg_freedom - The number of degrees of freedom. |
Arg3 |
Optional |
Variant |
Cumulative - 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. |
Return Value
Double
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.