# NTGAMMADIST

Returns the gamma distribution for the specified parameters.

## Syntax

**NTGAMMADIST**(

*x,**Alpha,**Beta,**Cumulative*

)

#### Parameters

is the value for which you want the distribution ().**x**is a parameter of the distribution .**Alpha**is a parameter of the distribution .**Beta**is a logical value that determines the form of the function. If cumulative is TRUE, NTGAMMADIST returns the cumulative distribution function; if FALSE, it returns the probability density function.**Cumulative**

## 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**.

1 2 3 4 5 6

7

A B Data Description 5 Value for which you want the distribution 4 Value of parameter Alpha 2.3 Value of parameter Beta Formula Description (Result) =NTGAMMADIST(A2,A3,A4,TRUE) Cumulative distribution function for the terms above =NTGAMMADIST(A2,A3,A4,FALSE) Probability density function for the terms above - Download sample excel sheet

## See also

- NTRANDGAMMA
- NTGAMMAKURT
- NTGAMMAMEAN
- NTGAMMAMOM
- NTGAMMAPARAM
- NTGAMMASKEW
- NTGAMMASTDEV
- Beta distribution