# ChiDensity Script and chart function

`ChiDensity()` returns the one-tailed probability of the chi^2^ distribution. The chi^2^ density function is associated with a chi^2^ test.

Syntax:

ChiDensity(value, degrees\_freedom)

Return data type: number

Arguments

| Argument | Description |
| --- | --- |
| `value` | The value at which<br>you want to evaluate the distribution. The value<br>must not be negative. |
| `degrees_freedom` | A positive integer stating the number of numerator degrees of freedom. |