NTCHISQDIST
Returns the chi square distribution for the specified parameters.
Syntax
NTCHISQDIST(
x,
N,
Cumulative
)
Parameters
- x is the value for which you want the distribution ().
- N is a parameter of the distribution (Positive integer).
- Cumulative is a logical value that determines the form of the function. If cumulative is TRUE, NTCHISQDIST returns the cumulative distribution function; if FALSE, it returns the probability density function.
Remarks
- Probability density function is given as:
, where is gamma function.
- Cumulative distribution function is given as:
, where is incomplete gamma function.
Example
- The example may be easier to understand if you copy it to a blank worksheet\
How to copy an example
-
Create a blank workbook or worksheet.
-
Select the example in the Help topic.
Note Do not select the row or column headers.
Selecting an example from Help
-
Press CTRL+C.
-
In the worksheet, select cell A1, and press CTRL+V.
-
To switch between viewing the results and viewing the formulas that return the results, press CTRL+` (grave accent), or on the Tools menu, point to Formula Auditing, and then click Formula Auditing Mode.
A | B | |
---|---|---|
1 | Data | Description |
2 | 2 | Value for which you want the distribution |
3 | 9 | Value of parameter N |
4 | Formula | Description (Result) |
5 | =NTCHISQDIST(A2,A3,TRUE) | Cumulative distribution function for the terms above |
6 | =NTCHISQDIST(A2,A3,FALSE) | Probability density function for the terms above |