Cox, N. J. (2024). Stata tip 156: Concentration and diversity measures using egen. The Stata Journal, 24(3), 535-545. https://doi.org/10.1177/1536867x241276115