Summary
Triangular probability density function (PDF).
Unit
Probabilities
Declaration
Function TriangularPDF(x: TSample; a, b, c: TSample): TSample;
Result
the Triangular probability density function for value x using the parameters
a - location,
b - scale,
c - shape,
where a<=x<=b, a<=c<=b.
The triangular probability density function is defined by the following equation:

where a is location, b scale and c shape parameter. The triangular distribution is a simple distribution that has no real source in nature. It is most, if not exclusively, useful for stochastic modeling rather than statistical analysis because of its artificial nature. In stochastic modeling, the triangular distribution is best used to model variables with both upper and lower bounds near the range of interest. The distribution does not need to be, and frequently is not, symmetric.
Categories
Continuous probabilities
Declaration
Procedure TriangularPDF(X: TDenseMtxVec; a, b, c: TSample; Res: TDenseMtxVec);
Description
Calculates the triangular PDF for vector X using the parameters a,b,c. The results are stored in vector Res. The Res Length and Complex properties are adjusted automatically. If vector X is complex, an exception is raised.
| Copyright 2008 Dew Research |
http://www.dewresearch.com