There are two methods for calculating Gini- 1) Direct Method= if I want to calculate the education Gini based on years of educational attainment variable then The direct method states that the education Gini is defined as “the ratio to the mean (average years of schooling) of half of the average overall pairs of the absolute deviations between all possible pairs of people. while the indirect method indicates the Lorenz curve which is able to calculate. How can i calculate the direct method of Gini, which command should i use???