Syntax
=GAMMA(number)Arguments
| Argument | Required | Description |
|---|---|---|
number | Required | The value (not 0 or a negative whole number) |
How to use GAMMA
GAMMA takes 1 required argument. Type =GAMMA( in a cell and SheetsBat shows the arguments as you go. Optional arguments are shown in square brackets; leave them out to use their default.
Examples
Each result below was calculated by the SheetsBat formula engine.
=GAMMA(2.5)Result =GAMMA(-3.75)Result =GAMMA(0)Result Related statistical functions
- FORECAST.ETS.SEASONALITYReturns the length of the repeating pattern detected in a time series (1 when there is none).
- FORECAST.ETS.STATReturns a statistic of the exponential smoothing model: 1 alpha, 2 beta, 3 gamma, 4 MASE, 5 SMAPE, 6 MAE, 7 RMSE, 8 step size.
- FORECAST.LINEARPredicts a value for x from the straight line that best fits known x and y values.
- FREQUENCYCounts how many values fall into each bin and returns a vertical list with one more entry than there are bins.
- GAMMA.DISTReturns the gamma distribution.
- GAMMA.INVReturns the inverse of the cumulative gamma distribution.
- GAMMALNReturns the natural logarithm of the gamma function.
- GAMMALN.PRECISEReturns the natural logarithm of the gamma function.
- GAUSSReturns the probability that a standard normal value lies between the mean and z standard deviations from it.