CHISQDIST

Syntax

CHISQDIST( <number>, <number>; <boolean>)

Description

Returns a chi square distribution at a given value x for a certain number of degrees of freedom, or returns the chi square density function or the cumulative distribution function for the chi square distribution. This function is frequently used to measure the degree of diversity between two data sets.

The function arguments are:

  • x: The value at which to evaluate the distribution (NUMERIC)
  • df: The number of degrees of freedom (NUMERIC)
  • Cumulative: Constant indicating the form of the function. If true, then the cumulative distribution function is used. If false, then the probability mass function is used (BOOLEAN)
Cumulative/BooleanLogical argument which defines the type of distribution to be calculated
TrueUses the cumulative distribution function
Falseuses the probability density function

Examples

CHISQDIST(#sheet!VALUE; #sheet!DF; cumulative value)
VALUE
DF
Cumulative valueCHISQDIST returns
32false0.1115
32true0.7768


Common Errors


#NUM!-

Occurs if either:

  • The x value is less than zero
  • The numerator or denominator is less than one
#VALUE!-Occurs if the argument type isn't numeric