U.S. News and World Report, which compiled the ranking, said it looked at measures such as economic stability, income equality and job markets to create its list, using a special survey of the opinions of more than 21,000 business leaders and other elites, as well as members of the public.
The ranking's authors say they also used data from the World Bank and the United Nations on migrant populations in different countries, as well as the amount of remittance sent back to their country of birth. The immigration project is part of a broader ranking, launched by U.S. News and World Report last year, that attempts to determine the world's "best" countries in the same way that the publication also ranks colleges, hospitals and cars.
Eric Gertler, co-chairman of U.S. News and the New York Daily News, said that the experience of creating the best countries ranking showed them that many people view immigration as the most important issue in the world.
"With the recent spotlight on immigration in the U.S. and abroad, we wanted to dive into its potential benefits and challenges on a country's perceived economic status in the world," Gertler said.
Specifically, immigration in Sweden became the subject of an unusual public debate in the U.S. this year, with President Donald Trump suggesting at a rally in February that immigration had led to problems in Sweden and that the country should serve as a model for how the U.S. should not allow some immigrants in. "They took in large numbers and they are having problems like they never thought possible," Trump said, sparking a flurry of angry responses from Swedes.
Sweden had become a popular destination for refugees from Africa and the Middle East over the past few years, taking in more per capita than any other European nation at the height of the migrant influx in 2015. Though the U.S. News ranking is not designed to look at refugee or asylum policy specifically, it does consider measures relevant to it.
"While our methodology did not focus on refugees specifically, it did take into account immigration policies and integration measures per analysis from the United Nations," said Deidre McPhillips, a U.S. News data reporter who helped design the rankings. "Our aim with this package was to focus on the economic aspects of immigration and the impacts this could have on a country's perceived standing in the world."
While the U.S. scored well because of the large numbers of remittances, U.S. News said that the country fell in the rankings due to its perceived economic inequality. Britain ranked even lower - 17th - despite its strong economy, because its immigration policy specifically favored its own nationals. U.S. News noted that it was one of only six countries that had similar policies, including Saudi Arabia and Myanmar.
Generally, European and North American nations rank highest, though some European nations - most notably Serbia (68) and the Czech Republic (50) - ranked far lower. The highest-ranking Middle Eastern country was the United Arab Emirates at 15, while the highest-ranking Asian nation was Singapore at 18. Brazil is the highest-ranking country in South America at 32 and South Africa is the highest-ranking African nation at 45.
In total, 80 countries were included in the ranking. Kenya came bottom of the list, preceded by Guatemala and Tunisia.
The full ranking is below:
7 United States
13 New Zealand
15 United Arab Emirates
17 United Kingdom
25 South Korea
33 Saudi Arabia
45 South Africa
49 Costa Rica
50 Czech Republic
70 Dominican Republic
71 Sri Lanka
74 Burma (Myanmar)
(Except for the headline, this story has not been edited by NDTV staff and is published from a syndicated feed.)