![]() |
| サイトマップ | |
|
ガンマ分布の確率密度関数です。指定した引数値における累積分布関数の傾きの値を返します。
ガンマ関数とベータ関数は、多くのアプリケーションで頻繁にあらわれます。ガンマ密度関数を使って単純なトランスフォームを記述することで、これらの値を計算することができます。
Gamma(x) = 1/(exp(1.0)*gammaden(1,x,1))
Beta(x,y) = Gamma(x)*Gamma(y)/Gamma(x+y)
gammaden
(x, a, b)
引数 x は独立変数で、スカラーもしくは範囲として与えられた数値を指定します。x が範囲の場合は、中括弧 {}
を使用して定義するか、ワークシートの列を指定して定義する必要があります。引数 x は、実数でなくてはいけません。引数 a は正数の形状パラメーターです。引数 b は正数のスケールパラメーターです。
gammaden(2,3,1)
* .1 = .027067
This function is the gamma distribution’s probability density function. It returns the value of the slope of the cumulative distribution function at the specified argument value.
The Gamma and Beta functions occur frequently in many applications. You can compute their values by writing simple transforms expressed in terms of the gamma density function.
Gamma(x) = 1/(exp(1.0)*gammaden(1,x,1))
Beta(x,y) = Gamma(x)*Gamma(y)/Gamma(x+y)
gammaden(x,a,b)
The x argument represents the independent variable and can either be a scalar or a range of numbers. If x is a range, then it must be defined by either using braces { } or by specifying a worksheet column. Any value for x must be real. The a argument is any positive number and is the shape parameter. The b argument is any positive number and is the scale parameter.
The density function can be used to estimate the probability that the values of a gamma distributed random variable G lie in a small interval. If G has shape parameter equal to 3 and scale parameter equal to 1, then to estimate the probability that the values of G lie between 2 and 2.1, multiply the density of G at 2 by the length of the interval .1:
gammaden(2,3,1) * .1 = .027067