Globalization and the Contagion Effects of External Shocks on Emerging Market Economies