Skip to main content

Excel GAMMA.DIST Function

The GAMMA.DIST function returns the gamma distribution. The function is frequently used to provide probabilities for values that may have a skewed distribution, such as queuing analysis.

The GAMMA.DIST function was introduced in Excel 2010. So, it is not available in earlier versions of Excel. For users of earlier Excel versions, please use the GAMMADIST function.

gamma.dist function 1


Syntax

=GAMMA.DIST(x, alpha, beta, cumulative)


Arguments

  • x (required): The value at which you want to calculate the distribution. Note: x must be greater than or equal to 0.
  • alpha (required): A parameter of the distribution. Note: alpha must be positive.
  • beta (required): A parameter of the distribution. If beta = 1, then the standard gamma distribution is calculated. Note: beta must be positive.
  • cumulative (required): A logical argument that specifies the type of gamma distribution to be calculated:
    • TRUE: Calculate the cumulative distribution function;
    • FALSE: Calculate the probability density function.

Return Value

The GAMMA.DIST function returns a numeric value.


Function Notes

  • GAMMA.DIST returns the #NUM! error if any of the below conditions is met:
    • x < 0;
    • alpha ≤ 0;
    • beta ≤ 0.
  • GAMMA.DIST returns the #VALUE! error if:
    • x, alpha, or beta is not a numeric value;
    • cumulative is not recognized as a logical value.

Example

To calculate both the cumulative distribution function and the probability density function for given x, alpha and beta values, you should set the cumulative argument as TRUE and FALSE respectively. Please copy or enter the formulas below in the result cells and then press Enter to get the results.

=GAMMA.DIST(B6,B9,B12,TRUE)

=GAMMA.DIST(B6,B9,B12,FALSE)

gamma function 2

Also, you can type the actual x, alpha and beta values in the formulas as shown below.

=GAMMA.DIST(4,2,1.5,TRUE)

=GAMMA.DIST(4,2,1.5,FALSE)


GAMMA.DIST Vs. GAMMA.INV

The Excel GAMMA.INV function is the inverse of the GAMMA.DIST function (when used to calculate the cumulative distribution function, i.e., the cumulative argument is set to TURE). For a supplied value for x, GAMMA.DIST(x, alpha, beta, TRUE) returns the value of probability such that x = GAMMA.INV(probability, alpha, beta).


Related functions

Excel GAMMA Function

The GAMMA function returns the value of the gamma function for a specified number.

Excel GAMMA.INV Function

The GAMMA.DIST.INV function returns the inverse of the gamma cumulative distribution. The function is frequently used to provide probabilities for values that may have a skewed distribution, such as queuing analysis.


The Best Office Productivity Tools


Office Tab - Enable Tabbed Reading and Editing in Microsoft Office (include Excel)

  • One second to switch between dozens of open documents!
  • Reduce hundreds of mouse clicks for you every day, say goodbye to mouse hand.
  • Increases your productivity by 50% when viewing and editing multiple documents.
  • Brings Efficient Tabs to Office (include Excel), Just Like Chrome, Edge and Firefox.
Comments (0)
No ratings yet. Be the first to rate!
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations