When measuring human diversity, a diversity index exemplifies the likelihood that two randomly selected residents have different ethnicities. If all residents are of the same ethnic group it is zero by definition. If half are from one group and half from another, it is 50. The diversity index does not take into account the willingness of individuals to cooperate with those of other ethnicities.[2]