日本語 English
株式会社ヒューリンクス
TEL:03-5642-8384
営業時間:9:00-17:30

gammainv

ガンマ分布の逆累積分布関数です。ガンマ分布に従う確率変数が戻り値を下回る確率は、指定した引数と等しくなります。

構文

gammainv(x, a, b)

引数 x は独立変数で、スカラーもしくは範囲として与えられた数値を指定します。x が範囲の場合は、中括弧 {} を使用して定義するか、ワークシートの列を指定して定義する必要があります。引数 x は、実数でなくてはいけません。引数 a は正数の形状パラメーターです。引数 b は正数のスケールパラメーターです。

  • ガンマ分布に従う確率変数 G の形状パラメーターが 3、スケールパラメーターが 1 であるとします。確率は 0.05 の分布の裾を計算するためには、P(G > g) = .05 である g の数を求める必要があります。これは、P(G < g) = .95 でも同様に求められるので、以下のようになります:
    gammainv(.95, 3, 1) = 6.29579

関連情報

gammainv

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.

Syntax

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.

Example

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

関連情報