![]() |
| サイトマップ | |
|
ガンマ分布の逆累積分布関数です。ガンマ分布に従う確率変数が戻り値を下回る確率は、指定した引数と等しくなります。
gammainv
(x, a, b)
引数 x は独立変数で、スカラーもしくは範囲として与えられた数値を指定します。x が範囲の場合は、中括弧 {}
を使用して定義するか、ワークシートの列を指定して定義する必要があります。引数 x は、実数でなくてはいけません。引数 a は正数の形状パラメーターです。引数 b は正数のスケールパラメーターです。
gammainv(.95, 3, 1)
= 6.29579
This function is the inverse cumulative gamma distribution function. The probability that a gamma distributed random variable is less than the return value is equal to the argument you specify.
gammainv(x,a,b)
The x argument 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 scalar value for x represents a probability and so must be between 0 and 1. The a argument is any positive number and is the shape parameter. The b argument is any positive number and is the scale parameter.
Suppose a gamma distributed random variable G has shape parameter equal to 3 and scale parameter equal to 1. To calculate the tail of this distribution whose probability is .05, we need to find a number g such that P(G > g) = .05. This is the same as finding g such that P(G < g) = .95. Therefore, we calculate:
gammainv(.95, 3, 1) = 6.29579