Patterns of global migration and remittances have shifted in recent decades, even as both the number of immigrants and the amount of money they send home have grown, according to a new Pew Research Center analysis of data from the United Nations and the World Bank.