GAMMADIST

GAMMADIST(x, alpha, beta, cumulative)

Returns the probability distribution function OR the cumulative probability function for a gamma distribution.

xThe number from the distribution.
alphaThe first parameter to the distribution.
betaThe second parameter to the distribution.
cumulativeA logical value indicating the type of function to use:
False (or 0) = [[probability distribution function]] (equal to)
True (<> 0) = [[cumulative probability function]] (equal to or less than)

REMARKS
* This function is only available for backwards compatibility and should not be used.
* GAMMA.DIST was added in Excel 2010 to replace this function.
* The gamma distribution is a [[continuous distribution]]
* If "x" < 0, then #NUM! is returned.
* If "x" is not numeric, then #VALUE! is returned.
* If "alpha" = 0, then #NUM! is returned.
* If "alpha" is not numeric, then #VALUE! is returned.
* If "beta" = 1, then the standard gamma distribution is used.
* If "beta" = 0, then #NUM! is returned.
* If "beta" is not numeric, then #VALUE! is returned.
* The "cumulative" argument is not optional.
* If "cumulative" = False, then the height of the curve at "x" is returned.
* If "cumulative" = True, then the area under the curve to the left of "x" is returned.
* This function is also known as the Erlang distribution, when "alpha" is a positive integer.
* You can use the GAMMA.INV function to
* You can use the GAMMA function to
* You can use the BETA.INV function to
* For the Microsoft documentation refer to support.microsoft.com

 A
1=GAMMADIST(10, 9, 2, FALSE) = 0.033
2=GAMMADIST(10, 9, 2, TRUE) = 0.068
3=GAMMADIST(10, 10, 5, TRUE) = 0
4=GAMMADIST(7, 5, 1, TRUE) = 1
5=GAMMADIST(GAMMAINV(0.5, 4, 2), 4, 2, TRUE) = 1
6=GAMMADIST(10, 9, 0, TRUE) = #NUM!
7=GAMMADIST(10, -2, 2, TRUE) = #NUM!
8=GAMMADIST(-1, 9, 2, TRUE) = #NUM!
9=GAMMADIST(-1, "some text", 2, TRUE) = #VALUE!
10=GAMMADIST(-1, 9, 2, "some text") = #VALUE!


© 2024 Better Solutions Limited. All Rights Reserved. © 2024 Better Solutions Limited Top