Generating Triangular-distributed Random Variates
Given a random variate U drawn from the uniform distribution in the interval (0, 1), then the variate
Where F(c) = (c-a)/(b-a)
has a Triangular distribution with parameters a, b and c. This can be obtained from the cumulative distribution function.
Read more about this topic: Triangular Distribution
Famous quotes containing the word random:
“poor Felix Randal;
How far from then forethought of, all thy more boisterous years,
When thou at the random grim forge, powerful amidst peers,
Didst fettle for the great gray drayhorse his bright and battering
sandal!”
—Gerard Manley Hopkins (18441889)
