A Gini index provides a measure of diversity for a particular continuous or catagorical variable. It is usually used to measure concentration of wealth or income. There are some versions that provide an index of diversity, such as concentrations of species. Is there a sample module or macro to do the calculations in Alteryx?