Processing math: 100%

Triangular Distribution

One shape parameter c[0,1] giving the distance to the peak as a percentage of the total extent of the non-zero portion. The location parameter is the start of the non- zero portion, and the scale-parameter is the width of the non-zero portion. In standard form we have x[0,1].

f(x;c)={2xcx<c21x1cxcF(x;c)={x2cx<cx22x+cc1xcG(q;c)={cqq<c1(1c)(1q)qc
μ=c3+13μ2=1c+c218γ1=2(2c1)(c+1)(c2)5(1c+c2)3/2γ2=35
h(X)=log(12e)0.19314718055994530942.

Implementation: scipy.stats.triang