Modeling Lorenz curves and Gini index