Function cmb_random_beta

Function Documentation

static inline double cmb_random_beta(const double a, const double b, const double min, const double max)

Shifted and scaled beta distribution on arbitrary interval [min, max] with real-valued shape parameters a and b, where a > 0 and b > 0.

Used to model task completion times within a certain interval, as an alternative to the triangular and PERT distributions.

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