ebooksgratis.com

See also ebooksgratis.com: no banners, no cookies, totally FREE.

CLASSICISTRANIERI HOME PAGE - YOUTUBE CHANNEL
Privacy Policy Cookie Policy Terms and Conditions
Gamma dağılımı - Vikipedi

Gamma dağılımı

Vikipedi, özgür ansiklopedi

Gamma
Olasılık yoğunluk fonksiyonu
Gamma dağılımları için olasılık yoğunluk fonksiyonlari grafiği
Yığmalı dağılım fonksiyonu
Gamma dağılımları için yığmalı dağılım grafiği
Parametreler k > 0\, şekil (reel)
\theta > 0\, ölçek (reel)
Destek x \  [0; \infty)\!
Olasılık yoğunluk fonksiyonu (OYF) x^{k-1} \frac{\exp{\left(-x/\theta\right)}}{\Gamma(k)\,\theta^k}\,\!
Yığmalı dağılım fonksiyonu (YDF) \frac{\gamma(k, x/\theta)}{\Gamma(k)}\,\!
Ortalama k \theta\,\!
Medyan basit kapalı form yok
Mod (k-1) \theta\text{ for }k \geq 1\,\!
Varyans k \theta^2\,\!
Çarpıklık \frac{2}{\sqrt{k}}\,\!
Fazladan basıklık \frac{6}{k}\,\!
Entropi k + \ln\theta + \ln\Gamma(k) \!
+ (1-k)\psi(k) \!
Moment üreten fonksiyon (mf) (1 - \theta\,t)^{-k}\text{ for }t < 1/\theta\,\!
Karakteristik fonksiyon (1 - \theta\,i\,t)^{-k}\,\!


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 \frac{1}{\theta} 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:

X \sim \Gamma(k, \theta) \,\,\mathrm{ veya }\,\, X \sim \textrm{Gamma}(k, \theta).

