ID EN
#Statistical

GAMMALN.PRECISE

Excel Functions 🇮🇩 Bahasa Indonesia

Untuk menghitung logaritma natural dari fungsi gamma.

Syntax

EXCEL
=GAMMALN.PRECISE(x)

Arguments

Parameter Deskripsi
x A positive real number for which you want to calculate the natural logarithm of the gamma function.

Return Value

Angka yang mewakili logaritma natural dari fungsi gamma.

Details

Fungsi GAMMALN.PRECISE mengembalikan logaritma natural dari fungsi gamma, ln(Γ(n)), untuk bilangan tertentu. Hal ini berguna dalam perhitungan statistik, seperti perhitungan yang melibatkan distribusi probabilitas, dimana fungsi gamma muncul pada penyebut dan perhitungan langsung dapat menghasilkan angka yang sangat besar atau sangat kecil. Untuk bilangan bulat positif n, GAMMALN.PRECISE(n) setara dengan LN((n-1)!). Misalnya, rumus berikut menghitung logaritma natural dari nilai gamma untuk 5: Fungsi GAMMALN.PRECISE mengambil satu argumen sebagai masukan seperti ini: Argumen x adalah nilai yang ingin Anda hitung logaritma natural dari fungsi gammanya. Berikut adalah beberapa contoh dasar yang menunjukkan input bilangan bulat dan non-bilangan bulat: Secara umum, fungsi GAMMALN.PRECISE adalah equiv

Contoh

Example 1

For positive integers n, GAMMALN.PRECISE(n) is equivalent to LN((n-1)!). For example, the following formula calculates the natural logarithm of the ga

EXCEL
=GAMMALN.PRECISE(5) // returns 3.17805383
Example #1 - Basic calculations

The GAMMALN.PRECISE function takes a single argument as input like this:

EXCEL
=GAMMALN.PRECISE(x)
Example #1 - Basic calculations

The argument x is the value for which you want to calculate the natural logarithm of the gamma function. Here are some basic examples showing both int

EXCEL
=GAMMALN.PRECISE(0.5) // returns 0.57236494...
=GAMMALN.PRECISE(2.0) // returns 0
=GAMMALN.PRECISE(2.5) // returns 0.28468287...
=GAMMALN.PRECISE(4.0) // returns 1.79175947...
Example #2 - Relationship to gamma and factorials

In general, the GAMMALN.PRECISE function is equivalent to the natural logarithm of the gamma function:

EXCEL
=GAMMALN.PRECISE(x) // returns LN(GAMMA(x))
Example #2 - Relationship to gamma and factorials

This relationship makes the GAMMALN.PRECISE function useful for calculations involving large factorials, as it avoids direct computation of large numb

EXCEL
=GAMMA(172) // returns #NUM! error
Example #3 - Error conditions

The GAMMALN.PRECISE function returns #NUM! for zero and negative numbers, and #VALUE! for non-numeric inputs.

EXCEL
=GAMMALN.PRECISE(0) // returns #NUM! error
=GAMMALN.PRECISE(-1) // returns #NUM! error
=GAMMALN.PRECISE(-2.5) // returns #NUM! error
=GAMMALN.PRECISE("text") // returns #VALUE! error

See Also

GAMMA LN GAMMALN