Syntax
| Parameter | Description |
|---|---|
| x | Parameter of the GAMMALN.PRECISE function. |
Examples
Equivalent to GAMMALN
=GAMMALN.PRECISE(10)
Small positive value
=GAMMALN.PRECISE(0.01)
Large argument
=GAMMALN.PRECISE(200)
Common Errors
x must be positive. Zero and negative values are not in the domain of the gamma function.
Occurs when the argument is non-numeric.
Tips
In practice, GAMMALN and GAMMALN.PRECISE produce the same results. Use whichever is consistent with your spreadsheet's naming conventions.
GAMMALN.PRECISE is primarily useful for building custom distribution functions or computing probabilities that involve the gamma function in their formulas.
For large x, GAMMALN(x) is approximately (x-0.5)*LN(x) - x + 0.5*LN(2*PI()). This can serve as a sanity check for your results.
Try GAMMALN.PRECISE in Viztab
Import your data and use GAMMALN.PRECISE with 370+ other formulas. No signup required.
Open Viztab