ShannonBeta function

Shannon beta entropy of a community