Doug Rivers, the chief scientist at YouGov, said: “Americans tend to think that countries populated by people of their own race are allies of the United States. For example, African-Americans rate Ethiopia, Nigeria, Ivory Coast and Sierra Leone as allies, while white Americans consider these countries to be somewhat unfriendly. Similarly, Latinos, but not whites, considered El Salvador to be an ally. European countries are rated more friendly by whites than by either African-Americans or Latinos.”