Herfindahl Index

$$ H=\sum_{i=1\ldots N} (S_i)^2 $$ (where $$S_i$$ is share of group $$i$$, and $$N$$ is number of groups)

Ethnolinguistic Fractionalization Index

$$ {ELF}=1-H $$