[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:

 f(x;k,\theta) = x^{k-1} \frac{e^{-x/\theta}}{\theta^k \, \Gamma(k)} 
 \ \mathrm{ for }\ x > 0\,\, \mathrm{ and }\,\, k, \theta > 0.

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:

 g(x;\alpha,\beta) = x^{\alpha-1}  \frac{\beta^{\alpha} \, e^{-\beta\,x} }{\Gamma(\alpha)}  \ \mathrm{for}\ x > 0 \,\!.
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:

 F(x;k,\theta) = \int_0^x f(u;k,\theta)\,du  
  =\frac{\gamma(k, x/\theta)}{\Gamma(k)} \,\!

[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


\sum_{i=1}^N X_i
\sim
\Gamma  \left( \sum_{i=1}^N \alpha_i, \beta \right) \,\!

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 Γ(ktθ) 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:

\frac{-1}{\theta^k \Gamma(k)} \int_0^{\infty} \frac{x^{k-1}}{e^{x/\theta}} \left[ (k-1)\ln x - x/\theta - k \ln\theta - \ln\Gamma(k) \right] \,dx \!
= -\left[ (k-1) (\ln\theta + \psi(k)) - k - k \ln\theta - \ln\Gamma(k) \right] \!
= k + \ln\theta + \ln\Gamma(k) + (1-k)\psi(k) \!

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:


D_{\mathrm{KL}}(\alpha,\beta || \alpha_0, \beta_0) = \log\left(\frac{\Gamma({\alpha_0})\beta_0^{\alpha_0}}{\Gamma(\alpha)\beta^{\alpha_0}}\right)+(\alpha-{\alpha_0})\psi(\alpha)+\alpha\frac{\beta-\beta_0}{\beta_0}

[değiştir] Laplace dönüşümü

Gamma dağılımının Laplace dönüşümü şudur:


F(s)=\frac{\beta^\alpha}{(s+\beta)^\alpha}.

[değiştir] Parametre tahmini

[değiştir] Maksimum olabilirlilik tahmini

The likelihood function for N iid observations (x_1,\ldots,x_N) is

L(\theta)=\prod_{i=1}^N f(x_i;k,\theta)\,\!

from which we calculate the log-likelihood function

\ell(\theta) = (k-1) \sum_{i=1}^N \ln{(x_i)} - \sum x_i/\theta - Nk\ln{(\theta)} - N\ln{\Gamma(k)}.

Finding the maximum with respect to θ by taking the derivative and setting it equal to zero yields the maximum likelihood estimate of the θ parameter:

\hat{\theta} = \frac{1}{kN}\sum_{i=1}^N x_i. \,\!

Substituting this into the log-likelihood function gives

\ell=(k-1)\sum_{i=1}^N\ln{(x_i)}-Nk-Nk\ln{\left(\frac{\sum x_i}{kN}\right)}-N\ln{(\Gamma(k))}. \,\!

Finding the maximum with respect to k by taking the derivative and setting it equal to zero yields

\ln{(k)}-\psi(k)=\ln{\left(\frac{1}{N}\sum_{i=1}^N x_i\right)}-\frac{1}{N}\sum_{i=1}^N\ln{(x_i)} \,\!

where

\psi(k) = \frac{\Gamma'(k)}{\Gamma(k)} \!

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

\ln(k)-\psi(k) \approx \frac{1}{k}\left(\frac{1}{2} + \frac{1}{12k+2}\right). \,\!

If we let

s = \ln{\left(\frac{1}{N}\sum_{i=1}^N x_i\right)} - \frac{1}{N}\sum_{i=1}^N\ln{(x_i)},\,\!

then k is approximately

k \approx \frac{3-s+\sqrt{(s-3)^2 + 24s}}{12s}

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:

k \leftarrow k - \frac{ \ln k - \psi\left(k\right) - s }{ 1/k - \psi'\left(k\right) }

where \psi'\left(\cdot\right) 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:


\psi\left(k\right) = \begin{cases}
\ln(k) - ( 1 + ( 1 - ( 1/10 - 1 / ( 21 k^2 ) ) / k^2 ) / ( 6 k ) ) / ( 2 k ), \quad k \geq 8 \\
\psi\left( k + 1 \right) - 1/k, \quad k < 8
\end{cases}

and


\psi'\left(k\right) = \begin{cases}
( 1 + ( 1 + ( 1 - ( 1/5 - 1 / ( 7 k^2 ) ) / k^2 ) / ( 3 k ) ) / ( 2 k ) ) / k, \quad k \geq 8, \\
\psi'\left( k + 1 \right) + 1/k^2, \quad k < 8.
\end{cases}

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:


P(\theta | k, x_1, ..., x_N) \propto 1/\theta \prod_{i=1}^N f(x_i;k,\theta).\,\!

Su ifade verilsin

 y \equiv \sum_{i=1}^N x_i , \qquad  P(\theta | k, x_1, \dots , x_N) = C(x_i)  \theta^{-N k-1} e^{-y / \theta}. \!

Bunun θ entegrasyonu degiskenlerin degistirilmesi yontemi kullanilarak mumkun olur. Bunun sonucunda 1/θ ifadesinin

\scriptstyle \alpha = N k,\ \  \beta = y

parametreleri olan bir gamma dagilimi gosterdigi ortaya cikartilir.


\int_0^{\infty} \theta^{-N k-1+m} e^{-y / \theta}\, d\theta = \int_0^{\infty} x^{N k -1 -m} e^{-x y} \, dx = y^{-(N k -m)} \Gamma(N k -m). \!

The moments can be computed by taking the ratio (m by m = 0)


E(x^m) = \frac {\Gamma (N k -m)} {\Gamma(N k)} y^m, \!

which shows that the mean +/- standard deviation estimate of the posterior distribution for theta is

 \frac {y} {N k -1} +/- \frac {y^2} {(N k-1)^2 (N k-2)}.


[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:

\sum_{k=1}^n {-\ln U_k} \sim \Gamma(n, 1),

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:

  1. Let m be 1.
  2. Generate V3m − 2, V3m − 1 and V3m — independent uniformly distributed on (0, 1] variables.
  3. If V_{3m - 2} \le v_0, where v_0 = \frac e {e + \delta}, then go to step 4, else go to step 5.
  4. Let \xi_m = V_{3m - 1}^{1 / \delta}, \ \eta_m = V_{3m} \xi _m^ {\delta - 1}. Go to step 6.
  5. Let \xi_m = 1 - \ln {V_{3m - 1}}, \ \eta_m = V_{3m} e^{-\xi_m}.
  6. If \eta_m > \xi_m^{\delta - 1} e^{-\xi_m}, then increment m and go to step 2.
  7. Assume ξ = ξm to be the realization of Γ(δ,1)

Now, to summarize,

 \theta \left( \xi - \sum _{i=1} ^{[k]} {\ln U_i} \right) \sim \Gamma (k, \theta),

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 X \sim {\Gamma}(k=1, \theta=1/\lambda)\,, then X has an exponential distribution with rate parameter λ.
  • If X \sim {\Gamma}(k=v/2, \theta=2)\,, 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 X^2 \sim {\Gamma}(3/2, 2a^2)\,, then X has a Maxwell-Boltzmann distribution with parameter a.
  • X \sim \mathrm{SkewLogistic}(\theta)\,, then \mathrm{log}(1 + e^{-X}) \sim \Gamma (1,\theta)\,

[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



aa - ab - af - ak - als - am - an - ang - ar - arc - as - ast - av - ay - az - ba - bar - bat_smg - bcl - be - be_x_old - bg - bh - bi - bm - bn - bo - bpy - br - bs - bug - bxr - ca - cbk_zam - cdo - ce - ceb - ch - cho - chr - chy - co - cr - crh - cs - csb - cu - cv - cy - da - de - diq - dsb - dv - dz - ee - el - eml - en - eo - es - et - eu - ext - fa - ff - fi - fiu_vro - fj - fo - fr - frp - fur - fy - ga - gan - gd - gl - glk - gn - got - gu - gv - ha - hak - haw - he - hi - hif - ho - hr - hsb - ht - hu - hy - hz - ia - id - ie - ig - ii - ik - ilo - io - is - it - iu - ja - jbo - jv - ka - kaa - kab - kg - ki - kj - kk - kl - km - kn - ko - kr - ks - ksh - ku - kv - kw - ky - la - lad - lb - lbe - lg - li - lij - lmo - ln - lo - lt - lv - map_bms - mdf - mg - mh - mi - mk - ml - mn - mo - mr - mt - mus - my - myv - mzn - na - nah - nap - nds - nds_nl - ne - new - ng - nl - nn - no - nov - nrm - nv - ny - oc - om - or - os - pa - pag - pam - pap - pdc - pi - pih - pl - pms - ps - pt - qu - quality - rm - rmy - rn - ro - roa_rup - roa_tara - ru - rw - sa - sah - sc - scn - sco - sd - se - sg - sh - si - simple - sk - sl - sm - sn - so - sr - srn - ss - st - stq - su - sv - sw - szl - ta - te - tet - tg - th - ti - tk - tl - tlh - tn - to - tpi - tr - ts - tt - tum - tw - ty - udm - ug - uk - ur - uz - ve - vec - vi - vls - vo - wa - war - wo - wuu - xal - xh - yi - yo - za - zea - zh - zh_classical - zh_min_nan - zh_yue - zu -