Policy Research Working Paper 8777 Drivers of Gross Capital Inflows Which Factors Are More Important for Sub-Saharan Africa? César Calderón Punam Chuhan-Pole Megumi Kubota Africa Region Office of the Chief Economist March 2019 Policy Research Working Paper 8777 Abstract This paper discusses recent trends and investigates the behavior for Sub-Saharan African countries is different drivers of capital flows across regions in the world, with from that of industrial countries due to different economic emphasis on Sub-Saharan Africa. The post-global financial structures, which render different transmission processes. crisis behavior of capital flows into Sub-Saharan Africa is The main findings suggest that pull and push factors are unique and differs from that of global capital flows. The the driving forces of capital inflows for industrial countries structure of financial flows into Sub-Saharan Africa has and non–Sub-Saharan African developing countries—espe- shifted toward new sources, such as international bond cially better economic performance, sound fiscal outcomes, issuances and debt inflows from non–Paris Club govern- a greater degree of financial openness, and stronger institu- ments. The main message is that the behavior of capital tions. The impact of these drivers has become stronger in flows into Sub-Saharan Africa differs from that of capital the 2000s. Macroeconomic policy can play an important flows into global, industrial, and non–Sub-Saharan African role in attracting capital inflows. For instance, fiscal disci- developing countries. The regression analysis reveals that pline promotes greater other investment inflows, and less gross flows into Sub-Saharan African are predominantly flexible exchange rate arrangements (more exchange rate influenced by external factors, such as foreign growth and stability) foster portfolio investment inflows. uncertainty in global markets and policies. Capital flow This paper is a product of the Office of the Chief Economist, Africa Region. It is part of a larger effort by the World Bank to provide open access to its research and make a contribution to development policy discussions around the world. Policy Research Working Papers are also posted on the Web at http://www.worldbank.org/research. The authors may be contacted at mkubota@worldbank.org. The Policy Research Working Paper Series disseminates the findings of work in progress to encourage the exchange of ideas about development issues. An objective of the series is to get the findings out quickly, even if the presentations are less than fully polished. The papers carry the names of the authors and should be cited accordingly. The findings, interpretations, and conclusions expressed in this paper are entirely those of the authors. They do not necessarily represent the views of the International Bank for Reconstruction and Development/World Bank and its affiliated organizations, or those of the Executive Directors of the World Bank or the governments they represent. Produced by the Research Support Team Drivers of Gross Capital Inflows: Which Factors Are More Important for Sub-Saharan Africa? * César Calderón a, Punam Chuhan-Pole a, and Megumi Kubota a,** a The World Bank Key Words: Gross capital inflows, composition of capital flows, financial openness JEL Codes: E32, E51, F21, F32                                                              * Calderón: The World Bank, Office of the Chief Economist of the Africa Region (AFRCE). E-mail: ccalderon@worldbank.org. Chuhan-Pole: The World Bank, Development Finance (DFCII). E-mail: pchuhan@worldbank.org. ** Kubota (Corresponding author): The World Bank, AFRCE. Email: mkubota@worldbank.org. The views expressed in this paper are those of the authors, and do not necessarily reflect those of the World Bank or its Boards of Directors. 1. Introduction The evolution of global capital flows has been influenced by three recent global shocks: the 2008-09 global financial crisis, the 2011-12 euro sovereign debt crisis and the 2014 drastic drop in oil prices. The impacts of these three shocks on capital inflows to Sub-Saharan Africa (SSA) have transmitted differently compared with advanced countries, non-SSA developing counties and the world. Recent trends in gross capital flows into Sub-Saharan Africa have changed because the structure of financing in the region has shifted from lower cross-border loan disbursements owed to traditional creditors to more direct investment and international bond issuances. Figure 1.1 illustrates the evolution of gross capital inflows across the globe— and, notably, inflows to Sub-Saharan Africa, advanced countries, and non-SSA developing countries from 1990 to 2017. One feature that emerges from this figure is the massive entry of gross capital flows to the world, Sub-Saharan Africa, advanced and non-SSA developing countries from the year 2000. Global capital flows as well as capital flows into advanced countries and non-SSA developing countries experienced a sharp decline during the global financial crisis period, while Sub-Saharan Africa followed a different path. This evidence is consistent with our empirical finding that the behavior of capital flows to Sub-Saharan Africa and natural resource abundant countries are alike, while that of global capital flows (as well as flows into industrial and non-SSA developing countries) behave differently relative to Sub-Saharan African countries. Moreover, the evolution of capital flows into Sub-Saharan Africa might be understated due to the occurrence of illicit flows.1 This is one of the silent phenomena in Sub-Saharan countries: for instance, cumulative net errors and omissions exceeds 10 percent of gross domestic product (GDP) for the region as a whole during 2002–17, consequently, a large portion of the capital flowing into a country is not recorded and exits the economy (Figure 2). Although an important issue in the region, the analysis of illicit flows is beyond the goal of this paper. The focus in this paper is the analysis of the behavior of recorded gross capital inflows. The three large external shocks (2008-09 global financial crisis, the 2011-12 European sovereign debt crisis and the 2014 drastic drop in oil prices) have played a role in shifting the current structure of financial flows toward greater other investment inflows (captured by rising liabilities from non–Paris Club members) and portfolio investment inflows that reflect greater international bond issuances. For example, the 2008-09 global financial crisis and 2011-12 European sovereign debt crisis led Sub-Saharan Africa to look for other financing opportunities in non–Paris Club governments such as China and private creditors. Many economies in Sub-Saharan Africa historically had strong ties with industrial countries, especially European countries; however, these two crises caused changes in their financing structure. At the same time, an increase in the international supply of crude oil, due to greater production from non–Organization of the Petroleum Exporting Countries (OPEC) countries (such as the Russian Federation) and technological innovation in the U.S. shale oil industry, triggered a drastic drop in oil prices that started in the second half of 2014. Consequently, many Sub-Saharan African countries, especially oil and commodity exporters, had to seek funds to finance larger deficits, and hence accumulated debts. The favorable financing conditions due to lax monetary policies (quantitative easing) in industrial countries enabled Sub-Saharan African countries to demand greater external borrowing from other sovereigns (non–Paris Club countries) and private creditors in foreign currency and at lower interest rates. The main message of this paper is that the occurrence and interplay of the external shocks reshaped the composition of capital inflows and the structure of financing in Sub-Saharan African. Push factors matter to Sub-Saharan Africa in attracting capital inflows. Although their impact is not as robust as that of push                                                              1 The issue of illicit flows is beyond the scope of this paper. It will be carefully examined in a future research paper. 2    factors, stronger institutions help pull gross flows into the region. The behavior of capital flows to Sub- Saharan Africa differs from those to the full sample of countries, industrial countries and non-SSA developing countries. In Sub-Saharan Africa, foreign direct investment and foreign aid are still the most dominant financial flows into the region. Portfolio investment inflows are not as large, given the underdevelopment of domestic financial markets (i.e. stock markets and domestic bond markets) in most Sub-Saharan African countries, however, they have seen an uptick among frontier economies in the region (e.g. Nigeria, Kenya, Senegal, among others). The analysis of the determinants of capital flows suggests that in general pull and push factors are the driving forces of capital flows into the world —and, especially, non-SSA developing countries. In contrast, external factors are the main drivers of capital flows into Sub-Saharan African countries. For the full sample of countries, we find that better economic performance, sound general government primary balance, strong institutions, and a greater degree of financial openness attract gross flows in countries across the world. In the case of Sub-Saharan Africa, push factors such as foreign growth, global stock market uncertainty and US economic policy uncertainty help attract inflows to the region. In our empirical analysis, commodity terms of trade are a good instrumental variable of domestic growth; however, it did not show significance as an explanatory variable in the regression analysis. This can be explained by the differences in the cycles of oil prices and prices of minerals and metals, which can offset each other when they are incorporated into an aggregate index. The major components of capital inflows in Sub-Saharan Africa are foreign direct investment and foreign aid (on average, 3.36 and 3.35 percent of GDP, respectively, in 2000–17), while remittance inflows account for 2.26 percent of GDP (World Bank 2018b). Among the three external shocks influencing the evolution and shifting of the structure of capital flows in Sub-Saharan Africa, the 2011–12 European sovereign debt crisis may have caused a larger decline in flows to Africa than the global financial crisis. For example, other investments inflows to Sub-Saharan Africa increased after 2007. Portfolio investments inflows remain relatively low because of the underdevelopment of domestic financial systems —i.e. the activities in those markets are very limited, especially among fragile countries. However, portfolio investment inflows increased after the global financial crisis in non-resource-rich and resource rich countries in the region. The behavior of capital inflows across Sub-Saharan African countries is heterogeneous, given the country differences in the size and structure of the economy, different availability of resources, level of development, and political systems and regulations. We use annual data on total gross capital inflows for a sample of 136 countries (of which 45 countries are in Sub-Saharan Africa) from 1980 to 2017. Gross inflows are defined by the sum of foreign direct investment (FDI) inflows, portfolio investment (PI) inflows, and other investment (OI) inflows. We present the empirical results from IV estimation to control for the likely endogeneity of capital flows with instruments such as real output and the commodity terms of trade index. Our regressions include country- and time-effects. The regression analysis presented in this paper examines the determinants of gross capital inflows and investigates the relative importance of global vis-à-vis domestic factors in driving gross inflows to the region. It is crucial to identify the key drivers of capital inflows because understanding these drivers will help design the policies that address the macro-financial risks arising from these flows. Therefore, the regression analysis estimates the importance of the drivers of gross capital inflows to the region. It distinguishes the role of these drivers in the different components of aggregate gross inflows, such as FDI, PI, and OI. The estimations are conducted for country groups according to their extent of natural resource 3    abundance; fragility, conflict, and violence; and income.2 We also examine whether the sensitivity of capital flows to global vis-à-vis domestic factors has changed in the post-crisis period. The capital flows data are gross capital inflows, which capture not only the real channels, but also the financial channels of transmission of shocks. Consequently, gross inflows would identify the different channels (real vs. nominal variables) because net and gross inflows have significantly diverged since the mid-1990s (i.e. net flows, a mirror of the current account, are more reactive to real shocks, while gross flows are influenced by both nominal and real variables). Despite the heterogeneity of economic structures and composition of flows across Sub-Saharan African countries, the empirical analysis provides some major directions for African economic development. These results suggest effective priorities and focus on sustainable development in the region. What policy recommendations would result from the regression analysis for the region? It is important to diversify the economic and export structure to mitigate the output effects of volatility in oil and commodity prices, develop domestic financial markets that provide domestic financial instruments to attract investors, and implement policies that enhance the business environment and create investment opportunities for foreign and domestic investors. According to the empirical evidence, financial openness would attract all types of capital inflows; therefore, a priority should be to develop the domestic financial markets in Sub-Saharan Africa. FDI and foreign aid are the main sources of financing in some countries in the region —especially where public sector participation in the economy is larger than private sector business activity. Therefore, policies that improve the business environment for domestic private sector firms will foster sustained foreign financing in productive activities. Our main empirical results suggest that the behavior of capital flows across Sub-Saharan African countries is unique: differences in the economic structure of countries vis-à-vis industrial countries may help explain the different transmission channels on the impact of external factors on gross capital inflows. On the other hand, both pull and push factors help explain gross capital inflows to countries across the world and the impacts of these drivers have become much stronger in the 2000s. Greater financial openness has facilitated the entry of gross capital inflows in the 2000s. Trade openness, on the other hand, worked as a complement of capital flows before 1999 and has turned into a substitute from the year 2000 —especially, a substitute of FDI inflows. Macroeconomic policy plays a role in attracting capital inflows. For instance, fiscal discipline promotes greater gross other investments inflows and less flexible exchange rate arrangements (more exchange rate stability) fosters portfolio investments inflows. Our paper consists of the following sections: Section 2 overviews the trends in gross capital inflows in Sub- Saharan Africa. Section 3 describes the data and econometric methodology. Section 4 investigates the relationship between capital inflows and the main macroeconomic variables, using mean/standard deviation equality tests and regression analysis. Section 5 concludes. 2. Trends in International Financing Flows in Sub-Saharan Africa This section overviews the recent trends in gross capital inflows and the structure of financing in Sub- Saharan Africa. It focuses on the 2000s, when gross and net capital flows started to diverge significantly. The behavior of capital flows in Sub-Saharan Africa has followed a different path from that of other countries. The global financial crisis severely influenced the behavior of global capital inflows. Although the global financial crisis and the European sovereign debt crisis affected Sub-Saharan Africa, the latter                                                              2 Some of these regression estimates are not presented in the Appendix; however, they are available upon request. 4    event had a larger impact on foreign financing in Sub-Saharan Africa. Oil and commodity prices are the third key factor that might have influenced the evolution of capital flows across African economies, as FDI- commodity related channels of transmission appear to have been more important than financial channels in Sub-Saharan Africa: almost 80 percent of FDI flowed into resource-rich countries and those FDI projects were mainly commodity related. The evolution of gross capital inflows to Sub-Saharan Africa did not comove strongly with that of global capital flows or gross inflows into either advanced countries or non-SSA developing countries in the first half of the 2000s (Figures 1.1 to 1.4). Especially global gross capital flows and capital flows in industrial countries follow a similar path, therefore, industrial countries are the driving force of global gross capital flows. World capital inflows grew steadily since the beginning of the 2000s until the global financial crisis in 2007. Capital inflows to Sub-Saharan Africa caught up after 2006, when the oil price hit about US$65 per barrel—which may have constituted a breakeven point for oil projects in the region. FDI (mainly in crude oil projects) has become the main source of capital inflows to the region rather than the PI and OI of the 2000s: the average share of FDI inflows in total inflows grew from 24 percent in the 1990s to 75 percent in the 2000s. In terms of stocks, half of the inward stock of FDI in Sub-Saharan Africa is in South Africa and Nigeria, and the top 10 destinations for FDI stocks account for almost 80 percent of the total stock. Nigeria is a natural resource abundant (oil-rich) country, and South Africa is an emerging market economy that is relatively deeper and more diversified compared with the economies of other Sub-Saharan African countries. Domestic financial markets are mostly underdeveloped in Sub-Saharan Africa. Although gross capital inflows in the world started to pick up between 2002 and 2003, gross inflows for Sub-Saharan Africa did not increase until 2006, when oil prices increased. Oil prices exceeded US$60 per barrel in 2006; hence, many oil-related projects became more profitable in Sub-Saharan Africa and a large amount of FDI started to flow into the region. Natural resources are an integral part of the economy in Sub-Saharan Africa. Consequently, foreign investments in resource-based activities are the main source of FDI inflows to most of the Sub-Saharan African countries. For instance, according to South African Reserve Bank (2018), the mining sector in South Africa is the region’s largest recipient of FDI, which accounted for 20 percent of total FDI in the region in 2016. This amount is comparable to FDI inflows to the manufacturing sector. Almost half the value of those announced FDI greenfield projects is allocated to natural resource–based industries (UNCTAD, 2018). By contrast, in Nigeria, the share of inward FDI stocks in extractive industries (oil and gas) was about 41 percent, and that of manufacturing was 27 percent in 2012 (Doguwa et al. 2014). More than half the value of announced FDI greenfield projects was invested in natural resource–based industries in 2012 (UNCTAD, 2018). Rising inflows of foreign financing may create opportunities for growth and product diversification as well as enable countries to share risks internationally. However, if capital flows are not properly managed, they may entail risks. The growth benefits of capital flows will outweigh the risks in countries that surpass thresholds in financial and institutional development (Kose, Prasad, and Taylor 2011). Total factor productivity growth will be enhanced in countries with a greater share of FDI and equity inflows over time (Kose, Prasad, and Terrones 2009; Popov 2011). It has been argued that, for instance, capital flows may propel economic growth and development through various channels: (a) greater access to foreign capital may lift credit constraints and enable firms to undertake more productive and riskier investments (Acemoglu and Zilibotti 1997); (b) higher FDI inflows may facilitate the diffusion of technology and managerial practices as well as create incentives to raise the demand for skilled labor (Grossman and Helpman 1991; Haskel, Pereira, and Slaughter 2007); (c) greater international financial integration may raise the depth and scope of domestic financial markets by improving efficiency and enhancing access to 5    financial services (Chinn and Ito 2006, 2008; Calderón and Kubota 2009); and (d) the free flow of foreign capital may have a discipline effect on macroeconomic policy—although the effect appears to be more robust for monetary rather than fiscal policy (Tytell and Wei 2005; Kose et al. 2009). It has also been argued that the inherent volatility of (certain) foreign capital flows may bring instability and uncertainty. Business cycles might become amplified, relative prices might be distorted, and crises might happen more frequently. All these effects could have a negative impact on long-run income levels. Rising international financial integration appears to increase the frequency and severity of currency and banking crises (Kaminsky and Reinhart 1999). Furthermore, the procyclicality of capital inflows has a perverse effect on macroeconomic stability. Consumption and government expenditure tend to grow excessively during periods of capital flow bonanza, and they tend to adjust drastically when foreign capital stops flowing into the domestic economy. The lack of access to global capital markets during bad times may restrict the ability of policy makers to conduct countercyclical fiscal policies (Kaminsky, Reinhart, and Vegh 2005; Calderón and Schmidt Hebbel 2008; Reinhart and Reinhart 2009). The 2007–08 global financial crisis brought to a halt the protracted rise in international financial integration. The crisis changed the direction and composition of capital in the world. For example, global capital flows retrenched dramatically, from 20.7 percent of GDP in 2007 to 2.78 percent of GDP in 2009. However, the retrenchment was smaller for Sub-Saharan African countries, from 7.5 percent of GDP in 2007 to 5.5 percent of GDP in 2008. The transmission of the global crisis to Sub-Saharan Africa took place through the trade channel, as exports—and more generally trade—collapsed for countries in the region while for commodity exporting nations, the collapse came along with the plunge in international commodity prices. The financial channel did not fully work through most Sub-Saharan African countries—as most domestic financial systems were underdeveloped and did not intermediate a significant proportion of the foreign flows into these countries. Figure 1.1 shows that the retrenchment of global gross inflows was attributed to the plunge in gross OI inflows, while there was a sharp decline in OI and PI across non–Sub-Saharan African developing countries in Figure 1.2. In 2008, there was a small decline in gross PI in Sub-Saharan Africa, because global stock and bond issuance markets not only were shut down for the region, but also these markets were not as deep and liquid. In the aftermath of the global financial crisis, however, there was substitution of gross PI inflows in detriment of gross OI inflows in the region. The regional average recovery of capital inflows was faster than the global average thanks to the recovery in oil prices, which faced a drastic drop, from US$160 per barrel in June 2008 to US$50 per barrel in January 2009 and increased afterward. The recovery of the temporary (but large) drop in oil prices was attributed to the adverse demand shock being transitory. Then the post-crisis recovery of oil prices may have boosted capital flows into Sub-Saharan Africa. However, global capital inflows were struggling to recover to their pre-crisis averages. In the period that preceded the global financial crisis (the Great Moderation), looser monetary and financial conditions were transmitted across the border through rising banking sector capital flows. The increased leverage of global banks played a key role in the crisis transmission (Cetorelli and Goldberg 2011; Acharya and Schnabl 2010; Kalemli-Ozcan, Papaioannou, and Perri 2013). During this period, the external position of industrial economies was “long equity, short debt,” while that of emerging and developing economies was “short equity, long debt” (Lane and Milesi-Ferretti 2007). The 2007–08 global financial crisis also led to a change in the drivers of global liquidity: syndicated loans plummeted while (sovereign and corporate) bonds were on the rise. The sharp retrenchment of global capital flows was followed by a swift recovery and a change in the composition of capital flows across countries worldwide (Milesi-Ferretti and Tille 2011; Shin 2014; Lane and Milesi-Ferretti 2017). A recent wave of global liquidity has taken place during the post–global financial crisis period; however, this has 6    been characterized by global investors purchasing emerging market bonds. These investors were searching for yields in emerging market debt securities, which led to many international bond (and to a lesser extent equity) issuances at the sovereign and corporate levels (Shin 2014). Compared with Sub-Saharan Africa, Figure 1.1 shows the dramatic decline in gross inflows across the world: they dropped from 18.8 percent of GDP in 2006–07 to 3.5 percent of GDP in 2008–09. This decline was driven by the collapse of cross-border banking flows: gross OI inflows plunged from 7.8 percent of GDP in 2006–07 to -2.1 percent in 2008–09. The other types of gross inflows, FDI and PI, also declined but at a slower pace. Figure 3.1 presents gross inflows by type for Sub-Saharan Africa compared with the rest of the world for selected subperiods from 2000 to 2017. For instance, all types of gross inflows declined sharply among industrial countries during the global financial crisis—especially the collapse of gross OI inflows relative to the pre-crisis period. Gross OI inflows decreased from an average of 5.4 percent of GDP in the pre-crisis period to -4 percent of GDP in the crisis period. Gross inflows, on average, recovered in the post-crisis period (2010–17)—up to 6.4 percent of GDP from 2.4 percent in the crisis period. Therefore, this was characterized by the recovery of gross OI inflows, which was mainly driven by healthier balance sheets and increased cross-border activity in U.S. financial and nonfinancial institutions. In the case of Sub-Saharan Africa, there was no decline in gross inflows across the region during the global financial crisis. Gross inflows increased from 3.8 percent of GDP in 2000–07 to 6 percent in the crisis period—and the increase was driven by gross OI inflows. Figure 3.2 confirms that gross OI inflows improved across resource-rich African countries: from -2.45 percent of GDP in the pre-crisis period to 2.02 percent in the crisis period. On the other hand, PI in the region decreased by a small portion: from 0.88 percent of GDP in the pre-crisis period to 0.38 percent in the crisis period, as shown in Figure 3.2, because the crisis was transmitted through the financial markets, which are mostly smaller in Sub-Saharan Africa. In the post-crisis period, gross inflows to the region continued to increase (to 7.3 percent of GDP in 2010– 17) (Figure 3.1). Growing gross inflows in the aftermath of the global financial crisis were characterized by an increase in gross PI inflows (specifically driven by international bond issuances) and, to a lesser extent, higher gross FDI inflows. The European sovereign debt crisis hit the Sub-Saharan African economies deeper than the global financial crisis—as captured by the decline in gross OI inflows, that is, international loans. During the European debt crisis, gross capital inflows to the region declined by 4.6 percent of GDP (from 10.12 percent of GDP in 2011 to 5.5 percent in 2013) (Figure 1.2). The decline was larger than the one experienced during the global financial crisis, which was about 2.0 percent (from 7.5 percent of GDP in 2007 to 5.5 percent in 2008) (Figure 1.2). Along with the European debt crisis, the average annual international price of oil went below US$80 per barrel in 2012, from US$110 per barrel in 2011. Consequently, the reduction in international oil prices had an impact on oil projects—especially projects with a breakeven point price below US$80 to US$100 per barrel (for instance, some oil fields in Angola and Nigeria). The plunge in the international price of oil in 2014 was more persistent in nature than that in 2008–09. It was also driven by supply factors, such as an expansion of the oil supply from non-OPEC countries, technological innovations in the U.S. shale oil supply, and regional conflicts (in the Middle East and the República Bolivariana de Venezuela). These factors had an adverse impact on Sub-Saharan African countries—especially the oil exporting countries in the region. As international oil prices hit a trough of US$30 per barrel in January 2016, oil became less attractive as an asset, and global investors shifted their demand to other assets (U.S. Treasury bills and stocks, among others), thus raising the returns of those assets. The lower oil prices also made it more difficult for commodity exporting countries (especially oil exporting countries) to borrow, as their capacity to repay 7    deteriorated (due to lower fiscal revenues and lower economic activity). As a result, sovereign bond issuances decreased in Sub-Saharan Africa, as the prospects of oil operations were not favorable and external borrowing rates increased. The retrenchment of flows into the region from traditional financing partners precipitated the need for other funding options, particularly for infrastructure financing, as bilateral loans and grants from European countries and the United States declined. Sub-Saharan Africa’s frontier economies had measured success in tapping global capital markets—especially international bond markets—during the post–global financial crisis period. Since then, several low-income countries in the region—especially lower-middle-income countries—have been issuing eurobonds at an accelerating pace. For instance, there was a rapid rise in sovereign bond issuance between 2013 and 2015, when more countries in Sub-Saharan Africa had access to international capital markets. Sovereign debt issuance in the region increased from an average of US$6 billion during 2013–15 to US$8.2 billion since 2017 (World Bank 2018a). By 2018, 16 countries had issued bonds, several of them on a regular basis, with issuances of considerable size. Conditions for international bond issuances have been favorable, with high and steady demand from investors. The shifting structure of global capital flows (and the corresponding changes in the composition of the flows into Sub-Saharan African countries) may be associated with changes in the relative importance of global vis-à-vis domestic factors driving capital inflows. For example, it has been argued that the new structure (and resulting volatility) of capital inflows to developing countries (including Sub-Saharan Africa) during the post–global financial crisis period may have increased their sensitivity (or vulnerability) to global (push) factors (Avdjiev et al. 2017). The empirical literature has established that global (push) and domestic (pull) factors are important drivers of capital flows—see, for instance, Calvo, Leiderman, and Reinhart (1993); Fernandez-Arias and Montiel (1996); and Chuhan, Claessens, and Mamingi (1998). 3. Estimation Technique and Data To estimate the determinants of gross capital inflows, we use an instrumental variable method for panel data which poses two main challenges. The presence of unobserved period- and country-specific effects is our first challenge. Therefore, we include country and time effects in the regression. The second challenge is that capital flows are likely to be jointly endogenous with shocks to pull factors in domestic markets, therefore, we need to control for the biases due to simultaneous or reverse causality in the regression. Consequently, we control for the endogeneity of domestic growth with instrumental variables such as the commodity terms of trade and lagged economic growth. Our baseline regression equation of capital flows presents the following specification: Ω µ where the dependent variable Ω is the ratio of capital flows to GDP. The dependent variable is proxied by the ratio of gross capital inflows to GDP as well as that of FDI, portfolio investments or other investments to GDP for country i in period t. Furthermore, µ is a country effect and is a time effect. The matrix contains information on our pull and/or push factors while is its coefficient vector. Finally, captures the residuals. The database for the empirical analysis comprises annual information on gross capital inflows for 45 Sub- Saharan African countries from 1980 to 2017. It gathers information for total gross inflows as well as its components, such as foreign direct investment, portfolio investment, and other investment from the International Monetary Fund’s (IMF’s) Balance of Payments Statistics BPM 6.0. Other foreign financing 8    flows, such as foreign aid and remittance inflows, were collected from the World Bank’s World Development Indicators (WDI). The GDP level and growth data were gathered from the WDI. The set of pull factors considered in this paper also includes the Consumer Price Index (CPI) inflation (computed as log differences in the CPI) from WDI, the general government primary balance a percentage of GDP from the IMF’s World Economic Outlook, the exchange rate regime based on the Fine classification of exchange rate regimes developed by Reinhart, and Rogoff (2004) and updated by Ilzetzki, Reinhart and Rogoff (2017), and trade openness as the ratio of exports and imports to GDP from the WDI, and the index of financial openness from Chinn-Ito (2006, 2008). Other important pull factors are the quality of institutions proxied by the following ICRG components: investment profile (which accounts for contract viability, expropriation, and profits repatriation), socio-economic conditions (capturing forces at work in society that could constrain government action or fuel social dissatisfaction), government stability (which reflects the government's ability to carry out its declared policies), rule of law (which captures the strength and impartiality of the legal system, and the popular observance of the law), bureaucratic quality (reflecting the strength and expertise of the bureaucracy to govern without drastic changes in policy or interruption in government services), and corruption. Higher values of all these ICRG components imply higher quality of institutions. Push factors are foreign growth as the trade-weighted GDP growth of main trading partners, the VIX index measures volatility computed using S&P 500 index options, and US policy uncertainty is captured by the baseline overall index computed by Baker, Bloom and Davis (2015). Other external factors are commodity prices such as the international price of oil, the price index of minerals and metals, the price of agricultural commodities, and an index of commodity terms of trade which are gathered from the World Bank’s Commodity Outlook. 4. Empirical Evidence 4.1 IV Estimation This section analyzes the empirical results from the instrumental variable method. The dependent variable is gross capital inflows as a ratio of GDP. The different types of capital flows are also included as alternative dependent variables such as gross FDI inflows, gross PI inflows, and gross OI inflows. The set of determinants chosen follows recent empirical literature—for example, Forbes and Warnock (2012), Calderón and Kubota (2019), and Ghosh et al. (2014). Pull factors are domestic factors that attract foreign capital flows, such as domestic economic growth, the level of development (as measured by the GDP per capita), consumer price index inflation, primary balance, exchange rate flexibility, quality of institutions (as proxied by ICRG indicators such as investment profile, government stability, socioeconomic conditions, corruption, bureaucratic quality, among others), trade openness and financial openness. The push or external factors considered in this analysis are the US stock market volatility index (VIX), economic growth of main trading partners, US policy uncertainty, and commodity terms of trade, as well as the international price of oil and the international price index for minerals and metals. The regression analysis compares the behavior of pull and push factors across different time periods: 1980–2017, 1980–99, and 2000–17. This implicitly tests whether financial globalization plays a role in driving changes in the sensitivity of capital inflows to pull and push factors. We run those regressions of the different groups such as all countries, advanced countries, non-SSA countries, Sub-Saharan countries, and natural resource abundant countries. We control the potential endogeneity of domestic GDP growth by using the lagged values of the commodity terms of trade and the domestic GDP growth as instruments. Tables 1 to 10 analyze drivers of gross capital inflows using linear regression techniques while Tables 11 to 14 investigate non-linearity aspects of the relationship between capital inflows and their domestic and 9    external drivers. We account for the likely endogeneity of GDP growth in the regression analysis reported in Tables 1 through 10 by instrumenting this variable with lagged values of economic growth and commodity terms of trade. Note that the first five tables (1-5) present the regression estimates of the drivers of gross inflows (including their components such as FDI, PI and OI inflows) across different samples (the full sample of countries, industrial countries, developing countries excluding Sub-Saharan Africa, Sub- Saharan Africa and natural resource abundant countries, respectively) for the period 1980-2017. The next five tables (6-10) report the estimates for different sample periods (1980-99 vs. 2000-17) across different samples of countries. Finally, Tables 11 to 14 uncover likely non-linearities between gross inflows and their drivers by estimating quantile regressions for the overall gross inflows as well as their different types; namely, FDI, PI and OI inflows. The main findings of this regression analysis can be summarized as follows: the behavior of capital flows and their drivers in Sub-Saharan African are similar to those of natural resource abundant countries. There are few determinants that significantly attract gross capital inflows —notably, the quality of institutions (as proxied by the investment profile) and US policy uncertainty. Commodity terms of trade are not able to predict gross inflows. This might be attributed to the fact that this index conflates commodities such as oil price and minerals and metals that exhibit different cycles. However, the commodity terms of trade index is still a good instrumental variable as it captures well the correlation between the explanatory variables being instrumented (e.g. domestic GDP growth) and the dependent variable (gross capital inflows). Finally, for all samples of countries, both domestic and external factors play a role in driving capital flows although for Sub-Saharan Africa, domestic (pull) factors appear to play a stronger role than external (push) factors in attracting these flows. Baseline regression Table 1 shows the baseline regression results of total gross capital inflows, FDI, portfolio investments and other investments for all countries during the period 1980-2007. Overall, domestic factors play a greater (and more significant) role in the explanatory power in attracting gross capital flows than external factors although both factors are important. Domestic economic growth is instrumented with lagged values of economic growth and commodity terms of trade. The lagged values of the other domestic factors are included directly in the regression equation to ameliorate problems of reverse causality. Investment profile (a proxy of the quality of institutions) and financial openness have a robust and positive impact on all the different types of gross inflows. For example, a one-point increase in investment profile and financial openness leads to an increase in total gross inflows of 0.0173 points and 0.022 points respectively. Domestic economic growth has a positive and significant influence on total gross inflows, FDI and PI inflows while it has a positive but non-significant relationship with gross OI inflows. An illustration of the economic interpretation of our findings, for instance, shows that if economic growth increases by one point in the full sample period, total inflows increase by 0.00988 point, FDI inflows increase by 0.00539 and portfolio investments inflows increase by 0.00398. Trade openness and all types of flows (total inflows, FDI, PI, and OI) are negatively associated but their impact is not statistically significant. A higher rate of CPI inflation induces more total gross inflows, FDI and PI inflows. Foreign growth has a positive and significant impact on total gross inflows and other investment inflows while US economic policy uncertainty has a negative and significant relationship with total gross inflows and gross FDI inflows. This implies that greater policy uncertainty in advanced economies may reduce the amount of gross flows into the domestic economy, including fewer volatile investments (say, FDI). Commodity terms of trade show a positive and insignificant impact on FDI inflows but has a negative significant on other investment inflows. On the other hand, prices of mineral and metals have a positive and 10    significant impact on FDI and portfolio investments inflows while the impact of oil prices on total gross inflows and other investments inflows is negative and significant. Therefore, commodity terms of trade may not be able to capture the entire narrative of the commodity price effects on capital flows. This might be attributed to the fact that the different cycles of oil prices and prices of minerals and metals have different impact on gross inflows (as well as their different types). However, commodity of terms of trade is a good instrumental variable to observe the true correlation between explanatory variables (e.g. domestic economic growth) and dependent variable (gross capital inflows). Baseline regression by country sub-samples Tables 2 to 5 display the regression estimates across different groups such as industrial countries, non-SSA developing countries, Sub-Saharan African countries and natural resource abundant countries. When assessing the relationship between gross inflows and their drivers, we find that Sub-Saharan African countries and natural resource abundant countries behave alike (see Table 4 and 5) while the behavior of capital flows among industrial countries and non-SSA developing countries is different. Industrial countries. Table 2 shows that the level of development (GDP per capita) helps attract gross inflows as well as other components of gross inflows (portfolio inflows and, to a lesser extent, FDI). If GDP per capita increases by one point in industrial countries, total gross capital flows increase by 0.43409 point and FDI inflows increase by 0.132 point. CPI inflation has a positive and significant impact on total gross inflows, PI and OI inflows. A higher rate of inflation among industrial countries may signal an increase in economic activity —as captured by the Phillips curve— thus, helping attract PI. In the case of fiscal policy, an increase in the general government primary balance would lead to higher amounts of gross other investments inflows. Fiscal discipline then helps attract gross OI inflows. Investment profile has a positive and significant impact on total gross inflows, FDI and OI inflows while socioeconomic stability would positively impact on OI inflows significantly. These finding implies improved institutional quality helps pull in gross flows to the domestic economy. Financial openness can affect positively and significantly total gross inflows, PI and OI inflows; therefore, a greater degree of openness in the capital account would induce more total gross capital inflows, PI and OI inflows. Global market uncertainty (as proxied by the VIX index) has a negative and significant relationship with total gross inflows and OI inflows. One may argue that lower market uncertainty would induce more total and OI inflows. Increasing US policy uncertainty would discourage the entry of total gross inflows and FDI among industrial countries. Commodity prices —as proxied by either the commodity terms of trade or the international prices of specific commodities— have no systematic relationship with total gross flows. Developing countries. Table 3 presents the regression estimates for the group developing counties excluding Sub-Saharan Africa. Economic growth, GDP per capita and CPI inflation significantly attract total gross inflows and OI inflows. For example, a one-point increase in economic growth and GDP per capita would lead to higher total gross capital inflows by 0.0202 point and 0.0986 point respectively. Financial openness significantly induces a greater amount of total gross inflows and FDI. Investment profile has a positive and significant impact on total gross inflows, FDI and OI inflows while government stability shows a positive and significant impact on PI. Socioeconomic conditions have a positive and significant relationship with total gross inflows and OI inflows. Hence, the quality of institutions plays an important role in attracting foreign investors. Global market uncertainty shows a positive and significant relationship with total gross inflows and OI inflows while the impact of US policy uncertainty is mixed as there is a positive significant impact on PI and a negative significant impact on total gross inflows and OI inflows. Therefore, larger market volatility 11    in the United States (VIX) may lead to greater cross-border bank lending to developing countries. Lower US policy uncertainty may also lead to greater flows and a change in the composition with greater gross OI inflows in detriment of gross PI inflows. Finally, prices of minerals and metals have a positive and significant relationship with total gross inflows, FDI and OI inflows. Sub-Saharan Africa. As we argued above, the relationships between gross capital inflows and their drivers across Sub-Saharan African countries (Table 4) behave similarly to that of natural resource abundant countries (Table 5). We find a negative relationship between the general government primary balance and gross FDI inflows. Better institutions (as proxied by investment profile) would attract more FDI and PI inflows for natural resource abundant countries, while better investment profile would bring more FDI for Sub-Saharan African countries. Better government stability and socioeconomic conditions would lead to more FDI inflows for both Sub-Saharan Africa and natural resource abundant countries. Higher foreign economic growth and higher US policy uncertainty would bring more total gross inflows and OI inflows for both Sub-Saharan Africa and natural resource abundant countries. Baseline regression by sub-periods Tables 6 to 10 present the regression results for all types of flows (total, FDI, PI, and OI) across all countries and by sub-period (1980-99 and 2000-17). We conduct the regression analysis for the different country samples (industrial, non-SSA developing, and SSA countries) across different time periods (1980-99 and 2000-17) for total gross capital inflows, FDI inflows, portfolio investments inflows and other investments inflows, respectively. Full sample of countries. According to Table 6, economic growth exerts a positive and significant impact on total gross inflows, FDI and PI inflows in the period 2000-17 rather than the period of 1980-99. On the other hand, GDP per capita exhibits a positive and significant relationship with total gross inflows and PI inflows in both subperiods of 1980-99 and 2000-17. For example, a one-point increase in domestic GDP growth during the period 2000 to 2017 would raise total gross capital inflows by 0.0139. Financial openness has a positive and significant impact on total gross inflows in both periods —and that impact is transmitted through higher gross OI inflows and, to a lesser extent, through larger gross PI inflows. Primary balance has a positive and significant impact on total gross capital inflows, portfolio investments inflows and other investments capital inflows from 2000 to 2017. In a world with greater financial globalization, fiscal discipline —as proxied by a healthier primary balance— helps attract capital inflows, especially non-FDI inflows. Trade openness has a negative and insignificant relationship with all types of gross capital inflows, except for portfolio inflows after 2000. This finding implies that trade openness and gross PI inflows might behave like substitutes after 2000 as financial globalization intensifies. In the case of exchange rate regimes, the nature of their impact on gross inflows changes over time. We find that greater flexibility reduces total, portfolio investment and other investment inflows before 1999 while more flexible exchange rate arrangements attract more other investments inflows after 2000. The only plausible explanation for the change in sign over time can be attributed to the operation of different channels of transmission as financial globalization increases. Foreign growth has a positive and significant impact on total gross inflows —and, particularly, on gross other investment inflows— after 2000. US policy uncertainty has a positive and significant effect on total and PI inflows before 2000, while stock market uncertainty (as proxied by the VIX index) positively influences FDI inflows before 2000. In the case of commodity prices, we find a positive and significant relationship between oil prices and PI inflows after 2000 as well as oil prices and OI inflows before 2000. The international price index of minerals and metals has a positive and significant impact on FDI inflows after 2000. However, the regression estimates fail to uncover a significant impact of the commodity terms 12    of trade on gross inflows. Therefore, we argue that different cycles of commodity prices could offset each other in the aggregate commodity terms of trade index —as these two different groups of commodities (i.e. oil prices vs. prices of minerals and metals) have different cycles. Industrial countries. Table 7 estimates the drivers of the different components of gross capital flows into industrial countries by different time periods (1980-99 vs. 2000-17). GDP growth in industrial countries does not play a significant role in pulling pull gross capital inflows; however, higher GDP per capita has a significant influence on total gross inflows as well as its components (FDI, PI and OI inflows) before 2000. Higher CPI inflation is associated to greater total gross inflows and other investments inflows for the periods after 2000. On the role of macroeconomic policy in attracting gross inflows, greater fiscal discipline has a positive effect on total gross inflows, PI and OI inflows in the period 2000-17. The quality of institutions (as measured by investment profile) also helps attract total gross inflows —and, especially, PI inflows— in the period 2000-17. Higher financial openness would attract more total capital inflows, PI and OI inflows after 2000. Regarding the impact of external factors, greater global financial uncertainty (as captured by the VIX) would reduce total gross flows into industrial countries —and, especially, OI inflows after 2000 and PI inflows before 2000. Greater US economic policy uncertainty would increase total capital flows and PI inflows before 2000. Oil prices have a positive and significant impact on total gross inflows, PI and OI inflows before 2000 and PI after 2000 while prices of mineral and metals attract more total gross inflows, FDI and OI inflows after 2000. Non-SSA developing countries. Table 8 presents the regression estimates of the different types of capital flows across sub-periods for the sample of non-SSA developing countries. Better economic performance and higher GDP per capita would attract more total gross inflows and OI inflows in the period 2000-17. Greater flexibility in the exchange rate arrangement attracts a lower amount of other investment inflows in the period 1980-99 while greater flexibility in the exchange rate regimes bring more other investments inflows in the period of 2000-17. Financial openness attracts more FDI inflows among industrial countries in both periods. Regarding the external variables, foreign growth has a positive and significant relationship with gross OI in the period 2000-17. Global market uncertainty (measured by the VIX) increases the amount of total gross inflows and OI inflows before 2000 and FDI inflows before 2000. Greater US economic policy uncertainty appears to encourage gross PI inflows in the period 2000-17 and OI inflows during 1980- 99. Prices of minerals and metals encourage FDI inflows in the period of 2000-17. We find that the international price of certain commodities may attract FDI. Sub-Saharan Africa. Table 9 estimates the drivers of different types of gross capital flows into Sub-Saharan Africa by subperiod while Table 10 estimates the drivers of different components of gross inflows for natural resource abundance countries. Both groups behave alike. The coefficient estimates of the drivers of gross capital flows into Sub-Saharan African countries are unfortunately insignificant while a few of these coefficients have a significant effect for natural resource abundant countries. For instance, improved investment profile encourages more PI inflows in the period of 2000-17 while US policy uncertainty has a positive and significant relationship with total gross inflows and OI inflows in the period of 2000-17. A question that emerges when comparing Tables 4 and 9 is the lack of significant coefficients by subperiods for Sub-Saharan Africa whereas several domestic and external actors have a significant effect in the full sample period. This could be due to: (1) the lack of fundamentals or a different set of fundamentals in the case of Sub-Saharan African countries and (2) the subsamples fail to produce a systematic relationship with the distribution of gross capital inflows for Sub-Saharan Africa. Our baseline regressions in Table 9 might not be controlling for the relevant explanatory variables for Sub-Saharan African countries. Therefore, we show the different sets of regressions which include some significance in Sub-Saharan countries. Appendix 13    Table A1 shows alternative specification to the baseline regression for total gross inflows, FDI, PI and OI inflows. The external factors matter in the case of Sub-Saharan Africa. For example, foreign economic growth attracts more gross capital inflows after 2000 and other investments inflows before 2000. 4.2 Quantile Regressions A recent strand of the literature highlights the incidence of extreme movements in capital inflows and the likely nonlinear relationship between pull-push drivers and extremely large waves of (inward and/or outward) capital flows. Initially, capital flow bonanzas were documented in the literature using annual information on net capital inflows (Reinhart and Reinhart 2009; Cardarelli, Elekdag, and Kose 2010). The extreme behavior of capital inflows has implications not only for the variable itself, but also for the shocks associated with these waves of flows—which suggests the existence of nonlinear behavior. Therefore, quantile regressions were conducted to investigate the nonlinear relationship between capital inflows and pull-push drivers. Tables 11 to 14 report the results of quantile regressions that assess the nonlinear relationship between the different types of capital inflows (i.e. total gross inflows, FDI, PI and OI inflows) and their pull and push factors. Overall, the findings show that domestic economic performance, investment profile, and the international price index of minerals and metals are key drivers of capital inflows, FDI and OI inflows at different deciles of the distribution. On the other hand, the results for PI inflows are almost muted. Total gross inflows. Table 11 presents the results of the quantile regressions for total gross capital inflows. Higher domestic economic growth helps attract total gross capital inflows from the small to the upper- middle percentiles of the distribution (up to 80th) as shown in Figure 3.3. The quality of institutions, as proxied by the ICRG index of investment profile, also helps attract gross capital inflows up to the upper- middle percentiles (up to 80th) as depicted in Figure 3.4. The international price index of minerals and metals pushes foreign investors to bring more capital inflows, and this typically takes place in countries located in the middle-to-high deciles of the distribution (30th to 90th percentiles) as plotted in Figure 3.5. Consequently, prices of minerals and metals play a role in influencing gross flows into the domestic economy. Gross FDI inflows. Table 12 shows the results of the quantile regressions for FDI inflows. These estimates are qualitatively similar to those of total gross inflows. Higher growth in the domestic economy attracts FDI in all deciles of the distribution but the extreme low and high (10th and 90th). The quality of institutions also plays a crucial role in pulling in foreign direct investment in the middle declines of the distribution (from 30th to 70th) although the impact is not as strong as that of gross inflows. Finally, an increase in the price index of minerals and metals also influences the entry of direct investment into the domestic economy —especially, in countries from the lower to upper middle deciles (from 20th to 80th). Global stock market uncertainty exerts a positive impact on gross FDI inflows from low to upper-middle deciles (that is, from 20th to 80th). Gross non-FDI inflows. Table 13 presents the results of quantile regressions for gross PI inflows. Most of the coefficient estimates are not statistically significant except for the coefficient estimates of GDP per capita in upper-middle percentiles (specifically, 70th and 80th percentiles) and investment profile (70th percentile). Table 14, on the other hand, reports the coefficient estimates of the quantile regressions for OI inflows. Some of the findings in this table are qualitatively similar to those of total and FDI inflows. For instance, the evolution of economic growth, investment profile and the prices of minerals and metals helps attract gross OI inflows. The impact of economic growth on gross OI inflows is stronger in the low to middle percentiles (20th to 60th) while that of investment profile and the price of minerals and metals is stronger in lower to upper-middle percentiles (30th to 80th and 30th to 90th, respectively). In addition, CPI 14    inflation pulls more OI from 40th to 90th percentiles while the impact is stronger in the lower percentiles for foreign economic growth (20th to 40th) and GDP per capita (30th to 40th). 5. Conclusions This paper examines recent trends in Sub-Saharan Africa and estimates the drivers of capital flows into the region. These estimates are compared with those of gross inflows across countries in the world and across sub-samples (industrial countries, non-SSA developing countries and natural resource abundant countries). We show that the post-global financial crisis behavior of capital flows in Sab-Saharan Africa is unique and differs from that of global capital flows. Our empirical evidence supports this evidence and suggests that the behavior of capital flows into Sub-Saharan Africa and natural resource abundant countries is alike. On the other hand, global capital flows, and flows into industrial and non-SSA countries behave differently from those into Sub-Saharan Africa. Our regression analysis reveals that external factors are the main drivers of gross capital inflows into Sub-Saharan Africa, while both domestic and external factors are important for industrial countries and non-SSA countries. In the case of Sub-Saharan Africa, foreign growth, uncertainty in global financial markets and global economic policy help push gross flows into the region. Commodity terms of trade constitutes a good instrumental variable of domestic growth for our empirical analysis. It shows, however, insignificance as an explanatory variable because the differences in the cycles of oil prices and prices of mineral and metals can offset each other in an aggregate index. Although their impact is not as robust as that of the push factors mentioned above, institutions that foster contract viability and investor protection (as proxied by the ICRG indicator of investment profile) help attract foreign investments into the region. The evolution of global capital flows, as expected, is driven by recent trends of capital flows into industrial countries. The 2008-09 global financial crisis led to a sharp decline in global flows —thus, causing a deeper retrenchment of capital flows among industrial and non-SSA developing countries. In the case of Sub- Saharan Africa, gross flows into the region were hit harder by the 2011-12 euro sovereign debt crisis rather than the 2008-09 global financial crisis. The recent three large external shocks (2008-09 global financial crisis, 2011-12 European sovereign debt crisis, and the 2014 plunge in oil prices) were transmitted differently across regions of the world. The three external shocks have played a role in changing the composition of capital inflows and shifting the current structure of financial flows into Sub-Saharan Africa toward other foreign financing flows that reflect greater international bond issuances. FDI and foreign aid are the most dominant financial flows into the Africa region. PI inflows are not as large, given the underdevelopment of domestic financial markets (i.e. stock markets and domestic bond markets) in most Sub-Saharan African countries. However, PI inflows have experienced an uptick among frontier economies in the region. The analysis of the determinants of capital flows suggests that in general pull and push factors are the driving forces of gross flows into countries across the world, especially better economic performance, a sound general government primary balance, improved quality of institutions, and greater degree of financial openness. The main findings of this paper suggest that the impact of both pull and push factors on gross inflows across the world has become stronger in the 2000s. Financial openness helps attract gross capital inflows in the 2000s. Trade openness was a complement to gross inflows in 1980-99 and works as a substitute of gross inflows in 2000-17 (especially FDI inflows). Macroeconomic policy can play an important role in attracting capital inflows across the world. For example, fiscal discipline promotes greater other investments inflows and less flexible exchange rate arrangements (more exchange rate stability) foster 15    portfolio investments inflows. Capital flow behavior for Sub-Saharan African countries is different from that of industrial countries due to different economic structures which render different transmission processes. Plausible policy recommendations arising from the analysis suggest the need to diversify the economic and export structure to mitigate volatility from oil and commodity prices, develop deeper domestic financial markets, and implement policies to promote a productive business environment and create investment opportunities. Our empirical evidence suggests that financial openness would attract all types of capital inflows, therefore, a priority should be to develop the domestic financial markets in Sub-Saharan Africa. Policies that improve the business environment for domestic private sector firms will foster sustained foreign financing in productive activities, because FDI and foreign aid are the main sources of financing in some countries in the region because public sector participation in the economy is currently larger than private sector business activity.      16    References Acemoglu, Daron and Fabrizio Zilibotti (1997) “Was Prometheus Unbound by Chance? Risk, Diversification, and Growth.” Journal of Political Economy 105(4): 709-751. Acharya, Viral, and Philipp Schnabl (2010) “Do Global Banks Spread Global Imbalances? Asset-Backed Commercial Paper during the Financial Crisis of 2007–09.” IMF Economic Review 58(1): 37-73. Avdjiev, Stefan, Leonardo Gambacorta, Linda S. Goldberg, and Stefano Schiaffi (2017) “The Shifting Drivers of Global Liquidity.” Federal Reserve Bank of New York Staff Report 819, June. Baker, Scott R., Nicholas Bloom, and Steven J. Davis (2015) “Measuring Economic Policy Uncertainty.” NBER Working Paper 21633, October. Calvo, Guillermo, Leonardo Leiderman, and Carmen Reinhart (1993) “Capital Inflows and Real Exchange Rate Appreciation in Latin America: The Role of External Factors.” IMF Staff Papers 40(1): 108-151. Chinn, Menzie D. and Hiro Ito (2006) “What Matters for Financial Development? Capital Controls, Institutions, and Interactions.” Journal of Development Economics 81(1): 163-192. Chuhan, Punam, Stijn Claessens, and Nlandu Mamingi (1998) “Equity and bond flows to Latin America and Asia: the role of global and country factors.” Journal of Development Economics 55: 439-463. Calderón, César, and Megumi Kubota (2009) “Does Financial Openness Lead to Deeper Domestic Financial Markets?” Policy Research Working Paper 4973, World Bank, Washington, DC. Calderón, César, and Megumi Kubota (2012) “Gross Inflows Gone Wild: Gross Capital Inflows, Credit Booms and Crises.” The World Bank Policy Research Working Paper Series WPS 6270, Washington, DC: The World Bank. Calderón, César, and Megumi Kubota (2019) “Ride the wild surf: An investigation of the drivers of surges in capital inflows.” Journal of International Money and Finance 92: 112-136. Calderón, César, and Klaus Schmidt-Hebbel (2008) “Business Cycles and Fiscal Policies: The Role of Institutions and Financial Markets.” Working Paper 481, Central Bank of Chile, Santiago, Chile. Cardarelli, Roberto, Selim Elekdag, and M. Ayhan Kose (2010) “Capital inflows: Macroeconomic implications and policy responses.” Economic Systems 34(4): 333-356. Doguwa, Sani. I., Mohammed M. Tumala and Olufemi I. Ajibola. (2014) “Destination Sectors and Originating Economies of Nigeria’s Private Foreign Assets and Liabilities in 2012.” CBN Journal of Applied Statistics Vol. 5 No.1. Fernandez-Arias, Eduardo and Peter J. Montiel (1996) “The Surge in Capital Inflows to Developing Countries: An Analytical Overview.” The World Bank Economic Review 10: 51–77. Forbes, Kristin J., and Francis E. Warnock (2012) “Capital Flow Waves: Surges, stops, flight and retrenchment.” Journal of International Economics 88: 235-251. Ghosh, Atish R., Mahvash S. Qureshi, Jun Il Kim, and Juan Zalduendo (2014) “Surges.” Journal of International Economics 92: 266-285. 17    Grossman, Gene M., and Elhanan Helpman (1991) Innovation and Growth in the Global Economy. Cambridge, MA: MIT Press. Haskel, Jonathan E., Sonia C. Pereira, and Matthew J. Slaughter (2007) “Does Inward Foreign Direct Investment Boost the Productivity of Domestic Firms?” The Review of Economics and Statistics 89(3): 482- 496. Ilzetzki, E. O., C. M. Reinhart, and K. Rogoff (2017) “Exchange Rate Arrangements Entering the 21st Century: Which Anchor Will Hold?” NBER Working Paper Series 23134, National Bureau of Economic Research, Cambridge, MA. Kaminsky, Graciela L. and Carmen M. Reinhart (1999) “The Twin Crises: The Causes of Banking and Balance-of-Payments Problems.” The American Economic Review 89(3): 473-500. Kaminsky, Graciela L., Carmen M. Reinhart, and Carlos A. Vegh (2005) “When It Rains, It Pours: Procyclical Capital Flows and Macroeconomic Policies.” In NBER Macroeconomics Annual 2004, vol. 19, edited by M. Gertler and K. Rogoff. Cambridge, MA: National Bureau of Economic Research. Kose, M. Ayhan, Eswar S. Prasad, and Ashley D. Taylor (2011) “Thresholds in the process of international financial integration.” Journal of International Money and Finance 30(1): 147-179. Kose, M. Ayhan, Eswar S. Prasad, and Marco E. Terrones (2009) “Does openness to international financial flows raise productivity growth?” Journal of International Money and Finance 28(4): 554-580. Popov, Alexander A. (2011) “Output Growth and Fluctuations: The Role of Financial Openness.” ECB Working Paper No. 1368, August. Reinhart, Carmen M., and Vincent Reinhart (2009) “Capital Flow Bonanzas: An Encompassing View of the Past and Present.” In: Frankel, Jeffrey A. and Christopher Pissarides (eds.) NBER International Seminar on Macroeconomics 2008. Chicago, IL: University of Chicago Press, pp. 9-62. Shin, Hyun Song (2014) “The Second Phase of Global Liquidity and its Impact on Emerging Economies.” In: Volatile Capital Flows in Korea: Current Policies and Future Responses, edited by Kyuil Chung, Soyoung Kim, Hail Park, Changho Choi, and Hyun Song Shin. New York: Palgrave Macmillan, pp. 247- 257. Tytell, Irina, and Shang-Jin Wei (2005) “Global Capital Flows and National Policy Choices.” International Monetary Fund, Washington, DC. (manuscript). UNCTAD (2018) World Investment Report 2018: Investment and New Industrial Policies. United Nations, Geneva. World Bank (2018a) Africa’s Pulse, Volume 17 – April 2018. World Bank, Washington, DC. World Bank. (2018b) “Migration and Remittances: Recent Developments and Outlook–Transit Migration.” Migration and Development Brief 29. World Bank, Washington, DC. 18    Table 1 Drivers of Gross Capital Inflows in the World, 1980‐2017 Dependent Variable: GROSS Inflows, Total and By Type (% GDP) Sample: 104 countries, 1980‐2017 (annual) Estimation method: Instrumental Variables (IV) Gross Type of Gross Inflows Gross Type of Gross Inflows Inflows FDI PI OI Inflows FDI PI OI VARIABLES [1] [2] [3] [4] [5] [6] [7] [8] Domestic Factors GDP Growth 0.00988* 0.00539** 0.00398* 0.00177 0.0106* 0.00511* 0.00395 0.00247 (0.00555) (0.00271) (0.00240) (0.00407) (0.00590) (0.00289) (0.00256) (0.00433) GDP per capita 0.131*** 0.0134 0.0762*** 0.0515* 0.123*** 0.0146 0.0712*** 0.0468 (in logs) (0.0408) (0.0206) (0.0183) (0.0300) (0.0399) (0.0201) (0.0178) (0.0293) CPI Inflation 0.00163*** 0.000522* 0.000819*** 0.000422 0.00155*** 0.000598** 0.000794*** 0.000331 (0.000621) (0.000301) (0.000268) (0.000459) (0.000601) (0.000289) (0.000257) (0.000444) Primary Balance 0.00196* -0.00198*** 0.000336 0.00234*** 0.00160 -0.00200*** 0.000128 0.00219*** (% of GDP) (0.00102) (0.000460) (0.000409) (0.000751) (0.00103) (0.000466) (0.000415) (0.000763) Exchange rate flexibility -0.000902 -0.00108 -0.00219*** 0.00245* -0.000155 -0.00114 -0.00181** 0.00290** (0.00181) (0.000874) (0.000778) (0.00134) (0.00185) (0.000901) (0.000800) (0.00137) Investment Profile 0.0173*** 0.00374*** 0.00515*** 0.00874*** 0.0132*** 0.00354** 0.00275** 0.00671*** (0.00264) (0.00128) (0.00114) (0.00195) (0.00316) (0.00155) (0.00138) (0.00233) Government Stability .. .. .. .. 0.000293 0.00159 0.00163 -0.00144 (0.00318) (0.00149) (0.00132) (0.00235) Socioeconomic Conditions .. .. .. .. 0.0103** -0.00137 0.00524*** 0.00654** (0.00417) (0.00203) (0.00180) (0.00307) Corruption .. .. .. .. -0.0138** -0.00733** -0.00596** -0.00590 (0.00630) (0.00295) (0.00261) (0.00466) Trade Openness -0.0255 -0.00989 -0.0134 -0.00465 -0.0245 -0.00846 -0.0128 -0.00459 (% of GDP, logs) (0.0231) (0.0111) (0.00993) (0.0171) (0.0234) (0.0112) (0.0100) (0.0173) Financial Openness 0.0220*** 0.00474* 0.00663*** 0.00893** 0.0202*** 0.00418* 0.00593*** 0.00802** (Chinn‐Ito Index) (0.00521) (0.00249) (0.00221) (0.00385) (0.00524) (0.00249) (0.00222) (0.00387) External Factors Foreign Growth 0.00303* 0.000577 0.000132 0.00256** 0.00317* 0.000391 6.75e-05 0.00280** (0.00171) (0.000803) (0.000716) (0.00126) (0.00169) (0.000797) (0.000711) (0.00125) VIX Index -0.0186 0.0126 0.00461 -0.0280** -0.0103 0.00617 0.00413 -0.0178 (0.0189) (0.00926) (0.00815) (0.0140) (0.0249) (0.0122) (0.0107) (0.0184) US Economic Policy -0.000297* -0.000224*** -8.92e-05 -7.44e-05 -0.000327* -0.000168* -7.76e-05 -0.000129 Uncertainty (0.000160) (7.59e-05) (6.75e-05) (0.000118) (0.000182) (8.66e-05) (7.67e-05) (0.000135) Commodity Terms of -0.0324 0.00766 -0.00392 -0.0313** -0.0295 0.00891 -0.00240 -0.0303* Trade (0.0215) (0.0102) (0.00912) (0.0159) (0.0215) (0.0102) (0.00909) (0.0159) Oil Price -0.0428** -0.00859 0.00820 -0.0406*** -0.0414** -0.0160* 0.00906 -0.0371*** (in logs) (0.0169) (0.00801) (0.00715) (0.0125) (0.0181) (0.00857) (0.00763) (0.0134) Minerals and Metals 0.0327 0.0394*** -0.0358*** 0.0293 0.0333 0.0460*** -0.0351*** 0.0267 Prices (in logs) (0.0250) (0.0118) (0.0105) (0.0185) (0.0250) (0.0118) (0.0105) (0.0185) Observations 2,110 2,149 2,154 2,113 2,110 2,149 2,154 2,113 No. Countries 103 104 104 103 103 104 104 103 Standard errors in parentheses. *** p<0.01, ** p<0.05, * p<0.1 19    Table 2 Drivers of Gross Capital Inflows, 1980‐2017: INDUSTRIAL COUNTRIES Dependent Variable: GROSS Inflows, Total and By Type (% GDP) Sample: 22 countries, 1980‐2017 (annual) Estimation method: Instrumental Variables (IV) Gross Type of Gross Inflows Gross Type of Gross Inflows Inflows FDI PI OI Inflows FDI PI OI VARIABLES [1] [2] [3] [4] [5] [6] [7] [8] Domestic Factors GDP Growth 0.00724 -0.00535 0.0115 -0.000940 0.0133 -0.00208 0.0146* 0.000786 (0.0140) (0.00585) (0.00771) (0.00958) (0.0147) (0.00598) (0.00830) (0.0102) GDP per capita 0.434*** 0.0615 0.477*** -0.0800 0.409*** 0.132** 0.496*** -0.161 (in logs) (0.145) (0.0606) (0.0804) (0.0998) (0.148) (0.0592) (0.0824) (0.102) CPI Inflation 0.0218*** -0.00396 0.0118*** 0.0112*** 0.0247*** -0.00162 0.0135*** 0.0116*** (0.00631) (0.00262) (0.00348) (0.00433) (0.00649) (0.00263) (0.00366) (0.00448) Primary Balance 0.00329 -0.00111 -0.000239 0.00484*** 0.00305 0.000271 0.000207 0.00329* (% of GDP) (0.00272) (0.00113) (0.00150) (0.00186) (0.00279) (0.00111) (0.00155) (0.00193) Exchange rate flexibility -0.00376 -0.00339 -0.00341 0.00171 -0.00414 -0.00486** -0.00407 0.00283 (0.00536) (0.00223) (0.00296) (0.00368) (0.00532) (0.00214) (0.00298) (0.00368) Investment Profile 0.0215*** 0.00101 0.00248 0.0179*** 0.0136* 0.00619* 0.00228 0.00670 (0.00673) (0.00281) (0.00372) (0.00462) (0.00825) (0.00332) (0.00462) (0.00570) Government Stability .. .. .. .. 0.00543 0.000917 0.00157 0.00581 (0.00880) (0.00354) (0.00493) (0.00608) Socioeconomic Conditions .. .. .. .. 0.0115 -0.0204*** -0.00435 0.0267*** (0.0132) (0.00511) (0.00711) (0.00916) Corruption .. .. .. .. -0.0443** -0.0222*** -0.0208** -0.0112 (0.0180) (0.00707) (0.00983) (0.0124) Trade Openness -0.175 -0.00423 -0.159** -0.0114 -0.189 -0.0271 -0.173*** -0.00179 (% of GDP, logs) (0.118) (0.0493) (0.0653) (0.0811) (0.118) (0.0477) (0.0663) (0.0813) Financial Openness 0.117*** -0.0107 0.0456*** 0.0667*** 0.110*** -0.0157** 0.0421*** 0.0680*** (Chinn‐Ito Index) (0.0195) (0.00800) (0.0106) (0.0134) (0.0195) (0.00769) (0.0107) (0.0135) External Factors Foreign Growth 0.00450 0.00608** 0.00145 -0.000821 0.00116 0.00611** 0.000527 -0.00406 (0.00698) (0.00290) (0.00384) (0.00479) (0.00705) (0.00284) (0.00395) (0.00487) VIX Index -0.101** 0.0108 -0.00396 -0.0941*** -0.121** 0.0102 -0.00899 -0.117*** (0.0468) (0.0192) (0.0253) (0.0321) (0.0542) (0.0218) (0.0302) (0.0374) US Economic Policy -0.00109** -0.000531*** -0.000202 -0.000485 -0.000838* -0.000384** -7.68e-05 -0.000377 Uncertainty (0.000449) (0.000187) (0.000248) (0.000308) (0.000460) (0.000186) (0.000259) (0.000318) Commodity Terms of -0.745 0.113 -0.424 -0.319 -0.717 0.0571 -0.438 -0.257 Trade (0.519) (0.216) (0.287) (0.356) (0.509) (0.206) (0.286) (0.352) Oil Price -0.0360 -0.00605 0.0256 -0.0550 -0.0656 -0.0109 0.0158 -0.0721** (in logs) (0.0497) (0.0205) (0.0272) (0.0341) (0.0495) (0.0198) (0.0275) (0.0342) Minerals and Metals -0.0435 0.00813 -0.0940** 0.0315 0.0133 0.0137 -0.0761* 0.0732 Prices (in logs) (0.0739) (0.0308) (0.0407) (0.0507) (0.0768) (0.0310) (0.0430) (0.0531) Constant -0.0702 -1.058 -2.215 2.473 0.181 -1.249 -2.205 2.845 (2.612) (1.088) (1.442) (1.792) (2.564) (1.034) (1.437) (1.772) Observations 554 565 566 554 554 565 566 554 No. Countries 22 22 22 22 22 22 22 22 Standard errors in parentheses. *** p<0.01, ** p<0.05, * p<0.1 20    Table 3 Drivers of Gross Capital Inflows, 1980‐2017: DEVELOPING COUNTRIES EXCLUDING SUB‐SAHARAN AFRICA Dependent Variable: GROSS Inflows, Total and By Type (% GDP) Sample: 56 countries, 1980‐2017 (annual) Estimation method: Instrumental Variables (IV) Gross Type of Gross Inflows Gross Type of Gross Inflows Inflows FDI PI OI Inflows FDI PI OI VARIABLES [1] [2] [3] [4] [5] [6] [7] [8] Domestic Factors GDP Growth 0.0202*** 0.00273 0.000964 0.0164*** 0.0205*** 0.00295 0.000647 0.0168*** (0.00695) (0.00416) (0.00139) (0.00508) (0.00717) (0.00432) (0.00143) (0.00521) GDP per capita 0.0986* 0.00354 -0.00177 0.0956*** 0.0853* 0.00654 -0.00331 0.0809** (in logs) (0.0505) (0.0301) (0.0101) (0.0369) (0.0488) (0.0293) (0.00970) (0.0355) CPI Inflation 0.00131** 0.000438 -4.24e-05 0.000900* 0.00140** 0.000417 -5.75e-06 0.000980** (0.000658) (0.000389) (0.000132) (0.000481) (0.000659) (0.000390) (0.000132) (0.000479) Primary Balance -0.000657 -0.000842 -0.000698** 0.000907 -0.000835 -0.000768 -0.000812*** 0.000792 (% of GDP) (0.00153) (0.000899) (0.000305) (0.00112) (0.00154) (0.000908) (0.000306) (0.00112) Exchange rate flexibility 0.000870 -0.000734 -0.000392 0.00212 0.00121 -0.000799 -0.000344 0.00246* (0.00189) (0.00112) (0.000384) (0.00138) (0.00191) (0.00114) (0.000386) (0.00138) Investment Profile 0.0118*** 0.00442** 0.000810 0.00644** 0.00904** 0.00496** 0.000285 0.00371 (0.00353) (0.00211) (0.000722) (0.00258) (0.00388) (0.00232) (0.000788) (0.00281) Government Stability .. .. .. .. -0.00140 -0.000697 0.00197*** -0.00263 (0.00347) (0.00206) (0.000692) (0.00252) Socioeconomic Conditions .. .. .. .. 0.0144*** -0.00191 0.000355 0.0159*** (0.00513) (0.00304) (0.00102) (0.00372) Corruption .. .. .. .. -0.00367 0.000472 -0.00123 -0.00296 (0.00699) (0.00415) (0.00141) (0.00507) Trade Openness -0.0626** -0.0134 -0.00708 -0.0417** -0.0534* -0.0144 -0.00726 -0.0312 (% of GDP, logs) (0.0279) (0.0165) (0.00570) (0.0204) (0.0273) (0.0163) (0.00556) (0.0198) Financial Openness 0.0127** 0.00868*** 0.000324 0.00349 0.0110** 0.00893*** 0.000227 0.00173 (Chinn‐Ito Index) (0.00547) (0.00325) (0.00110) (0.00399) (0.00540) (0.00322) (0.00109) (0.00392) External Factors Foreign Growth -0.000133 0.000226 -0.000556* 0.000252 0.000401 0.000217 -0.000695** 0.000926 (0.00158) (0.000928) (0.000317) (0.00116) (0.00155) (0.000916) (0.000311) (0.00113) VIX Index 0.0409 0.00229 -0.00472 0.0433** 0.0640* 0.00218 -0.00994 0.0715*** (0.0270) (0.0160) (0.00532) (0.0197) (0.0352) (0.0210) (0.00690) (0.0256) US Economic Policy -0.000370* -0.000136 0.000101*** -0.000330** -0.000521** -0.000134 0.000139*** -0.000517*** Uncertainty (0.000191) (0.000111) (3.78e-05) (0.000139) (0.000232) (0.000136) (4.55e-05) (0.000168) Commodity Terms of -0.00484 -0.00399 -0.00189 0.00265 -0.00871 -0.00379 -0.000977 -0.00235 Trade (0.0296) (0.0177) (0.00605) (0.0216) (0.0293) (0.0175) (0.00595) (0.0213) Oil Price -0.0458** -0.0106 0.00579 -0.0403*** -0.0270 -0.0131 0.00523 -0.0186 (in logs) (0.0191) (0.0112) (0.00383) (0.0140) (0.0208) (0.0123) (0.00416) (0.0151) Minerals and Metals 0.100*** 0.0354** -0.00520 0.0698*** 0.0796*** 0.0375** -0.00371 0.0453** Prices (in logs) (0.0282) (0.0166) (0.00572) (0.0206) (0.0284) (0.0167) (0.00567) (0.0206) Observations 1,110 1,127 1,132 1,112 1,110 1,127 1,132 1,112 No. Countries 55 56 56 55 55 56 56 55 Standard errors in parentheses. *** p<0.01, ** p<0.05, * p<0.1 21    Table 4 Drivers of Gross Capital Inflows, 1980‐2017: SUB‐SAHARAN AFRICA Dependent Variable: GROSS Inflows, Total and By Type (% GDP) Sample: 26 countries, 1980‐2017 (annual) Estimation method: Instrumental Variables (IV) Gross Type of Gross Inflows Gross Type of Gross Inflows Inflows FDI PI OI Inflows FDI PI OI VARIABLES [1] [2] [3] [4] [5] [6] [7] [8] Domestic Factors GDP Growth -0.0367 0.0150 -0.000593 -0.0431 -0.0258 0.00496 -0.000614 -0.0285 (0.0305) (0.0149) (0.00229) (0.0310) (0.0221) (0.00786) (0.00174) (0.0217) GDP per capita -0.308 0.0912 0.00323 -0.311 -0.225 -0.00252 0.00290 -0.204 (in logs) (0.305) (0.173) (0.0269) (0.308) (0.226) (0.0949) (0.0214) (0.218) CPI Inflation -7.92e-05 0.000395 -9.76e-05 -0.000264 4.22e-05 0.000419 -0.000102 -0.000155 (0.00136) (0.000580) (8.12e-05) (0.00149) (0.00119) (0.000396) (8.29e-05) (0.00123) Primary Balance -0.00117 -0.00293*** -0.000110 -0.000690 -0.000130 -0.00357*** -0.000112 0.000748 (% of GDP) (0.00266) (0.000920) (0.000137) (0.00276) (0.00215) (0.000568) (0.000122) (0.00215) Exchange rate flexibility -0.00727 0.00613 -0.000529 -0.00690 -0.000445 -0.00119 -0.000579 0.00219 (0.0168) (0.0108) (0.00161) (0.0179) (0.0119) (0.00565) (0.00120) (0.0123) Investment Profile 0.0103 0.00950** 0.000873 0.00515 0.00802 0.00630** 0.00105 0.00340 (0.00981) (0.00461) (0.000609) (0.0111) (0.0103) (0.00309) (0.000655) (0.0101) Government Stability -0.00851 0.00968*** -4.17e-05 -0.0135* (0.00766) (0.00230) (0.000483) (0.00808) Socioeconomic Conditions -0.0222 0.0146** 8.43e-05 -0.0296 (0.0198) (0.00707) (0.00161) (0.0189) Corruption -0.0205 -0.00890 0.000968 -0.0222 (0.0219) (0.00621) (0.00130) (0.0225) Trade Openness 0.111 -0.0166 0.00238 0.112 0.0751 0.0124 0.00265 0.0637 (% of GDP, logs) (0.0853) (0.0461) (0.00665) (0.0930) (0.0566) (0.0230) (0.00474) (0.0598) Financial Openness 0.00922 -0.0197* -0.000277 0.0263 -0.00583 -0.0124* -0.000146 0.00672 (Chinn‐Ito Index) (0.0268) (0.0104) (0.00150) (0.0285) (0.0198) (0.00651) (0.00136) (0.0204) External Factors Foreign Growth 0.0219** 0.000746 -0.000204 0.0206** 0.0206*** -0.000373 -0.000177 0.0194*** (0.00856) (0.00333) (0.000466) (0.00926) (0.00696) (0.00240) (0.000501) (0.00718) VIX Index -0.110* 0.0129 -0.00872* -0.105 -0.0782 -0.0284 -0.00872* -0.0556 (0.0582) (0.0360) (0.00516) (0.0644) (0.0614) (0.0240) (0.00494) (0.0648) US Economic Policy 0.00176*** -0.000188 5.95e-05 0.00158** 0.00156*** 0.000131 5.70e-05 0.00127** Uncertainty (0.000622) (0.000333) (4.71e-05) (0.000691) (0.000585) (0.000214) (4.38e-05) (0.000619) Commodity Terms of 0.0348 0.00758 0.00219 0.0256 0.0291 0.0183 0.00201 0.0160 Trade (0.0421) (0.0191) (0.00266) (0.0467) (0.0357) (0.0121) (0.00248) (0.0375) Oil Price 0.0365 -0.0103 0.00163 0.0343 -0.0100 0.00215 0.00232 -0.0209 (in logs) (0.0581) (0.0221) (0.00336) (0.0591) (0.0485) (0.0170) (0.00347) (0.0510) Minerals and Metals -0.00422 0.0336 -0.00262 -0.0311 0.0320 0.0341 -0.00331 0.0119 Prices (in logs) (0.0703) (0.0317) (0.00447) (0.0771) (0.0716) (0.0267) (0.00570) (0.0732) Observations 446 457 456 447 446 457 456 447 No. Countries 26 26 26 26 26 26 26 26 Standard errors in parentheses. *** p<0.01, ** p<0.05, * p<0.1 22    Table 5 Drivers of Gross Capital Inflows, 1980‐2017: NATURAL RESOURCE ABUNDANT COUNTRIES Dependent Variable: GROSS Inflows, Total and By Type (% GDP) Sample: 18 countries, 1980‐2017 (annual) Estimation method: Instrumental Variables (IV) Gross Type of Gross Inflows Gross Type of Gross Inflows Inflows FDI PI OI Inflows FDI PI OI VARIABLES [1] [2] [3] [4] [5] [6] [7] [8] Domestic Factors GDP Growth -0.0235 0.00816 -0.00122 -0.0278 -0.0260 0.00694 -0.00141 -0.0297 (0.0157) (0.00824) (0.00153) (0.0169) (0.0189) (0.00898) (0.00183) (0.0201) GDP per capita -0.273 0.0326 -0.00841 -0.294 -0.294 0.0293 -0.00884 -0.314 (in logs) (0.194) (0.113) (0.0206) (0.208) (0.210) (0.114) (0.0228) (0.223) CPI Inflation -4.12e-05 0.000475 -0.000158* -0.000174 0.000122 0.000637 -0.000148 -1.60e-05 (0.00117) (0.000427) (8.84e-05) (0.00125) (0.00130) (0.000425) (9.54e-05) (0.00139) Primary Balance 0.00208 -0.00460*** 0.000162 0.00199 0.00214 -0.00493*** 0.000149 0.00222 (% of GDP) (0.00262) (0.000801) (0.000161) (0.00282) (0.00286) (0.000762) (0.000166) (0.00304) Exchange rate flexibility -0.00690 0.00328 -0.00143 -0.00698 -0.00795 0.00353 -0.00166 -0.00743 (0.00850) (0.00507) (0.000981) (0.00915) (0.00938) (0.00556) (0.00117) (0.00997) Investment Profile 0.00830 0.0155*** 0.00174*** -0.00715 0.0123 0.00969*** 0.00172** -0.000157 (0.00932) (0.00308) (0.000636) (0.0100) (0.0118) (0.00341) (0.000774) (0.0125) Government Stability .. .. .. .. -0.00141 0.00933** 0.000797 -0.00654 (0.0138) (0.00385) (0.000860) (0.0147) Socioeconomic Conditions .. .. .. .. -0.0168 0.00837 -0.00172 -0.0193 (0.0164) (0.00805) (0.00171) (0.0174) Corruption .. .. .. .. -0.0164 -0.00736 0.00261 -0.0302 (0.0273) (0.00765) (0.00170) (0.0291) Trade Openness 0.0985 -0.0276 0.0139 0.102 0.118 -0.0207 0.0131 0.126 (% of GDP, logs) (0.0965) (0.0441) (0.00883) (0.104) (0.114) (0.0458) (0.00993) (0.122) Financial Openness 0.00865 -0.0141* -0.000974 0.0192 0.0151 -0.00961 -0.000260 0.0243 (Chinn‐Ito Index) (0.0193) (0.00766) (0.00155) (0.0208) (0.0267) (0.0100) (0.00215) (0.0284) External Factors Foreign Growth 0.0178** 0.00145 -0.00209*** 0.0198** 0.0164** 0.00105 -0.00237*** 0.0187** (0.00715) (0.00267) (0.000548) (0.00769) (0.00759) (0.00301) (0.000660) (0.00806) VIX Index -0.141*** 0.0182 -0.0145*** -0.134*** -0.159* -0.00341 -0.0196** -0.136 (0.0471) (0.0235) (0.00445) (0.0507) (0.0853) (0.0381) (0.00786) (0.0906) US Economic Policy 0.00219*** -0.000418 0.000119** 0.00210*** 0.00239** -0.000219 0.000152* 0.00221** Uncertainty (0.000691) (0.000295) (5.78e-05) (0.000743) (0.00103) (0.000399) (8.45e-05) (0.00110) Commodity Terms of 0.0442 0.0105 0.00384 0.0359 0.0362 0.0165 0.00249 0.0274 Trade (0.0556) (0.0194) (0.00404) (0.0599) (0.0577) (0.0191) (0.00426) (0.0613) Oil Price -0.0343 0.000514 -0.00771* -0.00529 -0.0759 0.00427 -0.0107* -0.0540 (in logs) (0.0523) (0.0190) (0.00394) (0.0563) (0.0701) (0.0283) (0.00611) (0.0745) Minerals and Metals 0.0390 0.0518 0.00377 -0.0183 0.0884 0.0424 0.00645 0.0437 Prices (in logs) (0.0799) (0.0338) (0.00634) (0.0860) (0.101) (0.0451) (0.00882) (0.107) Observations 310 336 340 310 310 336 340 310 No. Countries 17 18 18 17 17 18 18 17 Standard errors in parentheses. *** p<0.01, ** p<0.05, * p<0.1 23    Table 6 Drivers of Gross Capital Inflows: WORLD, 1980‐99 vs. 2000‐17 Dependent Variable: GROSS Inflows, Total and By Type (% GDP) Sample: 104 countries, 1980‐2017 (annual) Estimation method: Instrumental Variables (IV) Total Total FDI FDI PI PI OI OI Variables 1980-99 2000-17 1980-99 2000-17 1980-99 2000-17 1980-99 2000-17 Domestic Factors GDP Growth 0.0181 0.0139** 0.00642 0.00705** 0.00645 0.00470* 0.00572 0.00381 (0.0128) (0.00623) (0.00505) (0.00318) (0.00673) (0.00248) (0.00794) (0.00470) GDP per capita 0.963*** 0.136** 0.214 0.0405 0.411** 0.0546** 0.342 0.0703 (in logs) (0.344) (0.0665) (0.136) (0.0353) (0.182) (0.0275) (0.213) (0.0502) CPI Inflation 0.00167** 0.000908 1.16e-05 0.000745* 0.000670* 0.000260 0.000949** 6.27e-05 (0.000732) (0.000837) (0.000289) (0.000410) (0.000384) (0.000321) (0.000453) (0.000635) Primary Balance -0.00330* 0.00402*** 0.000484 -0.00256*** -0.000242 0.00124*** -0.00318*** 0.00353*** (% of GDP) (0.00184) (0.00122) (0.000725) (0.000559) (0.000969) (0.000437) (0.00114) (0.000928) Exchange rate flexibility -0.0107*** 0.00315 -7.74e-05 -0.00106 -0.00604*** 5.09e-05 -0.00457** 0.00479** (0.00341) (0.00279) (0.00134) (0.00141) (0.00179) (0.00110) (0.00211) (0.00212) Investment Profile -0.00456 0.0207*** 0.000773 0.00101 0.00170 0.00570*** -0.00651** 0.0128*** (0.00467) (0.00386) (0.00184) (0.00194) (0.00246) (0.00153) (0.00289) (0.00294) Trade Openness 0.0404 -0.0247 -0.0150 -0.0260* 0.0216 -0.0203* 0.0344 0.0107 (% of GDP, logs) (0.0739) (0.0311) (0.0291) (0.0154) (0.0389) (0.0121) (0.0457) (0.0237) Financial Openness 0.0234*** 0.0347*** 0.00129 0.00617 0.00770* 0.0114*** 0.0120** 0.0157** (Chinn‐Ito Index) (0.00800) (0.00813) (0.00314) (0.00399) (0.00419) (0.00313) (0.00495) (0.00616) External Factors Foreign Growth -0.00252 0.00369* 0.000677 0.000529 -0.00382 0.000442 0.00159 0.00320** (0.00916) (0.00192) (0.00362) (0.000956) (0.00483) (0.000747) (0.00567) (0.00146) VIX Index 0.0148 3.13e-07 0.0194** 0.0148 -0.00270 0.00791 0.00155 -0.0116 (0.0204) (0.0338) (0.00801) (0.0174) (0.0107) (0.0134) (0.0126) (0.0256) US Economic Policy 0.00207** -0.000373 0.000380 -0.000276** 0.00115*** -0.000107 0.000597 -0.000128 Uncertainty (0.000810) (0.000241) (0.000320) (0.000121) (0.000428) (9.40e-05) (0.000501) (0.000183) Commodity Terms of -0.694 -0.0250 -0.266 0.00431 -0.251 -0.00316 -0.174 -0.0247 Trade (in logs) (0.510) (0.0238) (0.200) (0.0117) (0.267) (0.00919) (0.315) (0.0180) Oil Price 0.0668 -0.0130 -0.00712 -0.0148 0.00907 0.0356*** 0.0522** -0.0334 (in logs) (0.0416) (0.0304) (0.0163) (0.0151) (0.0216) (0.0117) (0.0257) (0.0231) Minerals and Metals 0.0174 0.00754 -0.00839 0.0498*** 0.0449 -0.0597*** -0.0193 0.0187 Prices (in logs) (0.0792) (0.0345) (0.0314) (0.0171) (0.0419) (0.0133) (0.0490) (0.0262) Observations 441 1,669 450 1,699 451 1,703 441 1,672 No. Countries 67 103 68 104 68 104 67 103 Standard errors in parentheses. *** p<0.01, ** p<0.05, * p<0.1 24    Table 7 Drivers of Gross Capital Inflows: INDUSTRIAL COUNTRIES, 1980‐99 vs. 2000‐17 Dependent Variable: GROSS Inflows, Total and By Type (% GDP) Sample: 22 countries, 1980‐2017 (annual) Estimation method: Instrumental Variables (IV) Total Total FDI FDI PI PI OI OI Variables 1980-99 2000-17 1980-99 2000-17 1980-99 2000-17 1980-99 2000-17 Domestic Factors GDP Growth -0.00406 0.0172 -0.000112 0.00318 -0.00353 0.0135 -0.00297 0.000606 (0.0118) (0.0162) (0.00581) (0.00721) (0.00821) (0.00918) (0.00738) (0.0126) GDP per capita 2.244*** -0.278 0.255* -0.174* 1.235*** 0.0167 0.701*** -0.127 (in logs) (0.315) (0.235) (0.150) (0.104) (0.212) (0.133) (0.196) (0.182) CPI Inflation -0.0102* 0.0211* -0.00192 -0.00511 -0.00625* 0.00722 -0.00235 0.0166* (0.00553) (0.0119) (0.00257) (0.00527) (0.00349) (0.00671) (0.00345) (0.00922) Primary Balance -0.00761** 0.0155*** 0.00126 -0.000970 -0.00451** 0.00624*** -0.00426** 0.0107*** (% of GDP) (0.00342) (0.00355) (0.00159) (0.00157) (0.00225) (0.00200) (0.00213) (0.00275) Exchange rate flexibility -0.0128* 0.00650 0.000860 -0.00255 -0.0115** 0.00496 -0.00267 0.00421 (0.00707) (0.00979) (0.00328) (0.00435) (0.00464) (0.00554) (0.00441) (0.00760) Investment Profile -0.0273*** 0.0232*** -0.00608 0.000570 -0.00645 0.0121** -0.0127** 0.00938 (0.00915) (0.00869) (0.00425) (0.00386) (0.00600) (0.00492) (0.00571) (0.00674) Trade Openness 0.437* -0.461*** 0.106 -0.0847 0.194 -0.112 0.138 -0.287** (% of GDP, logs) (0.248) (0.152) (0.118) (0.0675) (0.166) (0.0860) (0.155) (0.118) Financial Openness -0.0123 0.306*** -0.0160** 0.00110 -0.00231 0.108*** -0.00340 0.171*** (Chinn‐Ito Index) (0.0173) (0.0339) (0.00777) (0.0148) (0.0110) (0.0189) (0.0108) (0.0263) External Factors Foreign Growth -0.000306 -0.0127 0.00497 0.00275 0.00245 0.000869 -0.00317 -0.0148** (0.0140) (0.00817) (0.00664) (0.00361) (0.00938) (0.00460) (0.00874) (0.00634) VIX Index -0.0519 -0.226*** 0.0264 0.000584 -0.0660** 0.00189 -0.00242 -0.215*** (0.0473) (0.0791) (0.0218) (0.0352) (0.0308) (0.0448) (0.0295) (0.0613) US Economic Policy 0.00403*** 0.000156 0.000600 -0.000358 0.00327*** -6.35e-05 -8.47e-05 0.000494 Uncertainty (0.000991) (0.000500) (0.000444) (0.000222) (0.000626) (0.000283) (0.000618) (0.000388) Commodity Terms of 1.688 -0.841 0.172 0.0626 1.411 -0.419 0.163 -0.375 Trade (1.478) (0.601) (0.658) (0.267) (0.931) (0.340) (0.922) (0.467) Oil Price 0.221*** -0.0955 -0.0290 -0.0312 0.117** 0.0997** 0.0984** -0.173*** (in logs) (0.0773) (0.0722) (0.0351) (0.0320) (0.0494) (0.0408) (0.0482) (0.0560) Minerals and Metals 0.0442 0.156* -0.0381 0.0979** 0.0561 -0.122** -0.00900 0.191*** Prices (in logs) (0.132) (0.0918) (0.0627) (0.0406) (0.0884) (0.0517) (0.0824) (0.0712) Observations 162 392 171 394 172 394 162 392 Number of cnum 20 22 21 22 21 22 20 22 Standard errors in parentheses. *** p<0.01, ** p<0.05, * p<0.1 25    Table 8 Drivers of Gross Capital Inflows: DEVELOPING COUNTRIES, 1980‐99 vs. 2000‐17 Dependent Variable: GROSS Inflows, Total and By Type (% GDP) Sample: 56 countries, 1980‐2017 (annual) Estimation method: Instrumental Variables (IV) Total Total FDI FDI PI PI OI OI Variables 1980-99 2000-17 1980-99 2000-17 1980-99 2000-17 1980-99 2000-17 Domestic Factors GDP Growth 0.00872 0.0215*** 0.000858 0.00332 0.000247 0.00103 0.00761 0.0171*** (0.0110) (0.00589) (0.00330) (0.00373) (0.00242) (0.00121) (0.0103) (0.00417) GDP per capita 0.244 0.164*** 0.0282 0.00387 -0.00377 -0.0108 0.219 0.171*** (in logs) (0.403) (0.0633) (0.121) (0.0397) (0.0891) (0.0128) (0.379) (0.0448) CPI Inflation -0.000221 0.00116 -0.000298 0.000574 -0.000233 -8.73e-05 0.000310 0.000644 (0.000899) (0.000760) (0.000271) (0.000464) (0.000199) (0.000153) (0.000847) (0.000538) Primary Balance -0.00583* -0.000704 -0.000114 -0.000960 -0.000176 -0.000718** -0.00554* 0.00104 (% of GDP) (0.00302) (0.00177) (0.000911) (0.00108) (0.000668) (0.000355) (0.00285) (0.00125) Exchange rate flexibility -0.00481 0.00192 1.34e-05 -0.000675 -0.000105 -0.000543 -0.00472* 0.00336* (0.00300) (0.00264) (0.000905) (0.00163) (0.000664) (0.000538) (0.00283) (0.00187) Investment Profile 0.00102 0.0163*** 0.00186 0.00342 0.00135 0.000964 -0.00219 0.0118*** (0.00451) (0.00423) (0.00136) (0.00261) (0.000997) (0.000869) (0.00425) (0.00299) Trade Openness 0.0702 -0.0831** -0.00770 -0.0186 0.00598 -0.0110 0.0720 -0.0526* (% of GDP, logs) (0.0755) (0.0388) (0.0228) (0.0237) (0.0167) (0.00793) (0.0711) (0.0274) Financial Openness 0.0105 0.0104 0.00642* 0.00792* -0.00212 0.000868 0.00624 0.00151 (Chinn‐Ito Index) (0.0109) (0.00730) (0.00329) (0.00449) (0.00241) (0.00149) (0.0103) (0.00515) External Factors Foreign Growth 0.000395 0.00202 9.77e-05 -6.42e-05 -0.00153 -0.000697** 0.00183 0.00285** (0.00750) (0.00173) (0.00226) (0.00107) (0.00166) (0.000353) (0.00706) (0.00122) VIX Index 0.00733 0.0889** 0.0136** -0.00158 -0.00451 -0.00748 -0.00181 0.0987*** (0.0214) (0.0381) (0.00644) (0.0237) (0.00473) (0.00758) (0.0201) (0.0269) US Economic Policy 0.00110 -0.000786*** -0.000149 -0.000115 3.68e-05 0.000120** 0.00121* -0.000787*** Uncertainty (0.000765) (0.000278) (0.000231) (0.000169) (0.000169) (5.51e-05) (0.000720) (0.000196) Commodity Terms of 0.214 -0.00829 -0.192 -0.00372 0.0453 -0.000365 0.361 -0.00225 Trade (in logs) (0.463) (0.0316) (0.139) (0.0195) (0.102) (0.00647) (0.436) (0.0223) Oil Price 0.0611 0.0245 0.00928 -0.0138 -0.00838 0.0111 0.0602 0.0280 (in logs) (0.0401) (0.0358) (0.0121) (0.0221) (0.00887) (0.00722) (0.0378) (0.0252) Minerals and Metals 0.0269 0.0346 -0.0121 0.0424* 0.0128 -0.00888 0.0262 0.000342 Prices (in logs) (0.0675) (0.0407) (0.0203) (0.0250) (0.0149) (0.00810) (0.0635) (0.0288) Observations 203 907 203 924 203 929 203 909 Number of cnum 37 55 37 56 37 56 37 55 Standard errors in parentheses. *** p<0.01, ** p<0.05, * p<0.1 26    Table 9 Drivers of Gross Capital Inflows: SUB‐SAHARAN AFRICA, 1980‐99 vs. 2000‐17 Dependent Variable: GROSS Inflows, Total and By Type (% GDP) Sample: 26 countries, 1980‐2017 (annual) Estimation method: Instrumental Variables (IV) Total Total FDI FDI PI PI OI OI Variables 1980-99 2000-17 1980-99 2000-17 1980-99 2000-17 1980-99 2000-17 Domestic Factors GDP Growth 0.00532 -0.0625 -0.00457 0.0304 0.00236 -0.00184 0.00753 -0.0723 (0.0453) (0.0794) (0.0190) (0.0586) (0.00875) (0.00816) (0.0459) (0.0769) GDP per capita 0.439 -0.926 -0.227 0.530 0.117 -0.0207 0.549 -1.053 (in logs) (1.934) (1.295) (0.812) (1.109) (0.374) (0.156) (1.959) (1.246) CPI Inflation 0.000765 -0.00468 0.000459 0.00155 -1.92e-06 -0.000234 0.000308 -0.00533 (0.000720) (0.00394) (0.000302) (0.00254) (0.000139) (0.000289) (0.000729) (0.00443) Primary Balance -0.00360 -0.00153 -0.00123 -0.00305 0.000129 -0.000142 -0.00250 -0.000868 (% of GDP) (0.00596) (0.00566) (0.00250) (0.00239) (0.00115) (0.000338) (0.00604) (0.00545) Exchange rate flexibility -0.00672 -0.00666 -0.00174 0.0107 -0.000154 -0.00116 -0.00483 -0.00575 (0.0166) (0.0284) (0.00697) (0.0325) (0.00321) (0.00431) (0.0168) (0.0299) Investment Profile -0.00316 0.0237 0.00999 -0.00414 0.00133 0.00137 -0.0145 0.0277 (0.0163) (0.0254) (0.00685) (0.0220) (0.00315) (0.00237) (0.0165) (0.0309) Trade Openness -0.0220 0.223 -0.00299 -0.106 0.0279 0.00685 -0.0469 0.261 (% of GDP, logs) (0.203) (0.241) (0.0852) (0.214) (0.0392) (0.0278) (0.205) (0.254) Financial Openness 0.0113 0.0933 -0.00599 -0.0752 0.00213 0.000200 0.0151 0.137 (Chinn‐Ito Index) (0.0210) (0.134) (0.00883) (0.0948) (0.00406) (0.0126) (0.0213) (0.137) External Factors Foreign Growth 0.0205 0.00924 0.00211 0.00888 -0.00569 -0.000607 0.0240 0.00673 (0.0275) (0.0191) (0.0116) (0.0184) (0.00532) (0.00252) (0.0279) (0.0196) VIX Index -0.0608 -0.276 -0.000433 0.120 -0.00684 -0.0152 -0.0535 -0.296 (0.0755) (0.328) (0.0317) (0.287) (0.0146) (0.0391) (0.0765) (0.327) US Economic Policy 0.00135 0.00323 -0.000382 -0.00105 6.99e-05 0.000113 0.00167 0.00330 Uncertainty (0.00370) (0.00276) (0.00155) (0.00227) (0.000715) (0.000304) (0.00375) (0.00280) Commodity Terms of -0.114 0.0428 0.211 0.00239 -0.0649 0.00290 -0.261 0.0333 Trade (in logs) (2.000) (0.0584) (0.840) (0.0348) (0.386) (0.00380) (2.026) (0.0660) Oil Price 0.0664 -0.0218 0.00307 0.0111 0.00197 0.00109 0.0613 -0.0228 (in logs) (0.172) (0.123) (0.0723) (0.0872) (0.0333) (0.0102) (0.174) (0.138) Minerals and Metals -0.166 0.0779 0.00858 -0.00533 0.0103 -0.000953 -0.185 0.0475 Prices (in logs) (0.243) (0.193) (0.102) (0.156) (0.0469) (0.0210) (0.246) (0.198) Observations 76 370 76 381 76 380 76 371 Number of cnum 10 26 10 26 10 26 10 26 Standard errors in parentheses. *** p<0.01, ** p<0.05, * p<0.1 27    Table 10 Drivers of Gross Capital Inflows: NATURAL RESOURCE ABUNDANT COUNTRIES, 1980‐99 vs. 2000‐17 Dependent Variable: GROSS Inflows, Total and By Type (% GDP) Sample: 104 countries, 1980‐2017 (annual) Estimation method: Instrumental Variables (IV) Total Total FDI FDI PI PI OI OI Variables 1980-99 2000-17 1980-99 2000-17 1980-99 2000-17 1980-99 2000-17 Domestic Factors GDP Growth 0.00979 -0.0506 0.00649 0.0134 -0.000404 -0.00165 0.00371 -0.0581 (0.0258) (0.0347) (0.0119) (0.0152) (0.00396) (0.00249) (0.0220) (0.0382) GDP per capita 0.689 -0.824 0.327 0.185 0.0115 -0.0300 0.350 -0.903 (in logs) (0.842) (0.565) (0.386) (0.292) (0.129) (0.0464) (0.716) (0.623) CPI Inflation 0.00165 0.000702 0.000521 -8.78e-06 -4.47e-05 -0.000130 0.00117 0.000880 (0.00103) (0.00272) (0.000473) (0.000910) (0.000158) (0.000154) (0.000876) (0.00300) Primary Balance -0.00329 0.00483 0.000900 -0.00546*** -0.000150 0.000210 -0.00404 0.00502 (% of GDP) (0.00898) (0.00440) (0.00412) (0.00106) (0.00138) (0.000181) (0.00764) (0.00486) Exchange rate flexibility -0.0111 -0.0116 -0.000572 0.00326 0.000162 -0.00246* -0.0107 -0.00927 (0.00990) (0.0152) (0.00454) (0.00868) (0.00152) (0.00146) (0.00842) (0.0168) Investment Profile 0.00696 0.0166 0.0134 0.00649 0.000746 0.00251** -0.00717 0.00547 (0.0197) (0.0172) (0.00905) (0.00674) (0.00302) (0.00123) (0.0168) (0.0189) Trade Openness -0.0321 0.312 0.0135 -0.0956 0.0162 0.0186 -0.0617 0.351 (% of GDP, logs) (0.112) (0.233) (0.0515) (0.0939) (0.0172) (0.0164) (0.0954) (0.257) Financial Openness 0.00798 -0.0176 0.00113 -0.00529 -0.00257 -0.00304 0.00942 -0.00635 (Chinn‐Ito Index) (0.0295) (0.0404) (0.0136) (0.0131) (0.00452) (0.00224) (0.0251) (0.0446) External Factors Foreign Growth 0.0130 -0.00301 -0.000937 0.00827 -0.00503* -0.00317** 0.0189 -0.00282 (0.0176) (0.0170) (0.00809) (0.00883) (0.00270) (0.00145) (0.0150) (0.0188) VIX Index -0.0588 -0.384* -0.00399 0.0775 -0.00540 -0.0278* -0.0494 -0.392* (0.0499) (0.203) (0.0229) (0.102) (0.00765) (0.0162) (0.0425) (0.224) US Economic Policy 0.00170 0.00490** 0.000684 -0.000951 -0.000163 0.000230 0.00118 0.00503* Uncertainty (0.00388) (0.00241) (0.00178) (0.00100) (0.000594) (0.000164) (0.00330) (0.00266) Commodity Terms of -0.276 0.0157 -0.228 0.0257 0.0466 0.00354 -0.0950 -0.00337 Trade (in logs) (1.384) (0.0927) (0.635) (0.0367) (0.212) (0.00604) (1.178) (0.102) Oil Price 0.0933 -0.328 0.00481 0.0656 -0.00990 -0.0200 0.0984 -0.323 (in logs) (0.104) (0.239) (0.0478) (0.101) (0.0160) (0.0169) (0.0886) (0.264) Minerals and Metals -0.153 0.363 -0.0493 -0.0268 0.0160 0.0154 -0.120 0.335 Prices (in logs) (0.162) (0.295) (0.0745) (0.135) (0.0249) (0.0210) (0.138) (0.326) Observations 66 244 66 270 66 274 66 244 No. Countries 9 17 9 18 9 18 9 17 Standard errors in parentheses. *** p<0.01, ** p<0.05, * p<0.1 28    Table 11 Drivers of Gross Capital Inflows, 1980‐2017: Quantile Regressions Dependent Variable: GROSS Inflows, Total and By Type (% GDP) Sample: 104 countries, 1980‐2017 (annual) Variables 10th 20th 30th 40th 50th 60th 70th 80th 90th Domestic Factors GDP Growth 0.00282* 0.00221*** 0.00181*** 0.00218*** 0.00218*** 0.00263*** 0.00187*** 0.00173* 0.000705 (0.00148) (0.000764) (0.000601) (0.000677) (0.000717) (0.000768) (0.000642) (0.000978) (0.00183) GDP per capita 0.0331 0.0313 0.0303** 0.0343** 0.0275 0.0182 0.0176 0.0166 -0.000221 (in logs) (0.0376) (0.0195) (0.0153) (0.0172) (0.0183) (0.0196) (0.0164) (0.0249) (0.0467) CPI Inflation 3.29e-05 0.000319 0.000349 0.000607* 0.000749** 0.00102*** 0.00127*** 0.00163*** 0.00156* (0.000714) (0.000369) (0.000290) (0.000327) (0.000346) (0.000371) (0.000310) (0.000472) (0.000885) Primary Balance -0.00322** -0.00210*** -0.00134** -0.00113* -0.000659 -0.000632 -0.000298 -0.000452 -5.17e-05 (% of GDP) (0.00134) (0.000692) (0.000544) (0.000613) (0.000649) (0.000695) (0.000582) (0.000885) (0.00166) Exchange rate flexibility 0.00183 0.00164 0.000458 -0.000459 -0.000938 -0.00156 -0.00182* -0.00292* -0.00338 (0.00233) (0.00121) (0.000948) (0.00107) (0.00113) (0.00121) (0.00101) (0.00154) (0.00289) Investment Profile 0.00549* 0.00590*** 0.00625*** 0.00697*** 0.00768*** 0.00719*** 0.00783*** 0.00809*** 0.00613 (0.00325) (0.00168) (0.00132) (0.00149) (0.00158) (0.00169) (0.00141) (0.00215) (0.00404) Trade Openness -0.00655 -0.0149 -0.00947 -0.0101 -0.00517 -0.00296 0.00250 0.0107 0.0109 (% of GDP, logs) (0.0262) (0.0135) (0.0106) (0.0120) (0.0127) (0.0136) (0.0114) (0.0173) (0.0325) Financial Openness -0.000649 0.00160 0.00283 0.00419 0.00446 0.00523 0.00568* 0.00542 0.00426 (Chinn‐Ito Index) (0.00678) (0.00351) (0.00276) (0.00310) (0.00329) (0.00352) (0.00295) (0.00449) (0.00841) External Factors Foreign Growth 0.000959 0.00180 0.00140 0.000892 0.000208 0.000522 0.00110 0.000374 -4.21e-05 (0.00227) (0.00117) (0.000921) (0.00104) (0.00110) (0.00118) (0.000985) (0.00150) (0.00281) VIX Index 0.00817 0.0102 0.0136* 0.00971 0.00566 0.00396 0.000707 -0.00302 -0.00543 (0.0180) (0.00933) (0.00734) (0.00826) (0.00876) (0.00938) (0.00785) (0.0119) (0.0224) US Economic Policy -0.000145 -0.000181* -0.000198** -0.000199** -0.000228** -0.000217** -0.000210** -0.000220 -0.000193 Uncertainty (0.000204) (0.000106) (8.31e-05) (9.35e-05) (9.91e-05) (0.000106) (8.88e-05) (0.000135) (0.000253) Commodity Terms of -0.0148 -0.0153 -0.0153 -0.00822 -0.0111 -0.00738 -0.0122 -0.00346 0.00691 Trade (in logs) (0.0279) (0.0145) (0.0114) (0.0128) (0.0136) (0.0145) (0.0121) (0.0185) (0.0347) Oil Price -0.0126 -0.00812 -0.0128 -0.0167* -0.0201* -0.0113 -0.0115 -0.0256* -0.0212 (in logs) (0.0220) (0.0114) (0.00896) (0.0101) (0.0107) (0.0115) (0.00958) (0.0146) (0.0273) Minerals and Metals 0.0145 0.0249 0.0348*** 0.0402*** 0.0495*** 0.0423** 0.0436*** 0.0686*** 0.0845** Prices (in logs) (0.0318) (0.0164) (0.0129) (0.0145) (0.0154) (0.0165) (0.0138) (0.0210) (0.0394) Observations 2,114 2,114 2,114 2,114 2,114 2,114 2,114 2,114 2,114 Standard errors in parentheses. *** p<0.01, ** p<0.05, * p<0.1 29    Table 12 Drivers of Gross FDI Inflows, 1980‐2017: Quantile Regressions Dependent Variable: GROSS FDI Inflows, Total and By Type (% GDP) Sample: 104 countries, 1980‐2017 (annual) Variables 10th 20th 30th 40th 50th 60th 70th 80th 90th Domestic Factors GDP Growth 0.000478 0.000572*** 0.000497*** 0.000751*** 0.000781*** 0.000980*** 0.00100*** 0.00134*** 0.00134 (0.000378) (0.000194) (0.000181) (0.000210) (0.000203) (0.000281) (0.000282) (0.000383) (0.000826) GDP per capita 0.00265 0.00691 0.00659 0.00425 0.00105 0.00225 0.00108 -0.000123 -0.000662 (in logs) (0.0100) (0.00512) (0.00478) (0.00555) (0.00536) (0.00742) (0.00745) (0.0101) (0.0219) CPI Inflation -3.91e-05 -3.58e-06 -1.44e-05 9.07e-05 8.09e-05 0.000189 0.000258* 0.000428** 0.000606 (0.000189) (9.70e-05) (9.04e-05) (0.000105) (0.000101) (0.000141) (0.000141) (0.000192) (0.000414) Primary Balance 9.02e-05 0.000128 8.44e-05 3.48e-05 3.66e-05 7.56e-05 2.81e-06 -0.000147 -3.62e-05 (% of GDP) (0.000336) (0.000172) (0.000161) (0.000187) (0.000180) (0.000250) (0.000250) (0.000340) (0.000735) Exchange rate flexibility 0.000348 7.52e-06 -0.000136 -0.000183 -9.87e-05 -0.000253 8.29e-06 0.000106 6.12e-06 (0.000618) (0.000317) (0.000295) (0.000343) (0.000331) (0.000459) (0.000460) (0.000626) (0.00135) Investment Profile 0.000362 0.000439 0.000686* 0.000899* 0.00117** 0.00111* 0.00132** 0.00102 0.00121 (0.000864) (0.000443) (0.000413) (0.000480) (0.000463) (0.000641) (0.000644) (0.000874) (0.00189) Trade Openness 0.000747 0.00170 0.00341 0.00588 0.00706* 0.00567 0.00645 0.00914 0.0149 (% of GDP, logs) (0.00695) (0.00356) (0.00332) (0.00386) (0.00372) (0.00516) (0.00518) (0.00703) (0.0152) Financial Openness 0.00105 0.00129 0.00134 0.00133 0.00128 0.00132 0.00151 0.00263 0.00299 (Chinn‐Ito Index) (0.00181) (0.000926) (0.000863) (0.00100) (0.000968) (0.00134) (0.00135) (0.00183) (0.00395) External Factors Foreign Growth 0.000199 -0.000163 -0.000155 -0.000205 -0.000221 -0.000349 -0.000396 -0.000531 -0.000300 (0.000600) (0.000308) (0.000287) (0.000333) (0.000322) (0.000446) (0.000447) (0.000607) (0.00131) VIX Index 0.00522 0.00688*** 0.00722*** 0.00651** 0.00625** 0.00739** 0.00813** 0.0114** 0.00902 (0.00478) (0.00245) (0.00228) (0.00266) (0.00256) (0.00355) (0.00356) (0.00484) (0.0104) US Economic Policy -2.72e-05 -6.42e-05** -7.46e-05*** -7.15e-05** -8.08e-05*** -9.58e-05** -0.000117*** -0.000152*** -0.000124 Uncertainty (5.39e-05) (2.76e-05) (2.58e-05) (2.99e-05) (2.89e-05) (4.00e-05) (4.02e-05) (5.46e-05) (0.000118) Commodity Terms of -0.000970 -0.00254 -0.00498 -0.00275 -0.00187 -0.000950 -0.00108 -0.00270 0.00274 Trade (0.00743) (0.00381) (0.00355) (0.00413) (0.00398) (0.00552) (0.00554) (0.00752) (0.0162) Oil Price 0.00159 -0.00114 -0.00175 -0.00232 -0.00177 -0.00122 2.44e-05 0.000526 -0.00527 (0.00585) (0.00299) (0.00279) (0.00325) (0.00313) (0.00434) (0.00435) (0.00592) (0.0128) Minerals and Metals 0.00434 0.0101** 0.0122*** 0.0139*** 0.0149*** 0.0153** 0.0164*** 0.0159* 0.0174 Prices (0.00843) (0.00432) (0.00403) (0.00468) (0.00452) (0.00626) (0.00628) (0.00853) (0.0184) Observations 2,151 2,151 2,151 2,151 2,151 2,151 2,151 2,151 2,151 Standard errors in parentheses. *** p<0.01, ** p<0.05, * p<0.1 30    Table 13 Drivers of Gross Portfolio Investment (PI) Inflows, 1980‐2017: Quantile Regressions Dependent Variable: GROSS Portfolio Investment Inflows, Total and By Type (% GDP) Sample: 104 countries, 1980‐2017 (annual) Variables 10th 20th 30th 40th 50th 60th 70th 80th 90th Domestic Factors GDP Growth 0.000112 8.48e-05 4.05e-05 2.21e-05 -2.72e-05 -3.78e-05 -2.86e-05 -2.18e-05 -0.000204 (0.000435) (0.000179) (0.000191) (0.000239) (0.000242) (0.000300) (0.000245) (0.000358) (0.000555) GDP per capita -0.00123 0.00255 0.00350 0.00626 0.00888 0.0120 0.0127** 0.0159* 0.0166 (in logs) (0.0115) (0.00474) (0.00505) (0.00632) (0.00640) (0.00793) (0.00647) (0.00947) (0.0147) CPI Inflation -5.91e-05 -2.17e-05 -1.45e-05 1.43e-05 3.89e-05 3.16e-05 3.32e-05 4.36e-05 6.53e-05 (0.000218) (8.98e-05) (9.56e-05) (0.000120) (0.000121) (0.000150) (0.000123) (0.000179) (0.000278) Primary Balance -8.47e-06 -1.57e-06 -3.52e-06 -7.02e-06 -6.92e-06 6.40e-06 -4.52e-05 -6.97e-05 -1.33e-07 (% of GDP) (0.000386) (0.000159) (0.000169) (0.000212) (0.000215) (0.000266) (0.000217) (0.000318) (0.000493) Exchange rate flexibility -2.02e-05 4.31e-05 -4.09e-06 -3.45e-05 -5.00e-06 -8.59e-06 -9.71e-05 -0.000223 -0.000981 (0.000712) (0.000293) (0.000312) (0.000391) (0.000396) (0.000490) (0.000400) (0.000585) (0.000908) Investment Profile 0.000656 0.000285 0.000298 0.000400 0.000767 0.00103 0.00127** 0.00134 0.000872 (0.000994) (0.000409) (0.000436) (0.000545) (0.000552) (0.000685) (0.000559) (0.000817) (0.00127) Trade Openness -0.00314 -0.00224 -0.00155 -0.00151 -0.00164 -0.00244 -0.00335 -0.00358 -0.00171 (% of GDP, logs) (0.00800) (0.00330) (0.00351) (0.00439) (0.00445) (0.00551) (0.00450) (0.00658) (0.0102) Financial Openness -0.00111 -0.000291 6.59e-05 0.000537 0.000960 0.00115 0.00141 0.00176 0.00324 (Chinn‐Ito Index) (0.00208) (0.000858) (0.000913) (0.00114) (0.00116) (0.00143) (0.00117) (0.00171) (0.00265) External Factors Foreign Growth 0.000395 0.000383 0.000133 9.00e-05 0.000139 0.000122 0.000174 -4.68e-05 -0.000383 (0.000691) (0.000285) (0.000303) (0.000379) (0.000384) (0.000476) (0.000389) (0.000568) (0.000881) VIX Index -0.00184 -0.00124 -0.00106 -0.00127 -0.00222 -0.00342 -0.00469 -0.00550 -0.00613 (0.00550) (0.00227) (0.00241) (0.00302) (0.00306) (0.00379) (0.00310) (0.00453) (0.00702) US Economic Policy 9.71e-06 1.04e-05 6.18e-06 4.53e-06 2.77e-06 -6.75e-06 -7.15e-06 -2.43e-05 -3.82e-05 Uncertainty (6.21e-05) (2.56e-05) (2.72e-05) (3.41e-05) (3.45e-05) (4.28e-05) (3.49e-05) (5.11e-05) (7.92e-05) Commodity Terms of 3.43e-05 -0.000441 0.000200 0.000584 0.000267 0.000128 7.03e-05 -0.000497 -0.00101 Trade (0.00856) (0.00353) (0.00375) (0.00470) (0.00476) (0.00590) (0.00481) (0.00704) (0.0109) Oil Price 0.00110 0.00133 0.000578 0.00100 0.00183 0.00172 0.00146 0.00131 0.00107 (0.00672) (0.00277) (0.00295) (0.00369) (0.00374) (0.00463) (0.00378) (0.00553) (0.00857) Minerals and Metals -0.00267 -0.00234 -0.00139 -0.00186 -0.00284 -0.00233 -0.000689 0.00150 0.00341 Prices (0.00969) (0.00399) (0.00425) (0.00532) (0.00539) (0.00668) (0.00545) (0.00797) (0.0124) Observations 2,157 2,157 2,157 2,157 2,157 2,157 2,157 2,157 2,157 Standard errors in parentheses. *** p<0.01, ** p<0.05, * p<0.1 31    Table 14 Drivers of Gross Other Investment (OI) Inflows, 1980‐2017: Quantile Regressions Dependent Variable: GROSS Other Inflows, Total and By Type (% GDP) Sample: 104 countries, 1980‐2017 (annual) Variables 10th 20th 30th 40th 50th 60th 70th 80th 90th Domestic Factors GDP Growth 0.00220 0.00196*** 0.00138*** 0.00139*** 0.000815* 0.000774* 0.000613 4.75e-05 -0.000367 (0.00156) (0.000720) (0.000461) (0.000443) (0.000482) (0.000460) (0.000469) (0.000728) (0.00129) GDP per capita 0.0239 0.0278 0.0261** 0.0213* 0.0144 0.00976 0.00798 0.00819 0.00190 (in logs) (0.0397) (0.0183) (0.0117) (0.0113) (0.0123) (0.0117) (0.0119) (0.0185) (0.0329) CPI Inflation 0.000225 6.43e-05 0.000198 0.000438** 0.000574** 0.000660*** 0.000952*** 0.00140*** 0.00186*** (0.000752) (0.000348) (0.000223) (0.000214) (0.000233) (0.000222) (0.000226) (0.000351) (0.000625) Primary Balance -0.00228 -0.00116* -0.000977** -0.000832** -0.000660 -0.000632 -0.000499 -0.000309 -0.000640 (% of GDP) (0.00141) (0.000652) (0.000417) (0.000401) (0.000437) (0.000417) (0.000424) (0.000659) (0.00117) Exchange rate flexibility 0.00158 0.000732 0.000233 -0.000246 -0.000622 -0.000936 -0.00114 -0.00135 -0.00157 (0.00246) (0.00114) (0.000727) (0.000699) (0.000761) (0.000726) (0.000740) (0.00115) (0.00204) Investment Profile 0.00266 0.00234 0.00220** 0.00255*** 0.00313*** 0.00301*** 0.00333*** 0.00341** 0.00300 (0.00343) (0.00158) (0.00101) (0.000975) (0.00106) (0.00101) (0.00103) (0.00160) (0.00285) Trade Openness -0.00575 -0.00570 -0.00799 -0.00784 -0.00400 0.00156 0.00296 0.00680 0.00674 (% of GDP, logs) (0.0276) (0.0128) (0.00817) (0.00785) (0.00855) (0.00815) (0.00831) (0.0129) (0.0229) Financial Openness 0.000159 -0.000632 0.000674 0.00217 0.00180 0.00174 0.00161 0.00203 0.00189 (Chinn‐Ito Index) (0.00715) (0.00330) (0.00211) (0.00203) (0.00221) (0.00211) (0.00215) (0.00334) (0.00594) External Factors Foreign Growth 0.00173 0.00194* 0.00186*** 0.00133* 0.000717 0.000508 -4.78e-05 -0.000100 -0.000558 (0.00239) (0.00110) (0.000707) (0.000679) (0.000740) (0.000706) (0.000719) (0.00112) (0.00198) VIX Index 0.000159 0.00814 0.0115** 0.00877 0.00624 0.00332 0.000470 0.00195 0.00266 (0.0190) (0.00879) (0.00563) (0.00541) (0.00589) (0.00562) (0.00573) (0.00889) (0.0158) US Economic Policy -8.72e-05 -0.000102 -0.000136** -9.62e-05 -0.000104 -9.08e-05 -9.28e-05 -7.02e-05 -0.000109 Uncertainty (0.000215) (9.95e-05) (6.37e-05) (6.12e-05) (6.67e-05) (6.36e-05) (6.48e-05) (0.000101) (0.000179) Commodity Terms of -0.0137 -0.00793 -0.00573 -0.0108 -0.00891 -0.00699 -0.00722 -0.00540 0.000168 Trade (0.0295) (0.0136) (0.00871) (0.00837) (0.00912) (0.00870) (0.00887) (0.0138) (0.0245) Oil Price -0.0115 -0.0108 -0.0138** -0.0154** -0.0156** -0.0173** -0.0217*** -0.0230** -0.0279 (0.0232) (0.0107) (0.00687) (0.00661) (0.00719) (0.00686) (0.00699) (0.0109) (0.0193) Minerals and Metals -0.00192 0.00731 0.0179* 0.0251*** 0.0309*** 0.0329*** 0.0406*** 0.0456*** 0.0639** Prices (0.0335) (0.0155) (0.00990) (0.00952) (0.0104) (0.00989) (0.0101) (0.0156) (0.0278) Observations 2,114 2,114 2,114 2,114 2,114 2,114 2,114 2,114 2,114 Standard errors in parentheses. *** p<0.01, ** p<0.05, * p<0.1 32    Table A1 Drivers of Gross Capital Inflows: SUB‐SAHARAN AFRICA, 1980‐99 vs. 2000‐17 Dependent Variable: GROSS Inflows, Total and By Type (% GDP) Sample: 26 countries, 1980‐2017 (annual) Estimation method: Instrumental Variables (IV) Total Gross Inflows FDI Inflows PI Inflows OI Inflows OI Inflows VARIABLES 1980-2017 1980-1999 2000-2017 1980-2017 1980-1999 2000-2017 1980-2017 1980-1999 2000-2017 1980-2017 1980-1999 2000-2017 1980-2017 1980-1999 2000-2017 Domestic Factors GDP Growth -0.0268 -0.0354 -0.0480 0.00927 -0.00188 0.0157 -0.000457 0.000512 -0.000293 -0.0346 0.000344 -0.0500 -0.0342 0.00285 -0.0544 (0.0233) (0.0525) (0.0623) (0.0120) (0.0118) (0.0237) (0.00232) (0.00386) (0.00405) (0.0225) (0.0295) (0.0479) (0.0223) (0.0287) (0.0546) GDP per capita -0.270 -1.761 -0.809 0.0399 -0.0681 0.269 0.00463 0.0515 0.00557 -0.270 0.324 -0.752 -0.243 0.461 -0.741 (in logs) (0.262) (3.155) (1.132) (0.139) (0.478) (0.455) (0.0287) (0.168) (0.0886) (0.240) (1.572) (0.841) (0.233) (1.526) (0.880) CPI Inflation -0.000375 0.00110 -0.00525 0.000495 0.000486** 0.000912 -0.000123 -9.91e-05 -0.000147 -0.000373 0.000759 -0.00450 0.000106 0.000468 -0.00511 (0.00121) (0.00205) (0.00363) (0.000462) (0.000244) (0.00129) (9.08e-05) (0.000117) (0.000174) (0.00135) (0.000765) (0.00324) (0.00130) (0.000641) (0.00355) Primary Balance 0.000273 -0.0156 0.000455 -0.00336*** -0.00113 -0.00377*** -6.74e-05 -3.13e-05 -3.74e-05 0.000581 -0.00275 0.00155 1.54e-05 -0.00204 0.000344 (% of GDP) (0.00219) (0.0187) (0.00384) (0.000742) (0.00167) (0.00105) (0.000131) (0.000719) (0.000126) (0.00221) (0.00581) (0.00326) (0.00221) (0.00540) (0.00403) Exchange rate flexibility 0.000387 0.0320 -0.00450 0.00166 -0.00353 0.00386 -0.000395 0.000771 -0.000539 -0.000637 -0.00154 -0.00335 -0.00162 -0.00114 -0.00334 (0.0119) (0.0652) (0.0232) (0.00881) (0.00595) (0.0147) (0.00160) (0.00213) (0.00246) (0.0132) (0.00906) (0.0222) (0.0133) (0.00941) (0.0235) Government Stability -0.00569 -0.00828 -0.00631 0.0109*** 0.00194 0.0118* .. .. .. .. .. .. .. .. .. (0.00864) (0.0267) (0.0140) (0.00256) (0.00384) (0.00705) Socioeconomic conditions -0.0242 0.0474 -0.0105 .. .. .. .. .. .. -0.0364* -0.0176 -0.0403 -0.0353* -0.0203 -0.0448 (0.0253) (0.0908) (0.0293) (0.0216) (0.0381) (0.0281) (0.0213) (0.0377) (0.0298) Investment Profile 0.0108 -0.0314 0.0351 .. .. .. .. .. .. .. .. .. .. .. .. (0.0100) (0.0546) (0.0301) Corruption -0.0194 -0.125 0.00382 .. .. .. .. .. .. .. .. .. .. .. .. (0.0205) (0.235) (0.0351) Rule of Law -0.00627 0.0331 -0.128 .. .. .. .. .. .. .. .. .. .. .. .. (0.0255) (0.0775) (0.0937) Bureaucratic Quality 0.0268 0.0723 0.0519 .. .. .. -0.00309 0.000842 -0.00589 .. .. .. .. .. .. (0.0537) (0.0995) (0.128) (0.00270) (0.00989) (0.0104) Trade Openness 0.0635 -0.173 0.178 -0.00847 0.0149 -0.0489 0.000985 0.0181 0.000342 0.0635 -0.0440 0.148 0.0741 -0.0396 0.166 (% of GDP, logs) (0.0529) (0.297) (0.188) (0.0356) (0.0515) (0.0758) (0.00599) (0.0180) (0.0112) (0.0633) (0.187) (0.140) (0.0642) (0.194) (0.162) Financial Openness -0.00405 0.0294 0.0625 -0.0182** -0.00799 -0.0531 -0.000616 0.00138 -0.00224 0.0119 0.0167 0.107 0.0110 0.0181 0.114 (Chinn‐Ito Index) (0.0222) (0.0552) (0.105) (0.00815) (0.00604) (0.0409) (0.00154) (0.00223) (0.00669) (0.0222) (0.0200) (0.0916) (0.0221) (0.0196) (0.102) External Factors Foreign Growth 0.0240*** 0.0442 0.0197* -0.00174 -0.00132 0.00359 -0.000128 -0.00578** -9.67e-05 0.0190** 0.0341* 0.0125 0.0167** 0.0316* 0.00994 (0.00695) (0.0491) (0.0113) (0.00270) (0.00704) (0.00841) (0.000492) (0.00282) (0.00126) (0.00794) (0.0180) (0.0137) (0.00767) (0.0166) (0.0160) VIX Index -0.0823 0.283 -0.179 -0.0270 0.00757 0.0276 -0.00785* -0.00109 -0.00816 -0.109* -0.110 -0.198 -0.112* -0.125 -0.207 (0.0632) (0.500) (0.238) (0.0308) (0.0410) (0.109) (0.00452) (0.0159) (0.0209) (0.0572) (0.149) (0.214) (0.0573) (0.142) (0.235) US Economic Policy 0.00129** -0.00593 0.00216 4.98e-05 -6.43e-05 -0.000372 3.56e-05 0.000189 2.14e-05 0.00127** 0.000541 0.00180 0.00155*** 0.00161 0.00247 Uncertainty (0.000559) (0.00900) (0.00177) (0.000270) (0.00113) (0.000858) (3.78e-05) (0.000553) (8.61e-05) (0.000578) (0.00405) (0.00140) (0.000576) (0.00293) (0.00196) Commodity Terms 0.0350 1.602 0.0391 0.0133 0.0652 0.00985 0.00206 0.000519 0.00237 0.0191 0.182 0.0279 0.0158 0.0495 0.0299 of Trade (0.0394) (2.246) (0.0490) (0.0155) (0.536) (0.0188) (0.00288) (0.164) (0.00286) (0.0386) (1.190) (0.0495) (0.0380) (1.120) (0.0532) Oil prices (in logs) .. .. .. -0.0157 -0.00486 0.000518 0.000906 -0.0157 -0.00218 -0.0410 0.112 -0.0903 -0.0342 0.107 -0.0286 (0.0181) (0.0625) (0.0500) (0.00403) (0.0225) (0.0148) (0.0519) (0.162) (0.159) (0.0512) (0.176) (0.116) Agricultural 0.179 -0.857 0.193 .. .. .. 0.0103 0.0788 0.0193 0.172 -0.239 0.308 .. .. .. prices (logs) (0.122) (1.139) (0.274) (0.00899) (0.0653) (0.0401) (0.124) (0.405) (0.365) Minerals and metals -0.0375 -0.0462 -0.0257 0.0468* -0.00190 0.0213 -0.00520 0.0176 -0.00616 -0.0244 -0.127 -0.00386 0.0231 -0.142 0.0382 prices (logs) (0.0508) (0.269) (0.0947) (0.0253) (0.0658) (0.0822) (0.00467) (0.0227) (0.00971) (0.0794) (0.145) (0.133) (0.0745) (0.138) (0.164) Observations 446 76 370 457 76 381 456 76 380 447 76 371 447 76 371 Number of cnum 26 10 26 26 10 26 26 10 26 26 10 26 26 10 26 Standard errors in parentheses. *** p<0.01, ** p<0.05, * p<0.1 33    Figure 1.1 Evolution of Global Capital Inflows (% of GDP, weighted average) Figure 1.2 Evolution of Gross Capital Inflows to Sub-Saharan Africa (% of GDP, weighted average) Source: International Monetary Fund Balance of Payments BPM 6.0. Note: Aggregate Figures represent GDP-weighted averages of the ratio of gross capital inflows to GDP across countries in the world. GDP = gross domestic product. 34    Figure 1.3 Evolution of Capital Inflows to Advanced countries (% of GDP, weighted average) Source: International Monetary Fund Balance of Payments BPM 6.0. Note: Aggregate Figures represent GDP-weighted averages of the ratio of gross capital inflows to GDP across countries in the world. GDP = gross domestic product. Figure 1.4 Evolution of Capital Inflows to non-SSA developing countries (% of GDP, weighted average) Source: International Monetary Fund Balance of Payments BPM 6.0. Note: Aggregate Figures represent GDP-weighted averages of the ratio of gross capital inflows to GDP across countries in the world. GDP = gross domestic product. 35    Figure 2 Cumulative Errors and Omissions in Sub-Saharan Africa 2002-2017 (% of GDP) 10 0 -10 -20 -30 -40 -50 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 Sub-Saharan Africa Oil abundant countries Source: International Monetary Fund Balance of Payments BPM 6.0. Figure 3.1 Gross Inflows by Type: Sub-Saharan Africa and the Rest of the World (% GDP) Source: International Monetary Fund Balance of Payments BPM 6.0. Note: Aggregate Figures represent GDP-weighted averages of the ratio of gross capital inflows to GDP across industrial, non-Sub-Saharan African developing, and Sub-Saharan African countries over their corresponding subperiods. GDP = gross domestic product; SSA = Sub-Saharan Africa. 36    Figure 3.2 Gross Inflows by Type: Country Groups in Sub-Saharan Africa (% GDP) Source: International Monetary Fund Balance of Payments BPM 6.0. Note: Aggregate Figures represent GDP-weighted averages of the ratio of gross capital inflows to GDP across the country groups in Sub-Saharan Africa over their corresponding subperiods. GDP = gross domestic product; SSA = Sub-Saharan Africa. Figure 3.3. Impact of GDP growth on gross FDI inflows across percentiles 0.006 0.005 0.004 0.003 0.002 0.001 0.000 10 20 30 40 50 60 70 80 90 ‐0.001 ‐0.002 ‐0.003 Lower Coefficient Upper Note: The blue (solid) line represents the coefficient estimates of GDP growth of the quantile regressions reported in Table 11. The red (dotted) lines are the confidence intervals of those regression estimates at the 5 percent level.     37    Figure 3.4. Impact of the quality of institutions (investment profile) on gross FDI inflows across percentiles 0.014 0.012 0.010 0.008 0.006 0.004 0.002 0.000 10 20 30 40 50 60 70 80 90 ‐0.002 Lower Coefficient Upper   Figure 3.5. Impact of the price of minerals and metals on gross FDI inflows across percentiles 0.20 0.15 0.10 0.05 0.00 10 20 30 40 50 60 70 80 90 ‐0.05 Lower Coefficient Upper   Note: The blue (solid) line represents the coefficient estimates of GDP growth of the quantile regressions reported in Table 11. The red (dotted) lines are the confidence intervals of those regression estimates at the 5 percent level. 38