Triangular - 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]

  

Triangular

  

triangular distribution

 

Calling Sequence

Parameters

Description

Examples

References

Calling Sequence

Triangular(a, b, c)

TriangularDistribution(a, b, c)

Parameters

a

-

lower bound

b

-

upper bound

c

-

distribution mode

Description

• 

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

f⁡t=0t<a2⁢t−ab−a⁢c−at≤c2⁢b−tb−a⁢−c+bt≤b0otherwise

  

subject to the following conditions:

a≤c,c≤b,a<b

• 

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

Examples

> 

with⁡Statistics&colon;

> 

X≔RandomVariable⁡Triangular⁡a&comma;b&comma;c&colon;

> 

PDF⁡X&comma;u

0u<a2⁢u−ab−a⁢c−au≤c2⁢b−ub−a⁢−c+bu≤b0otherwise

(1)
> 

PDF⁡X&comma;0.5

0.0.5<a2.⁢0.5−1.⁢ab−1.⁢a⁢c−1.⁢a0.5≤c2.⁢b−0.5b−1.⁢a⁢b−1.⁢c0.5≤b0.otherwise

(2)
> 

Mean⁡X

a3+b3+c3

(3)
> 

Variance⁡X

118⁢a2+118⁢b2+118⁢c2−118⁢a⁢b−118⁢a⁢c−118⁢b⁢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]