Fast algorithm for calculation of Gini coefficient and it's jackknife standard errors Use fastgini With STATA 18 https://www.youtube.com/watch?v=T0I7beE2OUY