ID EN
#Statistical

GAMMA.DIST

Excel Functions 🇮🇩 Bahasa Indonesia

Dapatkan PDF atau CDF dari distribusi gamma

Syntax

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

Arguments

Parameter Deskripsi
x The value at which to evaluate the distribution.
alpha The shape parameter of the distribution.
beta The scale parameter of the distribution.
cumulative A logical value that determines the form of the function. If TRUE, returns the cumulative distribution function; if FALSE, returns the probability density function.

Return Value

Kepadatan probabilitas atau nilai probabilitas kumulatif

Details

Fungsi GAMMA.DIST menghitung nilai distribusi gamma, yang merupakan distribusi probabilitas kontinu yang biasa digunakan dalam analisis statistik. Distribusi gamma sangat berguna untuk memodelkan variabel kontinu positif dan dapat diterapkan dalam analisis keandalan, teori antrian, dan meteorologi. Misalkan Anda bekerja di sebuah warung di pasar petani. Pelanggan muncul satu per satu, secara acak, namun data historis memberi tahu Anda bahwa mereka tiba rata-rata 10 per jam. Berapa lama Anda akan menunggu hingga pelanggan ke-20 muncul? Skenario ini adalah contoh yang baik dalam menggunakan distribusi gamma, karena skenario ini memodelkan waktu hingga peristiwa ke-k terjadi dalam proses Poisson (pendatangan acak pada laju rata-rata konstan). Untuk menyiapkan masalah sebagai distribusi gamma: Untuk menghitung ch

Contoh

Example #1 - Farmers market stall customers

To calculate the chance of waiting ≤ x hours for the 20th customer, we calculate the probability like this:

EXCEL
=GAMMA.DIST(x, 20, 0.1, TRUE)
Example #1 - Farmers market stall customers

To calculate the chance of waiting > x hours for the 20th customer:

EXCEL
=1-GAMMA.DIST(x, 20, 0.1, TRUE)
Example #1 - Farmers market stall customers

For example, to find the probability that the 20th customer arrives in 2 hours or less, use:

EXCEL
=GAMMA.DIST(2, 20, 0.1, TRUE) // 53% chance of waiting ≤ 2 hours
Example #3 - Basic probability density calculations

In this example, we'll calculate the PDF for a gamma distribution with a shape (alpha) of 3 and a scale (beta) of 0.2. The formula is:

EXCEL
=GAMMA.DIST(x, 3, 0.2, FALSE)
Example #3 - Basic probability density calculations

The peak of the distribution (the mode) can be found with (alpha - 1) * beta, which is (3 - 1) * 0.2 = 0.4. We can calculate the PDF at this peak, and

EXCEL
=GAMMA.DIST(0.4, 3, 0.2, FALSE) // returns 1.353, the peak likelihood
=GAMMA.DIST(0.2, 3, 0.2, FALSE) // returns 0.981
=GAMMA.DIST(0.8, 3, 0.2, FALSE) // returns 0.903
Example #4 - Cumulative distribution calculations

Setting the cumulative argument to TRUE returns the cumulative distribution function (CDF), which gives the probability of a random variable being les

EXCEL
=GAMMA.DIST(0.7, 3, 0.2, TRUE) // returns 0.679

See Also

GAMMA.INV GAMMALN GAMMA EXPON.DIST