calculate distribution of shannon diversity indices

take median value to use for modeling