Social scientists have long studied patterns of racial and ethnic segregation because of the close connection between a group’s spatial position in society and its socioeconomic well-being.