The index of dissimilarity is a demographic measure of the evenness with which two groups are distributed across component geographic areas that make up a larger area. The index score can also be interpreted as the percentage of one of the two groups included in the calculation that would have to move to different geographic areas in order to produce a distribution that matches that of the larger area. The index of dissimilarity can be used as a measure of segregation.
Basic formula
The basic formula for the index of dissimilarity is:
where (comparing a black and white population, for example):
ai = the population of group A in the ith area, e.g. census tract
A = the total population in group A in the large geographic entity for which the index of dissimilarity is being calculated.
bi = the population of group B in the ith area
B = the total population in group B in the large geographic entity for which the index of dissimilarity is being calculated.
The index of dissimilarity is applicable to any categorical variable (whether demographic or not) and because of its simple properties is useful for input into multidimensional scaling and clustering programs. It has been used extensively in the study of social mobility to compare distributions of origin (or destination) occupational categories.
Linear algebra perspective
The formula for the Index of Dissimilarity can be made much more compact and meaningful by considering it from the perspective of Linear algebra. Suppose we are studying the distribution of rich and poor people in a city (e.g. London). Suppose our city contains blocks:
Let's create a vector which shows the number of rich people in each block of our city:
Similarly, let's create a vector which shows the number of poor people in each block of our city:
Now, the -norm of a vector is simply the sum of (the magnitude of) each entry in that vector.[1] That is, for a vector , we have the -norm:
If we denote as the total number of rich people in our city, than a compact way to calculate would be to use the -norm:
Similarly, if we denote as the total number of poor people in our city, then:
When we divide a vector by its norm, we get what is called the normalized vector or Unit vector:
Let us normalize the rich vector and the poor vector :
We finally return to the formula for the Index of Dissimilarity (); it is simply equal to one-half the -norm of the difference between the vectors and :
Index of Dissimilarity (in Linear Algebraic notation)
Numerical example
Consider a city consisting of four blocks of 2 people each. One block consists of 2 rich people. One block consists of 2 poor people. Two blocks consist of 1 rich and 1 poor person. What is the index of dissimilarity for this city?
Firstly, let's find the rich vector and poor vector :
Next, let's calculate the total number of rich people and poor people in our city:
Next, let's normalize the rich and poor vectors:
We can now calculate the difference :
Finally, let's find the index of dissimilarity ():
Equivalence between formulae
We can prove that the Linear Algebraic formula for is identical to the basic formula for . Let's start with the Linear Algebraic formula:
Let's replace the normalized vectors and with:
Finally, from the definition of the -norm, we know that we can replace it with the summation:
Thus we prove that the linear algebra formula for the index of dissimilarity is equivalent to the basic formula for it:
Zero segregation
When the Index of Dissimilarity is zero, this means that the community we are studying has zero segregation. For example, if we are studying the segregation of rich and poor people in a city, then if , it means that:
There are no blocks in the city which are "rich blocks", and there are no blocks in the city which are "poor blocks"
There is a homogeneous distribution of rich and poor people throughout the city
If we set in the linear algebraic formula, we get the necessary condition for having zero segregation:
For example, suppose you have a city with 2 blocks. Each block has 4 rich people and 100 poor people:
Then, the total number of rich people is , and the total number of poor people is . Thus:
Because , thus this city has zero segregation.
As another example, suppose you have a city with 3 blocks:
Then, we have rich people in our city, and poor people. Thus:
Again, because , thus this city also has zero segregation.