A new report from McKinsey Global Institute addresses these questions by analyzing the inflows and outflows of goods, services, finance, people, and data and communications for 195 countries over the past 20 years.