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.
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:
\left.\begin{array}{rl}f(x)&=2x\\[8pt] F(x)&=x2\end{array}\right\}for0\lex\le1
\begin{align} \operatornameE(X)&=
2 | |
3 |
\\[8pt] \operatorname{Var}(X)&=
1 | |
18 |
\end{align}
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.
\begin{align} f(x)&=2-2xfor0\lex<1\\[6pt] F(x)&=2x-x2for0\lex<1\\[6pt] E(X)&=
1 | |
3 |
\\[6pt] \operatorname{Var}(X)&=
1 | |
18 |
\end{align}
The symmetric case arises when c = (a + b) / 2.In this case, an alternate form of the distribution function is:
\begin{align} f(x)&=
(b-c)-|c-x| | |
(b-c)2 |
\\[6pt] \end{align}
This distribution for a = 0, b = 1 and c = 0.5—the mode (i.e., the peak) 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 = (X1 + X2) / 2, where X1, X2 are two independent random variables with standard uniform distribution in [0, 1].[1] It is the case of the Bates distribution for two variables.
f(x)=\begin{cases} 4x&for0\lex<
1 | |
2 |
\\ 4(1-x)&for
1 | |
2 |
\lex\le1 \end{cases}
F(x)=\begin{cases} 2x2&for0\lex<
1 | |
2 |
\\ 2x2-(2x-1)2&for
1 | |
2 |
\lex\le1 \end{cases}
\begin{align} E(X)&=
1 | |
2 |
\\[6pt] \operatorname{Var}(X)&=
1 | |
24 |
\end{align}
Given a random variate U drawn from the uniform distribution in the interval (0, 1), then the variate
X=\begin{cases} a+\sqrt{U(b-a)(c-a)}&for0<U<F(c)\ &\\ b-\sqrt{(1-U)(b-a)(b-c)}&forF(c)\leU<1 \end{cases}
where
F(c)=(c-a)/(b-a)
a,b
c
See also: Three-point estimation. 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 (possibly because of the high cost of collection).It is based on a knowledge of the minimum and maximum and an "inspired guess"[3] as to the modal value. For these reasons, the triangle distribution has been called a "lack of knowledge" distribution.
The triangular distribution is therefore often used in business decision making, particularly in simulations. Generally, when not much is known about the distribution of an outcome (say, only its smallest and largest values), it is possible to use the uniform distribution. But if the most likely outcome is also known, then the outcome can be simulated by a triangular distribution. See for example under corporate finance.
The triangular distribution, along with the PERT distribution, is also widely used in project management (as an input into PERT and hence critical path method (CPM)) to model events which take place within an interval defined by a minimum and maximum value.
The symmetric triangular distribution is commonly used in audio dithering, where it is called TPDF (triangular probability density function).