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

Online Help

All Products    Maple    MapleSim


Student[Statistics]

  

GammaRandomVariable

  

gamma random variable

 

Calling Sequence

Parameters

Description

Examples

References

Compatibility

Calling Sequence

GammaRandomVariable(b, c)

Parameters

b

-

scale parameter

c

-

shape parameter

Description

• 

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

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

  

subject to the following conditions:

0<b,0<c

• 

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

Examples

> 

with⁡StudentStatistics&colon;

> 

X≔GammaRandomVariable⁡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)
> 

Y≔GammaRandomVariable⁡2&comma;3&colon;

> 

PDF⁡Y&comma;x&comma;output=plot

> 

CDF⁡Y&comma;x

0x≤0−&ExponentialE;−x2⁢x28−&ExponentialE;−x2⁢x2−&ExponentialE;−x2+10<x

(5)
> 

CDF⁡Y&comma;6&comma;output=plot

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.

Compatibility

• 

The Student[Statistics][GammaRandomVariable] command was introduced in Maple 18.

• 

For more information on Maple 18 changes, see Updates in Maple 18.

See Also

Statistics[Distributions][Gamma]

Student

Student[Statistics]

Student[Statistics][RandomVariable]