Gamma dağılımı
Vikipedi, özgür ansiklopedi
Olasılık yoğunluk fonksiyonu |
|
Yığmalı dağılım fonksiyonu |
|
Parametreler | şekil (reel) ölçek (reel) |
---|---|
Destek | |
Olasılık yoğunluk fonksiyonu (OYF) | |
Yığmalı dağılım fonksiyonu (YDF) | |
Ortalama | |
Medyan | basit kapalı form yok |
Mod | |
Varyans | |
Çarpıklık | |
Fazladan basıklık | |
Entropi | |
Moment üreten fonksiyon (mf) | |
Karakteristik fonksiyon |
Olasılık kuramı ve istatistik bilim dallarında gamma dağılımı iki parametreli bir sürekli olasılık dağılımıdir. Bu parametrelerden biri ölçek parametresi θ; diğeri ise şekil parametresi k olarak anılır. Eğer k tamsayı ise, gamma dağılımı k tane üstel dağılım gösteren rassal değişkenlerin toplamını temsil eder; rassal değişkenlerin her biri nin üstel dağılımı için parametre olur.
Konu başlıkları |
[değiştir] Karekteristikler
Bir rassal değişken olan Xin θ ölçek parametresi ve k şekil parametresi ile tanımlanmış bir gamma dağılımı ile ifade edilmesi için şu notasyon kullanılır:
[değiştir] Olasılık yoğunluk fonksiyonu
Gamma dağılımının olasılık yoğunluk fonksiyonu şu şekilde bir gamma fonksiyonu ile ifade edilebilir:
Bu çesit parametrelerle ifade edilme yukarıda verilen bilgi kutusunda ve grafiklerde kullanılmıştır.
Alternatif bir şekilde, gamma dağılımının olasılık yoğunluk fonksiyonu bir şekil parametresi α = k ile ölcek parametresinin tersi olan oran parametresi β = 1 / θ kullanılarak şöyle elde edilir:
- Eger α bir pozitif tamsayı ise, o halde
- Γ(α) = (α − 1)!
Olasılık yoğunluk fonksiyonu her iki şekli de istatistikçiler tarafından yaygın olarak kullanılmaktadır.
[değiştir] Yığmalı dağılım fonksiyonu
Yığmalı dağılım fonksiyonu bir tanzim edilmiş gamma fonksiyonudur ve bir tamamlanmamış gamma fonksiyonu şeklinde şöyle ifade edilir:
[değiştir] Özellikler
[değiştir] Toplama
Eğer i = 1, 2, ..., N için rassal değişken Xiin dağılımı bir Γ(αi, β) olursa; o halde
Ancak bütün Γ(αi, β) istatistiksel bağımsız olması gerekir.
Gamma dağılımı sonsuz bölünebilirlik özelliği gösterir.
[değiştir] Ölçekleme
Herhangi bir t icçin tX bir Γ(k, tθ) dağılımı goösterir; bu ifade θnın bir ölçek parametresi olduğunu gösterir.
[değiştir] Üstel ailesi
Gamma dağılımı iki-parametreli üstel ailesinin bir üyesidir ve doğal parametreler değerleri k − 1 ve − 1 / θ; ve doğal istatistikleri X ve ln(X) olur.
[değiştir] Enformasyon entropisi
Enformasyon entropisi şöyle verilir:
burada ψ(k) bir digamma fonksiyonu olur.
[değiştir] Kullback–Leibler ayrılımı
'Gerçek' dağılım olan Γ(α0, β0) ile yaklaşık fonksiyon olan Γ(α, β) arasındaki yönlendirilmiş Kullback-Leibler ayrılması şu fonksiyonla verilir:
[değiştir] Laplace dönüşümü
Gamma dağılımının Laplace dönüşümü şudur:
[değiştir] Parametre tahmini
[değiştir] Maksimum olabilirlilik tahmini
The likelihood function for N iid observations is
from which we calculate the log-likelihood function
Finding the maximum with respect to θ by taking the derivative and setting it equal to zero yields the maximum likelihood estimate of the θ parameter:
Substituting this into the log-likelihood function gives
Finding the maximum with respect to k by taking the derivative and setting it equal to zero yields
where
is the digamma function.
There is no closed-form solution for k. The function is numerically very well behaved, so if a numerical solution is desired, it can be found using, for example, Newton's method. An initial value of k can be found either using the method of moments, or using the approximation
If we let
then k is approximately
which is within 1.5% of the correct value.[kaynak belirtilmeli] An explicit form for the Newton-Raphson update of this initial guess is given by Choi and Wette (1969) as the following expression:
where denotes the trigamma function (the derivative of the digamma function).
The digamma and trigamma functions can be difficult to calculate with high precision. However, approximations known to be good to several significant figures can be computed using the following approximation formulae:
and
For details, see Choi and Wette (1969).
[değiştir] Bayes tipi minimum ortalama-kareli hata
Bilinen degerde k ve bilinmeyen degerde 'θ, icin theta icin sonrasal olasilik yogunluk fonksiyonu (θ icin standard olcek-degeistilmez oncel kullanarak) su elde edilir:
Su ifade verilsin
Bunun θ entegrasyonu degiskenlerin degistirilmesi yontemi kullanilarak mumkun olur. Bunun sonucunda 1/θ ifadesinin
parametreleri olan bir gamma dagilimi gosterdigi ortaya cikartilir.
The moments can be computed by taking the ratio (m by m = 0)
which shows that the mean +/- standard deviation estimate of the posterior distribution for theta is
- +/-
[değiştir] Gamma dagilim gosteren rassal degisken uretimi
Given the scaling property above, it is enough to generate gamma variables with β = 1 as we can later convert to any value of β with simple division.
Using the fact that a Γ(1, 1) distribution is the same as an Exp(1) distribution, and noting the method of generating exponential variables, we conclude that if U is uniformly distributed on (0, 1], then −ln(U) is distributed Γ(1, 1). Now, using the "α-addition" property of gamma distribution, we expand this result:
where Uk are all uniformly distributed on (0, 1] and independent.
All that is left now is to generate a variable distributed as Γ(δ, 1) for 0 < δ < 1 and apply the "α-addition" property once more. This is the most difficult part.
We provide an algorithm without proof. It is an instance of the acceptance-rejection method:
- Let m be 1.
- Generate V3m − 2, V3m − 1 and V3m — independent uniformly distributed on (0, 1] variables.
- If , where , then go to step 4, else go to step 5.
- Let . Go to step 6.
- Let .
- If , then increment m and go to step 2.
- Assume ξ = ξm to be the realization of Γ(δ,1)
Now, to summarize,
where [k] is the integral part of k, and ξ has been generated using the algorithm above with δ = {k} (the fractional part of k), Uk and Vl are distributed as explained above and are all independent.
The GNU Scientific Library has robust routines for sampling many distributions including the Gamma distribution.
[değiştir] İlişkili dağılımlar
[değiştir] Specializations
- If , then X has an exponential distribution with rate parameter λ.
- If , then X is identical to χ2(ν), the chi-square distribution with ν degrees of freedom.
- If k is an integer, the gamma distribution is an Erlang distribution and is the probability distribution of the waiting time until the k-th "arrival" in a one-dimensional Poisson process with intensity 1/θ.
- If , then X has a Maxwell-Boltzmann distribution with parameter a.
- , then
[değiştir] Diğerleri
- Eger X bir Γ(k, θ) dagilimi gosterirse 1/X k ve θ-1
parametreleri olan bir ters-gamma dagilimi gosterir.
- If X and Y are independently distributed Γ(α, θ) and Γ(β, θ) respectively, then X / (X + Y) has a beta distribution with parameters α and β.
- If Xi are independently distributed Γ(αi,θ) respectively, then the vector (X1 / S, ..., Xn / S), where S = X1 + ... + Xn, follows a Dirichlet distribution with parameters α1, ..., αn.
[değiştir] Referanslar
- R. V. Hogg and A. T. Craig. Introduction to Mathematical Statistics, 4th edition. New York: Macmillan, 1978. (Bak Section 3.3.)
- Şablon:MathWorld
- S. C. Choi and R. Wette. (1969) Maximum Likelihood Estimation of the Parameters of the Gamma Distribution and Their Bias, Technometrics, 11(4) 683-69
[değiştir] İçsel kaynaklar
[değiştir] Kaynak
Tek değişirli | Çok değişirli | |
---|---|---|
Aralıklı: | Benford ·
Bernoulli · Binom · Boltzmann · Kategorik · Bileşik Poisson · Aralıklı faz tipi · Bozulmuş Gauss-Kuzmin · Geometrik · Hipergeometrik · Logaritmalı · Negatif binom · Parabolik fraktal · Poisson · Rademacher · Skellam · Aralıklı tekdüze · Yule-Simon · Zeta · Zipf · Zipf-Mandelbrot |
Ewens ·
Multinom · Çok değişirli Polya |
Sürekli: | Beta ·
Beta prime · Caucy · Ki-kare · Dirac delta fonksiyonu · Cox tipi · Erlang · Üstel · Üstel güç · F · Fermi-Dirac · Fisher'in z · Fisher-Tippett · Gamma · Genelleştirilmiş uçsal değer · Genelleştirilmiş hiperbolik · Genelleştirilmiş ters Gauss-tipi · Yarı-logistik · Hotelling'in T-kare · Hiperbolik sekant · Hiper-üstel · Hipo-üstel · Ters ki-kare · Ölçeklenmiş ters ki-kare · Ters Gauss-tipi · Ters gamma · Ölçeklenmiş ters gamma · Kumaraswami · Landau · Laplace · Lévy · Lévy çarpık alfa-durağan · logistik · Log-normal · Maxwell-Boltzmann · Maxwell hızı · Nakagami · Normal (Gauss tipi) · Normal-gamma · Normal ters Gauss-tipi · Pareto · Pearson · Faz-tipi · Kutupsal · Yükseltilmiş kosinus · Rayleigh · Relativistik Breit-Wigner · Rice · Rosin–Rammler · Kaydırılmış Gompertz · Student'in t · sürekli tekdüze Üçgensel · Kesilmiş normal · Tweedie · 1.tip Gumbel · 2.tip Gumbel · Varyans-Gamma · Voigt · Von Mises · Weibull · Wigner yarımdaire · Wilks'in lambda |
Dirichlet ·
Genelleştirilmiş Dirichlet · Ters-Wishart · Kent · Matris normal · Çokdeğişirli normal · Çokdeğişirli Student · Von Mises-Fisher · Wigner benzeri · Wishart |
Çeşitli: |
Çiftmodlu · Kantor · Koşullu · Denge · Üstel ailesi · Sonsuz bölünebilirlilik (olasılık) · Konum-ölçeği ailesi · Marjinal · Maksimum entropi · Sonrasal · Öncel · Olasılık-benzeri · Örneklem · Singüler · Tekmodlu |