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

gammadist

ガンマ分布の累積分布関数です。ガンマ分布に従う確率変数が指定した独立変数の値を下回る確率を返します。

指数分布は、ポアソン過程 (Poisson process) における n 番目の事象が生起するまでの時間の分布です。この過程では一定の平均発生率で、連続的に独立して事象が発生します。

構文

gammadist(x, a, b)

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

  • ガンマ分布に従う確率変数 G の形状パラメーターが 3、スケールパラメーターが 1 であるとします。G の値が 2 を上回る確率を計算するには、以下のようになります:
    P(G > 2) = 1 – P(G < 2) = 1 – gammadist(2,3,1) = .67668

関連情報

gammadist

This function is the cumulative gamma distribution function. It returns the probability that a gamma distributed random variable is less than a specified independent variable value.

A gamma distribution is the distribution of time until the nth occurrence in a Poisson process, in which events occur continuously and independently at a constant average rate.

Syntax

gammadist(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.

Example

Suppose a gamma distributed random variable G has shape parameter equal to 3 and scale parameter equal to 1. To compute the probability that the values of G exceed 2, we calculate:

P(G > 2) = 1 – P(G < 2) = 1 – gammadist(2,3,1) = .67668

関連情報