Compute the normalized Gini heterogeneity index for a given discrete probability distribution.
Number of categories
Vector of the probability distribution or relative frequencies
1 2 3
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.