Gamma - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.

Online Help

All Products    Maple    MapleSim


Statistics[Distributions]

  

Gamma

  

gamma distribution

 

Calling Sequence

Parameters

Description

Examples

References

Calling Sequence

Gamma(b, c)

GammaDistribution(b, c)

Parameters

b

-

scale parameter

c

-

shape parameter

Description

• 

The gamma distribution is a continuous probability distribution with probability density function given by:

f⁡t=0t<0tbc−1⁢&ExponentialE;−tbb⁢Γ⁡cotherwise

  

for 0<b,0<c where Γ⁡c is the Gamma function.

• 

Some sources use other parametrizations for this distribution; they might describe this distribution as Gamma⁡c&comma;b or Gamma⁡c&comma;1b.

• 

The gamma variate with scale parameter b and shape parameter 1 is equivalent to the Exponential variate with scale parameter b.

• 

The gamma variate with scale parameter 1 and shape parameter c is equivalent to the Erlang variate with shape parameter c.

• 

Note that the Gamma command is inert and should be used in combination with the RandomVariable command.

Examples

> 

with⁡Statistics&colon;

> 

X≔RandomVariable⁡GammaDistribution⁡b&comma;c&colon;

> 

PDF⁡X&comma;u

0u<0ubc−1⁢&ExponentialE;−ubb⁢Γ⁡cotherwise

(1)
> 

PDF⁡X&comma;0.5

0.5bc−1.⁢&ExponentialE;−0.5bb⁢Γ⁡c

(2)
> 

Mean⁡X

b⁢c

(3)
> 

Variance⁡X

b2⁢c

(4)

References

  

Evans, Merran; Hastings, Nicholas; and Peacock, Brian. Statistical Distributions. 3rd ed. Hoboken: Wiley, 2000.

  

Johnson, Norman L.; Kotz, Samuel; and Balakrishnan, N. Continuous Univariate Distributions. 2nd ed. 2 vols. Hoboken: Wiley, 1995.

  

Stuart, Alan, and Ord, Keith. Kendall's Advanced Theory of Statistics. 6th ed. London: Edward Arnold, 1998. Vol. 1: Distribution Theory.

See Also

Statistics

Statistics[Distributions]

Statistics[RandomVariable]