This function calculates heterogeneity from a population vector.
This function implements Fearon's (2003) measure of heterogeneity. Specify a frequency vector.
Level of heterogeneity
Fearon, J. (2003) Ethnic and cultural diversity by country. Journal of Economic Growth 8:195-222.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.