 Specifically, the Gini coefficient is twice the area between the Lorenz curve and the equidistribution line.The Gini coefficient for the Pareto distribution is then calculated (for formula_105) to be

(see Aaberge 2005).Random samples can be generated using inverse transform sampling.