Function cmb_random_PERT_mod

Function Documentation

double cmb_random_PERT_mod(double min, double mode, double max, double lambda)

Modified PERT distribution, a scaled and shifted beta distribution. The mean is (min + lambda * mode + max) / (lambda + 2).

Can be used as a heuristically determined distribution where the parameters are “at least min”, “most likely around mode”, and “not more than max”.

The additional parameter lambda determines the peakiness around mode, with lambda = 4.0 default in the standard PERT distribution cmb_random_PERT().

See also https://en.wikipedia.org/wiki/PERT_distribution