Function cmb_random_pareto

Function Documentation

static inline double cmb_random_pareto(const double shape, const double mode)

Pareto distribution (power law) on [mode, oo) with parameters shape > 0 and mode > 0.

Used to model e.g., the size of human settlements (hamlets to cities), size of (extreme) weather events, human income and wealth, etc. Setting shape = log4(5) = ln(5)/ln(4) = 1.16 gives the 80:20 rule. Higher values of the shape parameter give steeper distributions.

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