N is the total number of groups that we are considering when calculating inequality. ‹ D-Index formula Calculating number of groups ›