Triangular distribution
In probability theory and statistics, the triangular distribution is a continuous probability distribution with lower limit a, upper limit b, and mode c, where a < b and a ≤ c ≤ b.
Special cases
Mode at a bound
The distribution simplifies when c = a or c = b. For example, if a = 0, b = 1 and c = 1, then the PDF and CDF become:for.
Distribution of the absolute difference of two standard uniform variables
This distribution for a = 0, b = 1 and c = 0 is the distribution of X = |X1 − X2|, where X1, X2 are two independent random variables with standard uniform distribution.Symmetric triangular distribution
The symmetric case arises when c = / 2.In this case, an alternate form of the distribution function is:
Distribution of the mean of two standard uniform variables
This distribution for a = 0, b = 1 and c = 0.5—the mode is exactly in the middle of the interval—corresponds to the distribution of the mean of two standard uniform variables, that is, the distribution of X = / 2, where X1, X2 are two independent random variables with standard uniform distribution in . It is the case of the Bates distribution for two variables.Generating random variates
Given a random variate U drawn from the uniform distribution in the intervalwhere, has a triangular distribution with parameters and. This can be obtained from the cumulative distribution function.
Use of the distribution
The triangular distribution is typically used as a subjective description of a population for which there is only limited sample data, and especially in cases where the relationship between variables is known but data is scarce.It is based on a knowledge of the minimum and maximum and an "inspired guess" as to the modal value. For these reasons, the triangle distribution has been called a "lack of knowledge" distribution.