ifdp · October 1, 2023

Global Flight to Safety, Business Cycles, and the Dollar

Abstract

We develop a two-country macroeconomic model that we fit to a set of aggregate prices and quantities for the U.S. and the rest of the world. In addition to a standard array of shocks, the model includes time variation in agents’ preference for safe bonds. We allow for a component of this time variation to be common across countries and biased toward dollar-denominated safe assets, and refer to this component as global flight to safety (GFS). We find that GFS shocks are the most important shocks driving world business cycles, and are also important drivers of activity in the U.S. and especially abroad. An adverse GFS shock lowers global GDP and inflation, widens global corporate credit spreads, and appreciates the dollar. These effects are very close to those obtained from a structural VAR which uses the excess bond premium (Gilchrist and Zakrajšek, 2012) as proxy for global flight to safety.

Board of Governors of the Federal Reserve System International Finance Discussion Papers ISSN 1073-2500 (Print) ISSN 2767-4509 (Online) Number 1381 October 2023 Global Flight to Safety, Business Cycles, and the Dollar Martin Bodenstein, Pablo Cuba Borda, Nils Gornemann, Ignacio Presno, Andrea Prestipino, Albert Queralto, and Andrea Raffo Please cite this paper as: Bodenstein, Martin, Pablo Cuba Borda, Nils Gornemann, Ignacio Presno, Andrea Prestipino, Albert Queralto, and Andrea Raffo (2023). “Global Flight to Safety, Business Cycles, andtheDollar,” InternationalFinanceDiscussionPapers1381. Washington: Board of Governors of the Federal Reserve System, https://doi.org/10.17016/IFDP.2023.1381. NOTE: International Finance Discussion Papers (IFDPs) are preliminary materials circulated to stimulate discussion and critical comment. The analysis and conclusions set forth are those of the authors and do not indicate concurrence by other members of the research staff or the Board of Governors. References in publications to the International Finance Discussion Papers Series (other than acknowledgement) should be cleared with the author(s) to protect the tentative character of these papers. Recent IFDPs are available on the Web at www.federalreserve.gov/pubs/ifdp/. This paper can be downloaded without charge from the Social Science Research Network electronic library at www.ssrn.com.

∗ Global Flight to Safety, Business Cycles, and the Dollar Martin Bodenstein, Pablo Cuba Borda, Nils Gornemann, Ignacio Presno, Andrea Prestipino, Albert Queralto, and Andrea Raffo September 29, 2023 Abstract We develop a two-country macroeconomic model that we fit to a set of aggregate prices and quantities for the U.S. and the rest of the world. In addition to a standard array of shocks, the model includes time variation in agents’ preference for safe bonds. We allow for a component of this time variation to be common across countries and biased toward dollar-denominated safe assets, and refer to this component as global flight to safety (GFS). We find that GFS shocks are the most important shocks driving world businesscycles,andarealsoimportantdriversofactivityintheU.S.andespeciallyabroad. An adverse GFS shock lowers global GDP and inflation, widens global corporate credit spreads, and appreciates the dollar. These effects are very close to those obtained from a structural VAR which uses the excess bond premium (Gilchrist and Zakrajˇsek, 2012) as proxy for global flight to safety. JEL classification: E32, F30, H22 Keywords: Econometrics and economic theory; International economics; Macroeconomic activity. ∗Bodenstein: Federal Reserve Board (martin.r.bodenstein@frb.gov); Cuba Borda: Federal Reserve Board (pablo.a.cubaborda@frb.gov); Gornemann: Federal Reserve Board (nils.m.gornemann@frb.gov); Presno: Federal Reserve Board (ignacio.presno@frb.gov); Prestipino: Federal Reserve Board (andrea.prestipino@frb.gov); Queralto: Federal Reserve Board (albert.queralto@frb.gov); Raffo: Federal Reserve Bank of Minneapolis (andrea.raffo@mpls.frb.org). We thank Hess Chung, Chris Erceg, Matteo Iacoviello, Leonardo Melosi, and seminar participantsattheFederalReserveBoardfortheircommentsatdifferentstagesofthisproject. Theauthorsare grateful to the many talented research assistants who supported the project over the years: Jay Faris, Thomas Kaupas,MikeMcHenry,AlexanderMechanick,DawsonMiller,DanielMolon,DylanMunson,andMika¨elScaramucci. The views in this paper are solely the responsibility of the authors and should not be interpreted as reflecting the views of the Board of Governors of the Federal Reserve System, or of any other person associated with the Federal Reserve System. 1

1 Introduction Two of the most influential recent developments in the international macroeconomics literature have centered on the role of global factors in shaping developments in individual economies, on the one hand, and on the special role of the U.S. dollar in the global financial system— including its role as a safe haven during periods of global stress—on the other. Among the most well-known examples of the former view is the work by Miranda-Agrippino and Rey (2020, 2022), who show that a single global factor, dubbed global “risk aversion,” accounts for a large fraction of the variance in risky asset prices and capital flows around the globe. The special role of the dollar, in turn, rests on the view of U.S. Treasuries as the world’s safe assets par excellence, which are seen as providing particularly valuable safety and liquidity services to investors (Krishnamurthy and Vissing-Jorgensen, 2012; Maggiori, 2017; Gopinath and Stein, 2021). In this view, U.S. Treasuries’ role as a safe haven plays an important role in shaping dollar exchange rate fluctuations (Jiang, Krishnamurthy, and Lustig, 2021; Kekre and Lenel, 2021; Jiang, Krishnamurthy, Lustig, and Sun, 2021). To date, however, much of the work exploring the topics above has been empirical, and related modeling efforts have generally been mostly qualitative and have not attempted to draw implications for macroeconomic fluctuations more broadly.1 This relatively narrow focus contrasts with traditional international business cycle studies—going back to Backus, Kehoe, and Kydland (1992), with the papers by Lubik and Schorfheide (2005) or by Eichenbaum, Johannsen, andRebelo(2021)asmorerecentexamples—whichfocusonquantitativelyaccounting for fluctuations in a large set of aggregate prices and quantities. In this strand of literature, however, the role of global factors has been relatively unexplored, with the focus much more centered on the role of country-specific shocks; and the models considered have generally not featured a special role of the dollar or of any other currency. Our goal in this paper is to quantitatively assess the macroeconomic importance and transmission of shifts in global sentiment—which we refer to as global “flight-to-safety” shocks—and the associated role of dollar assets as a safe haven, as in the recent literature highlighted in the first paragraph, within the context of a model aimed at accounting for business cycles more gen- 1See section 5 of Miranda-Agrippino and Rey (2022) for an overview of models featuring a special role for dollar safe assets and for models aimed at capturing the effects of shifts in global risk aversion. 2

erally. To that end, we develop a two-country macroeconomic model that we fit, using Bayesian methods, to a standard set of aggregate variables for the U.S. and the rest of the world. A key feature of our model is time variation in agents’ preference for safe bonds, aimed at capturing flight-to-safety shocks. Importantly, we allow for a component of these flight-to-safety shocks to be common across countries, capturing shifts in global risk aversion, as well as biased toward safe assets denominated in dollars, capturing the “specialness” of these assets. The presence of this global component is motivated by literature exemplified by Miranda-Agrippino and Rey (2020), and by evidence such as that in Figure 1, showing a strong association between global sentiment (proxied here by Gilchrist and Zakrajˇsek, 2012’s excess bond premium) and world GDP growth. In addition, we allow for financial shocks and portfolio costs to play a role in exchange-rate determination, following a set of recent influential papers (Gabaix and Maggiori, 2015; Itskhoki and Mukhin, 2022; Maggiori, 2022; Du and Schreger, 2022). We also include a set of standard shocks and nominal and real rigidities commonly adopted in closed-economy estimated DSGE models such as Smets and Wouters (2007), Justiniano, Primiceri, and Tambalotti (2010), and Christiano, Motto, and Rostagno (2014). Our approach is to “let the data speak” on key model features—including on the role of country-specific versus global flight-to-safety shocks, and on the extent to which global flight-to-safety is biased toward safe dollar assets—by allowing the parametersgoverningthesefeaturestobefullydeterminedbythedata. Theuseofanestimated model complements recent work by Kekre and Lenel (2021), who also focus on flight-to-safety (including implications for activity), but who rely on a calibrated model instead.2 Our central finding is that global flight-to-safety (GFS henceforth) shocks are key drivers of fluctuations in aggregate economic activity. These shocks explain almost forty percent of the variation in world GDP growth, far more than any other shock category, and are also key drivers of fluctuations in activity in the U.S. and particularly abroad. GFS shocks are indeed dollar-biased: they raise the utility value of dollar safe bonds by substantially more than that of foreignsafebonds—supportingtheviewofsafedollarassetsasasafehavenandhelpingquantify its magnitude. Global and foreign factors, taken together, account for a considerable fraction of 2There are other important differences in the modeling approaches, as well as in the overall focus. For example, Kekre and Lenel (2021) focus on the role of the U.S. as insurer of the rest of the world, an issue we do not address here. 3

the variance of U.S. GDP growth, hours, and other variables. In contrast to arguments made by Miranda-Agrippino and Rey (2020), however, we do not find a significant role of U.S. monetary shocks (or of any other U.S.-specific shock, for that matter) in driving foreign developments or in generating international co-movement, which our estimates indicate is largely driven by GFS shocks. Further, adverse GFS shocks are associated with lower U.S. (and foreign) interest rates, not higher. We also propose a structural VAR to identify the effects of global flight-to-safety shocks on a set of global macroeconomic and financial variables, using the EBP as proxy for these shocks. The transmission of GFS shocks obtained from our macroeconomic model and from the VAR modelagreetoaremarkableextent. Accordingtobothmodels, thetypicalquarterlyGFSshock triggers a rise in U.S. corporate borrowing spreads of about 10 basis points, a rise in foreign spreads of 15 basis points, an appreciation of the dollar of 0.5 percent, and a decline in global inflation of 0.1 percentage points. The effects on activity are substantial, with the model-based estimates somewhat larger than the VAR-based ones: thus, the typical GFS shock leads both U.S. and foreign GDP to decline around 0.25 percent at the trough, with 90 percent confidence bands ranging between 0.1 and 0.4, and the model-based estimates close to the upper end of that range. Returning to the question of the determinants of fluctuations in the dollar exchange rate, in our last application we use our estimated model to decompose historical movements in the broad real dollar exchange rate through the lens of our model’s version of the uncovered interest parity (UIP) condition—a topic that has received renewed interest in recent literature (Gabaix and Maggiori, 2015; Itskhoki and Mukhin, 2022; Fukui et al., 2023). This condition permits decomposing dollar fluctuations into (i) a component driven by expected interest rate differentials; (ii) a component associated with the dollar bias of GFS shocks; and (iii) a component driven by financial shocks and portfolio frictions. Component (i) captures the conventional UIP channel (linking the level of the exchange rate to current and future expected interest rate differentials), while components (ii) and (iii) are associated with deviations from UIP. We find that the role of the GFS shock, though modest overall, is decisive during global downturns such as the global financial crisis. The financial shock plus portfolio friction component (capturing mechanisms emphasized by Gabaix and Maggiori, 2015) has considerable importance overall; but some notable episodes of dollar appreciation, such as the large appreciation between 2014 4

and 2016, are not associated with UIP deviations of any kind, and instead reflect a widening of expected interest rate paths in the U.S. relative to the rest of the world. The remainder of the paper is organized as follows. Section 2 describes the model. Section 3 summarizes the data and estimation results. Section 4 documents the role of GFS shocks in our estimated model. Section 5 presents our structural VAR model. Section 6 focuses on the drivers of historical dollar movements. Section 7 concludes. 2 Model We consider an economy consisting of a home (H) country, the U.S., and a foreign (F) country, capturing the rest of the world. The model includes a set of standard features that have been found to be important to capture the data (Christiano et al., 2005; Smets and Wouters, 2007; Eichenbaum et al., 2021). A less-standard feature is that we allow for time variation in agents’ preferences for safe bonds, as we discuss below—capturing the “flight-to-safety” shocks that are an important focus of our analysis. Importantly, these flight-to-safety shocks may be biased toward dollar-denominated assets. We also allow for frictions in financial intermediation within each country, following Gertler and Karadi (2011). Agents in each country include households, retailers, producers of intermediate goods, and the government. We next describe the optimization problem facing each type of agent. 2.1 Households We turn here to the optimization problem facing households in each country. We assume that international financial markets are incomplete: the only internationally traded asset is a dollar-denominated safe bond, consistent with the evidence in Maggiori et al. (2020).3 In addition to the standard set of frictions and rigidities—including habit formation in consumption, adjustment costs in investment and in import shares, and rigidities in price and wage setting—we assume that households derive utility from their holdings of safe assets, motivated by the liquidity and safety services of these assets, as in Krishnamurthy and Vissing-Jorgensen (2012). In addition, we allow for shocks to this preference for safety. These shocks have two 3Maggiori et al. (2020) document a strong dollar bias in global investors’ portfolios. 5

important features: First, a component of these shocks is allowed to be common across countries. Second, this common component is allowed to impact dollar-denominated and foreign currency-denominated safe bonds asymmetrically—allowing the model to capture a special role for dollar-denominated safe assets. 2.1.1 Households at Home A continuum of households each consist of a continuum of members with measure unity. A measure (1 − f) of family members are workers and the remaining f are bankers. Workers supply differentiated labor to firms, while bankers manage financial institutions. Wages earned by workers and profits earned by bankers are returned to the household, and there is perfect consumption insurance within the family. There is turnover between bankers and workers: In each period a banker exits with probability (1 − σ) and becomes a worker. Exiting bankers transfer their net worth to the family and are replaced by an equal number, (1−σ)f, of workers who receive a startup wealth endowment e .4 t Let C be home households’ consumption of the final good, B their holdings of the home t H,t safe government bond (denominated in the currency of the home country, that is, in dollars), D t holdings of bank deposits, Π(cid:101) profits from banks and firms, T government transfers, n (i) the t t t labor supply of differentiated labor variety i, and w (i) its nominal wage. Then the domestic t household’s decision problem is to choose C , B , D , and {n (i),w (i)} to maximize t H,t t t t (cid:40) (cid:41) ∞ (cid:90) E (cid:88) βj log (cid:0) C −bC (cid:1) +(ζRP +ζGFS)U(B )− ψ N n (i)1+ηdi (1) t t+j t+j−1 t+j t+j H,t+j 1+η t+j j=0 i∈Wt+j subject to (cid:90) B D H,t t P C + + = w (i)n (i)di+B +D +Π(cid:101) +T , (2) t t R Rd t t H,t−1 t−1 t t t t i∈Wt (cid:18) w t (i) (cid:19)− 1+ µw µw ,t ,t n (i) = N , (3) t t W t andtheconstraintthatworkerigetstoadjustthenominalwageoptimallyonlywithprobability θ (Erceg et al., 2000). The variables R and Rd denote the gross returns from holding home w t t 4Following Gertler and Kiyotaki (2010) and Gertler and Karadi (2011), this structure allows us to introduce financial intermediation while preserving a representative-family setting. 6

bonds and bank deposits respectively, C is average consumption (that is, households’ utility t (cid:82) from consumption exhibits external habits), and total labor income w (i)n (i)di is the i∈Wt t t sum of wage income across the subset W of family members that work at time t. Equation (2) t is the budget constraint, and equation (3) is the demand for labor variety i, which reflects the optimal choice of employment agencies that buy differentiated labor from households and sell a homogeneous labor input, N , to intermediate good-producing firms at wage W . t t The variables ζRP and ζGFS in equation (1) are exogenous shocks to preferences. Both ζRP t t t and ζGFS act as shifters of the utility derived from holding safe dollar bonds B . As Fisher t H,t (2015) discusses, these shocks provide an explicit formulation of the “risk premium” shocks in Smets and Wouters (2007). As will become clear below, the distinction between ζRP and ζGFS t t is that ζRP shifts U.S. households’ preference for safety but not foreign households’, while ζGFS t t affects both U.S. and foreign households’ preference for safety simultaneously. For this reason we label the latter as “global flight-to-safety” (GFS henceforth) shock, while we refer to the ζRP as a “risk premium” shock as in Smets and Wouters (2007). t 2.1.2 Households Abroad and Arbitrage Foreign households can hold both dollar-denominated safe bonds as well as safe bonds denominated in the foreign currency, and therefore they effectively act as “arbitrageurs” across safe bonds in different currencies. Like at home, households abroad also derive utility from these bond holdings, and this utility is also subject to exogenous shocks. We refer to variables pertaining the foreign economy by the symbol ∗. Letting B∗ denote H,t foreign households’ holdings of the home (U.S.) government bond and B∗ their holdings of the F,t foreign government bond, the foreign household’s objective function is ∞ E (cid:88) βj (cid:110) log (cid:16) C∗ −bC ∗ (cid:17) + (cid:2) ζRP∗ +ζGFS (cid:3) U(B∗ )+ (cid:2) ζRP∗ +(1+γ)ζGFS +ζUIP (cid:3) U(B∗ ) t t+j t+j−1 t+j t+j F,t+j t+j t+j t+j H,t+j j=0 (cid:90) ψ − N n∗ (i)1+ηdi }. (4) 1+η t+j i∈W∗ t+j The first and last terms in equation (4) are analogous to those in the domestic household’s objective (1), capturing the utility from consumption and disutility from labor. The second term captures the utility that foreign households derive from holdings of their own country’s 7

safe bond, B∗ . This utility varies due to fluctuations in a risk-premium shock specific to the F,t foreign country, denoted ζRP∗, as well as due to fluctuations in the global flight-to-safety shock t ζGFS. The third term refers to the utility flows to foreign households from their holdings of the t home (dollar-denominated) bond, B∗ . These holdings are also affected by the two shocks ζRP∗ H,t t and ζGFS. Note that we allow the GFS shock to affect the utility flows from home and foreign t safe bonds asymmetrically, with the degree of asymmetry governed by the parameter γ. Thus, if γ > 0, a positive GFS shock increases foreign households’ utility from U.S. bonds by more than it increases their utility from foreign bonds. In this way the model can capture the notion, highlighted in much recent literature in international finance, that safe dollar-denominated bonds issued by the U.S. are particularly valuable in flight-to-safety episodes.5 We highlight, however, that we do not impose γ > 0 at the onset, but instead allow γ to be fully determined by the data (we assume a symmetric flat prior for γ centered at 0). As it turns out, we do find that the data strongly favors a positive value for γ. Finally, we also include in equation (4) a shock denoted ζUIP that alters foreign households’ t preference for U.S. bondsrelative to their preference for foreign bonds, without being associated withageneralizedincreasedpreferenceforsafety(asisthecasewiththeζGFS shock). Aswillbe t clear momentarily, the shock ζUIP enters the model’s uncovered interest parity (UIP) equation t and no other equilibrium condition. For this reason we refer to it as the “standard UIP” shock, although in the literature it is also sometimes referred to as a “currency risk premium” shock (Erceg et al., 2005) or as a ‘financial” shock (Itskhoki and Mukhin, 2021, 2022). Maximization of (4) is subject to the constraints B∗ E B∗ D∗ (cid:90) P∗C∗ + F,t + t H,t + t = w∗(i)n∗(i)di+B∗ +E B∗ +D∗ +Π(cid:101) ∗ +T∗, (5) t t R∗ R Ψ Rd∗ t t F,t−1 t H,t−1 t−1 t t t t t t i∈W∗ t (cid:18) w∗(i) (cid:19)−1+ µw µw n∗(i) = t N∗, (6) t W∗ t t and the restriction that workers in the household can only reset their nominal wage with probability 1 − θ . The variable E denotes the nominal exchange rate, expressed in foreign w t currency units per dollar. Therefore, an increase in E corresponds to an appreciation of the t dollar. Following Schmitt-Groh´e and Uribe (2003), Ψ captures a portfolio cost associated t 5Work higlighting the international role of U.S. safe assets includes Gourinchas and Rey (2007), Maggiori (2017), Gopinath and Stein (2021), and Jiang et al. (2021), among many others. 8

with foreign households’ holdings of the home bonds, which helps ensure that net foreign ∗ assets remain stationary in the model (B is average holdings of dollar bonds, implying that H,t households do not internalize these portfolio costs). The functional form for Ψ is Ψ ≡ 1 − t t ∗ χ EtB H,t, with χ > 0. Y∗P∗ t t The role of the risk shocks embedded in home and foreign households’ preferences (ζGFS, t ζRP, ζRP∗, and ζUIP) is a key focus of our analysis. The next subsection describes the model’s t t t log-linearized Euler and interest parity equations to provide intuition on the transmission of these shocks. 2.1.3 Euler Equations and Uncovered Interest Parity Let π ≡ log(P /P ) denote CPI inflation and hats denote log-deviations from steady state. t t t−1 Thedomesticandforeignlog-linearizedEulerequationsassociatedwiththeholdingsofdomestic and foreign bonds, respectively, are the following:6 cˆ = c cˆ +(1−c )E [cˆ ]−c (cid:0) rˆ −E [π ]+ζRP +ζGFS (cid:1) (7) t 1 t−1 1 t t+1 2 t t t+1 t t cˆ∗ = c cˆ∗ +(1−c )E [cˆ∗ ]−c (cid:0) rˆ∗ −E [π∗ ]+ζRP∗ +ζGFS (cid:1) (8) t 1 t−1 1 t t+1 2 t t t+1 t t where c ≡ b/(1+b) and c ≡ (1−b)/(1+b). As equations (7)-(8) make clear, higher values of 1 2 the country-specific risk-premium shocks, ζRP and ζRP∗, by raising the value of saving relative t t to consuming in the respective country, depress consumption spending and therefore aggregate demand in that country. In turn, increases in the global flight-to-safety shock ζGFS depress t consumption spending in both countries simultaneously. In addition, these shocks also raise the costoffundingforbanks, whichultimatelypushesupthecostofcapital—depressinginvestment spending as well. Combiningequation(8)withthelog-linearizedEulerequationassociatedwithforeignhouseholds’ holdings of U.S. bonds yields the following version of the uncovered interest rate parity (UIP) condition: rer = (rˆ −E [π ])− (cid:0) rˆ∗ −E [π∗ ] (cid:1) +γζGFS +ζUIP −χ +E [rer ], (9) t t t t+1 t t t+1 t t t t t+1 6We log-linearize around a steady state in which ζGFS = ζRP = ζRP∗ = ζUIP = 0 and normalize U(·) so that in steady state U = 1. Also, we abuse the notation for inflation rates, and use π ≡ log(P /P ) [C(1−b)]−1 t t t−1 and π ≡ Pt−Pt−1 interchangeably. t Pt−1 9

where rer denotes the log of the U.S. real exchange rate (defined as the value of the U.S. t consumption basket in terms of the foreign basket: RER ≡ E P /P∗) and χ ≡ χ E B ∗ .7 t t t t t Y∗P∗ H,t Equation (9) indicates that the dollar appreciates when the U.S. real interest rate rises relative to the foreign real rate, as in standard UIP logic. In addition, there are two exogenous sources of deviations from UIP: one driven by the global flight-to-safety shock, ζGFS, and present to the t extent that γ > 0; and another driven by the standard UIP shock ζUIP. Finally, a third source t of UIP deviations arises due to the presence of the portfolio cost χ , with higher portfolio costs t of dollar-denominated assets associated with a weaker dollar. As made clear by the preceding discussion, our model allows for a broad set of possibilities in how fluctuations in both countries’ economic activity and in the real exchange rate can be driven by the various risk shocks. Thus, activity can be impacted by either the country-specific riskpremiumshocksorbytheglobalflight-to-safetyshock; andmovementsintheexchangerate (beyond those driven by interest rate differentials) can be impacted by both the GFS shock and the standard UIP shock. Our approach relies on “letting the data speak” to determine which of these sources of fluctuations are most important. We assume similar priors for ζGFS,ζRP, t t and ζRP∗, and let the data determine whether the country-specific or the common risk shock is t most important; and, we assume a flat prior for the parameter γ that is symmetric and centered at zero, thus letting the data determine the extent to which the GFS shock is associated with UIP deviations. 2.2 Employment Agencies The remainder of the model is fairly standard, and fully symmetric across countries, so for brevity we describe only the home economy here (the Appendix contains the full set of equilibrium conditions). A large number of competitive “employment agencies” combine specialized labor into a homogeneous labor input using an Armington aggregator: (cid:20)(cid:90) 1 (cid:21)1+µw,t N t = n t (j)1+µw,t . (10) j∈Wt where µ w,t = µ w eζ t w (11) 7Note that B ∗ equals zero in the deterministic steady state. H,t 10

and ζw is a wage markup shock. Letting W be the wage firms pay for the homogeneous labor t t input, employment agencies choose N and {n (j)} to maximize profits t t j∈Wt (cid:90) W N − w (j)n (j)dj (12) t t t t j∈Wt subject to equation (10). 2.3 Bankers Bankers intermediate funds between households and firms. Each banker uses its own net worth, x , and deposits from other families to purchase capital K .8 Letting d denote real deposits, t t t i.e. d ≡ Dt, and Q the (real) price of capital, a representative banker’s flow budget constraint t Pt t is d t Q K = x + . (13) t t t Rd t Banker net worth is the gross return on assets net the cost of deposits, P x = (cid:2) rk +Q (1−δ) (cid:3) K −d t−1 , (14) t t t t−1 t−1 P t where rk is capital’s rental rate and δ its depreciation.9 t Following Gertler and Kiyotaki (2010) and Gertler and Karadi (2011), we assume that there is an agency problem between bankers and depositors. In particular, after raising deposits and making loans to firms, a banker can divert a proportion of these loans, κ and transfer them back to its own family. As a result, lenders will limit the amount they are willing to lend to bankers to make sure that bankers do not have an incentive to divert funds. Letting V be the t value to a banker of operating the bank honestly, the incentive compatibility constraint is: V t ≥ eζ t κ+ζ κ tκQ t K t (15) where ζκ is an exogenous disturbance to the tightness of the banking friction affecting home t κ banks only, and ζ is a similar disturbance affecting home and foreign banks simultaneously. t In our calibration, the incentive constraint (15) is binding and bankers in equilibrium will 8As in Gertler and Kiyotaki (2010) and Gertler and Karadi (2011) one can think of banks making loans indexed to the quantity of capital purchased by firms. 9Banksalsomakeastaticcapitalutilizationchoice. Becausetheeffectsofsuchchoiceonreturnsisofsecond order, we leave it out of the main text for ease of exposition. See the Appendix for details. 11

always make higher returns on their investment than what they pay on deposits. Therefore, they find it optimal to pay out dividends only upon exit. As a result, a banker’s objective is to maximize the expected dividend payout upon exit. Letting Λ ≡ βi(C −bC )−1/(C − t,t+i t+i t+i−1 t bC )−1 denote the household’s stochastic discount factor between t and t + i, a banker’s t−1 problem at time t is to choose capital, {K }∞ , deposits, {D }∞ , and net worth, {x }∞ t+i i=0 t+i i=0 t+i i=0 to maximize ∞ (cid:88) V = E Λ (1−σ)σi−1x (16) t t t,t+i t+i i=0 subject to equations (13)-(15). 2.4 Final Consumption and Investment Goods ThefinalaggregateconsumptiongoodCd isproducedasacompositeofadomesticintermediate t goods bundle C and foreign intermediate goods bundle C by means of an Armington H,t F,t aggregator: C t d = (cid:104) (cid:0) eζ t ωω (cid:1) θ 1 C H θ− θ ,t 1 + (cid:0) 1−eζ t ωω (cid:1) θ 1 (cid:0) (1−ψ t MC)C F,t (cid:1)θ− θ 1(cid:105) θ− θ 1 , (17) where θ ≥ 0 determines the elasticity of substitution between the domestic and foreign intermediate goods bundles. The production Cd has to equal the sum of domestic private and t government consumption: Cd = C +G . (18) t t t Similarly,thefinalinvestmentgoodisproducedbycombiningahome-producedandanimported investment good: I t = (cid:104) (cid:0) eζ t ωω I (cid:1) θ 1 I H θ− θ ,t 1 + (cid:0) 1−eζ t ωω I (cid:1) θ 1 (cid:0) (1−ψ t MI)I F,t (cid:1)θ− θ 1(cid:105) θ− θ 1 . (19) In both expressions above, (ζω) is an exogenous disturbance to home bias in preferences. t The variables ψMC and ψMI capture costs associated with changing the ratio of importedt t to-domestic consumption or investment goods, and take the following form: ψ (cid:18) C /C (cid:19)2 ψ (cid:18) I /I (cid:19)2 ψMC = i F,t F,t−1 −1 and ψMI = i F,t F,t−1 −1 . t 2 C /C t 2 I /I H,t H,t−1 H,t H,t−1 12

This form of adjustment costs is common in the open-economy DSGE literature, for example Erceg et al. (2005) or Eichenbaum et al. (2021), and it allows capturing a dampened short-run response of the import share to movements in the relative price of imports, consistent with the evidence. Producers of the final consumption good choose (C ,C ,C ) to maximize H,t+i F,t+i t+i ∞ (cid:18) (cid:19) (cid:88) P P E Λ Cd − H,t+i C − F,t+i C t t,t+i t+i P H,t+i P F,t+i t+i t+i i=0 subject to equation (17), where P and P are the price of the domestic and foreign inter- H,t F,t mediate goods bundles, respectively. Similarly, producers of the final investment good choose (I ,I ,I ) to maximize H,t F,t t ∞ (cid:18) (cid:19) (cid:88) P P P E Λ I,t+i I − H,t+i I − F,t+i I t t,t+i t+i H,t+i F,t+i P P P t+i t+i t+i i=0 subject to equation (19), where P is the price of the final investment good.10 I,t The solution of the problems of the final consumption and investment goods producers determines aggregate domestic demand for the home intermediate good bundle, Y = C +I , H,t H,t H,t and for the imported foreign intermediate goods bundle, Y = C +I . F,t F,t F,t In turn, these bundles of intermediate goods are composite of intermediate goods varieties: (cid:18)(cid:90) 1 1 (cid:19)1+µ ht Y = Y 1+µht(h)dh (20) H,t H,t 0 (cid:18)(cid:90) 1 1 (cid:19)1+µ ft Y = Y 1+µft(h)dh (21) F,t F,t 0 where µ jt = µ j eζ t µj+ζ µ t j for j ∈ {h,f} (22) are time-varying desired markups that are buffeted by a transitory shock ζ µj and a highly t 10Our model of the final consumption and investment goods sector follows closely Erceg et al. (2005). 13

persistent one ζ µj. t The home intermediate good bundle is supplied by perfectly competitive retailers at home that maximize (cid:90) 1 P Y − P (h)Y (h)dh H,t H,t H,t H,t 0 subject to equation (20). Similarly, retailers of the foreign intermediate bundle at home maximize (cid:90) 1 P Y − P (h)Y (h)dh F,t F,t F,t F,t 0 subject to equation (21). The demand functions for differentiated intermediate goods from the domestic and foreign economies are (cid:18) P H,t (h) (cid:19)− 1+ µh µ t ht Y (h) = Y , (23) H,t H,t P H,t (cid:18) P F,t (h) (cid:19)− 1+ µf µ t ft Y (h) = Y . (24) F,t F,t P F,t 2.5 Intermediate good firms There is a continuum of intermediate good retailers and a continuum of intermediate goods producers. Intermediate goods producers use a Cobb-Douglas production technology that employs labor and capital to produce a homogeneous intermediate good. Retailers then differentiate this intermediate good (at no cost) and sell it in a monopolistically competitive market subject to nominal rigidities as in Calvo (1983). 2.5.1 Retailers of intermediate goods varieties There are two types of retailers both in the home and in the foreign country: domestic retailers and exporters. In each period, a domestic retailer can set its price optimally only with probability1−θ , andotherwisefollowsanindexationrulewherebyitpriceisindexedtoprevious-period p inflation with exponent ι ∈ [0,1]. Letting MC be the price of the homogeneous intermediate p t good and π ≡ PH,t−PH,t−1 the rate of inflation of the domestic good bundle at home, a domes- H,t PH,t−1 tic retailer that resets his price at time t chooses the optimal reset price Po for the domestic H,t 14

market to maximize E (cid:88) ∞ (θ )iΛ (cid:32) P H o ,t (cid:81) j t+ = i t −1(1+π H,j )ιp −MC (cid:33) Y (h) (25) t p t,t+i t+i H,t+i P t+i i=0 where the demand for retailer’s intermediate good at time t+i is11 (cid:34) Po (cid:81)t+i−1(1+π )ιp (cid:35)− 1+ µh µ t ht H,t j=t H,j Y (h) = Y . (26) H,t+i H,t+i P H,t+i Similarly, exporting retailers cannot reset their price with probability θx which we allow p to differ from θ . Further we assume that exporting retailers set prices in the currency of the p market in which the good is sold, i.e. local currency pricing.12 Accordingly, the optimal reset price Po,∗ for exporters maximizes H,t (cid:88) ∞ (cid:32) Po,∗(cid:81)t+i−1(1+π∗ )ιx p (cid:33) E (θx)iΛ H,t j=t H,j E−1 −MC Y∗ (h), (27) t p t,t+i P t+i t+i H,t+i t+i i=0 P∗ where π∗ = H,j and H,j P∗ H,j−1 Y∗ (h) = (cid:34) P H o, , ∗ t (cid:81)t j + = i t −1(1+π H ∗ ,j )ιx p (cid:35)− 1+ µ∗ h µ t ∗ ht Y∗ . (28) H,t+i P∗ H,t+i H,t+i 2.5.2 Producers of the intermediate good We assume a standard Cobb-Douglas production function for the homogeneous intermediate Y t = eζ t AK ¯ t αN t 1−α (29) where ζA is a shock to aggregate total factor productivity (TFP), and K ¯ is effective units of t t capital ¯ K = K u , (30) t t−1 t 11See equation (A.38) in the Appendix. 12See Devereux and Engel (2002). 15

where u denotes the utilization rate. Capital utilization entails a cost of installed capital t A(u )K , with function A(u ) given by t t−1 t eξ(ut−1)−1 A(u ) = rK , (31) t ξ where r¯K is the steady-state rental rate of capital. The utilization rate u is assumed to be t chosen by bankers, as described in the Appendix. Perfectly competitive producers choose how much effective capital to rent and labor to hire to maximize profits, given by MC Y −w N −rKK ¯ (32) t t t t t t subject to production function (29). 2.6 Capital goods producers Capital goods producers use investment goods to produce new capital goods subject to flow adjustment costs as in Christiano et al. (2005): (cid:20) (cid:18) (cid:19)(cid:21) I K t −(1−δ)K t−1 = eζ t II t 1−S t (33) I t−1 where ζI is a shock to the marginal efficiency of investment as in Justiniano et al. (2010). t Capital goods producers choose (I ,K ) to maximize s s (cid:88) ∞ (cid:20) PI (cid:21) E Λ Q [K −(1−δ)K ]− t+iI . (34) t t,t+i t+i t+i t+i−1 t+i P t+i i=0 2.7 Fiscal and monetary policy The government finances expenditures with lump sum taxes to balance its budget period by period: T t = G t = eζ t GG (35) where G is steady-state government expenditure and ζG is a domestic government expenditure t shock. The monetary authority (both at home and abroad) sets nominal interest rates according 16

to a policy rule in the spirit of Taylor which responds to CPI inflation, Π and the output gap: t R (cid:18) R (cid:19)φR (cid:20) (cid:18) Y (cid:19)φY (cid:21)1−φR R t = R t−1 (cid:0) π t −eζ t ππ¯ (cid:1)φπ Yfl t ex eζ t R (36) t where Yflex is aggregate output in the flexible-price version of the economy, ζπ is a shock to t t the inflation target π¯, and ζR is a monetary policy shock. t 2.8 Market Clearing Conditions The market clearing condition for intermediate goods is (cid:90) 1 n∗ (cid:90) 1 Y = Y (h)dh+ Y∗ (h)dh, (37) t H,t n H,t 0 0 where n and n∗ are the size of the Home and Foreign country, respectively. Finally we can express the equilibrium in the bond market by combining the budget constraint of the home and foreign households to get a balance of payments condition: E B∗ t H,t = E B∗ +E P Y −P∗ Y∗ . (38) R Ψ t H,t−1 t F,t F,t H,t H,t t t 3 Estimation In this section we discuss the model estimation. We begin with a quick summary of our solution and estimation approach, after which we describe the data. Then, we summarize our choices for calibrated parameters and for priors. The remainder of the section discusses the estimation results. 3.1 Model Solution and Estimation We compute a linear approximation to the model and estimate it with Bayesian methods using DYNARE.13 We split the model parameters into two groups. Parameters in the first group are calibrated to match selected long-run moments or common values from the literature. For the second group of parameters we specify priors and combine them with the model’s likelihood 13ForanintroductiontoestimatingDSGEmodelswithBayesianmethodssee,forexample,AnandSchorfheide (2007). For documentation on DYNARE see Adjemian et al. (2011). 17

functionunderthedatalistedbelowtoarriveattheirposteriordistribution. Toapproximatethe posteriorwefirstfoundtheposteriormodeandthenexploredtheposteriorwiththeMetropolis- Hastings algorithm.14 To ensure convergence, we generated multiple chains of length 100,000 of which we dropped the first 50 percent of observations. We allow for 5 percent iid measurement error in the foreign series in the estimation, both to deal with true measurement error in the series as well as noise generated by our data aggregation approach (discussed next). 3.2 Data We use 21 quarterly time series. All quantity series are measured in per capita units. Our data set starts as early as 1973. However, given data availability constraints, several of the individual time series start later. While we use previous data if available to form initial conditions, our estimation sample starts in 1985. The home country in our model represents the U.S., and the foreign country captures the rest of the world. To construct time series for the rest of the world, we compute a weighted average of the available foreign country series in a given quarter, using real exchange rate weights discussed in Appendix C.15 We build time series for the rest of the world for real GDP growth, real consumption growth, real investment growth, the policy rate, inflation—measured by the GDP deflator—and corporate bond spreads. To ensure sufficient coverage, we start the first five series in 1985 and the corporate spread series in 2002, coding them as missing prior to those dates. For the U.S. we use data for the same series as for the rest of the world, and include each series in the estimation as soon as it becomes available. In addition, we add data on the real exchange rate, real wage growth, 10-year PCE inflation expectations, import and export prices relative to the GDP deflator, and real import and export growth.16 Finally, we use the “labor gap,” constructed as in Campbell et al. (2017), as a measure of the cyclical component of total hours worked. This measure excludes low-frequency movements in the data that are not 14Giventhelargeparameterspaceweextensivelyexploreddifferentstartingpointsforthesearchforthemode as well as small perturbations to the priors. 15Thismeansthatoureffectivecountryweightschangeovertime, bothastheweightsthemselveschangeand as data for more countries becomes available. 16Given data availability, we use forecasts both on inflation in 5-10 years as well as in 10 years for subsets of the estimation period. Our observation equations account for the differences in the goods underlying the GDP deflator and the consumer price index in the model. 18

well-captured by our model, which focuses on business-cycle frequencies.17 Appendix C discusses the data sources and details of the constructed series. 3.3 Calibration, Priors and Posteriors Table 1 lists the calibrated parameters with their target values. We set the size of the home country to 1/4, which captures the share of U.S. GDP in the global economy. The discount factor, β, is set to imply an annualized interest rate of 4 percent, in line with the return to capital. We set the quarterly depreciation rate, δ, to 2.5 percent, a common value in the literature. The capital share, α, is set 0.29, in line with the labor share. We target a share of steady-state government expenditure, G, of 22 percent, again a common value for models of the Y U.S. economy. The parameters controlling home bias in consumption and investment, ω and ω , are calibrated to match a steady state import share of consumption and investment of 7 I and 50 percent, respectively.18 The disutility weight on labor, ψ , is set to obtain a steady-state n value of labor equal to a third. Finally, we set the wage and price markups to 15 percent, a common value in the literature. Table 2 lists the structural parameters that we estimate together with the priors and the posteriors from the estimation. Table 3 does the same for the shock processes. As shown in Table 2, we selected the prior values of parameters that are also present in closed economy models in line with earlier research. Turning to the parameters specific to the open economy, we used the following priors. For the elasticity of substitution between local and imported goods, θ, we chose a beta distribution with support (1,4), a mean of 2 and standard deviation of 0.33. This choice covers many parameter values used in the international macro literature. For the trade adjustment cost parameter ψ we use a beta distribution with support (0,20), i mean 10 and standard deviation 2. While this mean is close to the value used in Erceg et al. (2005), the distribution allows for a wide range of estimates.19 We selected a wide prior for γ to remain agnostic about the exchange rate effects of global flight-to-safety shocks. For the 17We map U.S. hours worked in the model to the labor gap. As a result, structural changes in the labor market over time, like the rise in female labor force participation, are captured by TFP changes when we filter the data. 18Theforeignhomebiasparametersarederivedbyscalingdownω andω toimposebalancedtradeinsteady I state. Wetargetatotalimportshareof15percentandaninvestmentshareconsistentwithErcegetal.(2008). 19We used a beta distribution instead of a normal distribution for these two parameters to rule out extreme local modes we encountered in initial runs of the estimation. 19

pricing frictions of imports we choose the same priors as for the domestic pricing frictions, for simplicity. The posterior distribution of the structural parameters provides four interesting observations. First, for the parameters that would apply to a closed economy, our estimates are generally close to those found in the literature estimating DSGE models for the U.S. economy—for example, Christiano et al. (2005), Smets and Wouters (2007), or Del Negro et al. (2015). Second, the posterior mode of the parameter γ is firmly positive, and so is the bulk of the mass of the posterior. This result implies that an increase in the global flight-to-safety shock is indeed associated with an appreciation of the dollar. Third, from the parameters controlling the trade elasticity at different horizons (θ and ψ ), the posterior suggests a higher elasticity at most i horizons than often assumed in international business cycle models. Focusing on the posterior mean, the values of these parameters imply a long-run trade elasticity of 2.5 and a short run one of 0.5, compared with 2 and 0.4, respectively, under our prior. Fourth, consistent with the high volatility of import and export prices in our data set, we find prices for imported goods to be less sticky than for domestically sold goods, consistent with calibrated open-economy DSGE models like SIGMA (Erceg et al., 2005). Turning to the shock processes, with the exception of the markup shocks, we assume shocks in the model follow first-order auto-regressive processes log(ζx) = ρ log(ζx )+σ εx, (39) t x t−1 x t where x denotes the variable associated to the shock, ρ is the persistence parameter, σ x x denotes the standard deviation, and the innovations are distributed according to εx ∼ N(0,1). t We assume that markup shocks follow ARMA(1,1) processes, as in related literature (Smets and Wouters, 2007; Justiniano et al., 2010)20: log(ζx) = ρ log(ζx )+σ (εx −θ εx ). (40) t x t−1 x t x t−1 Our priors rely on the beta distribution for the persistence parameters and the inversegamma distribution for the standard deviation parameters. 20The only exception is the the persistent component of the markup shocks on domestic good sold abroad, µP ζ H∗, which follows an AR(1) process. t 20

The full list of shocks in our model is as follows. Starting with the home economy, in addition to the global flight-to-safety and risk premium shocks ζGFS, ζRP, the model features t t shocks to the monetary policy rule ζR, government spending ζG, investment efficiency ζI, the t t t wage markup ζw, the markup of home goods sold domestically ζµH, total factor productivity t t ζA, the inflation target ζπ¯, and the banking friction ζκ. We allow for a global component of the t t t k latter shock as well, ζ . t The foreign economy is buffeted by an identical set of shocks, with the exception that we do not include a wage markup shock abroad. The reason is that our dataset does not include hours or wages for the foreign bloc, complicating the task of identifying wage markup shocks. In addition, the foreign economy is also hit by the UIP shock ζUIP. t Finally, our model also includes an array of shocks affecting international trade prices and quantities. These shocks include time variation in U.S. home bias—through the shocks ζω— t whichworks to shiftthe weightof the domestic good relative to the foreign goodin the domestic consumption and investment baskets. The shock ζω∗ generates analogous fluctuations in the t foreign economies. To capture movements in trade prices, we include shocks to the markups of goods traded across borders. Further, we split these shocks into highly persistent and transitory components. Thus, for example, ζµH∗ captures the high-frequency movements in prices of t domestic goods sold abroad, while ζµP targets the low-frequency movements in these prices. H∗ Table 3 shows the prior specification and estimated posterior moments of the parameters governing these shock processes. Several observations are worth noting. First, the posterior distributions of shock variances and autocorrelations are much less dispersed than the prior distributions. Second, the U.S.-specific shocks are generally more persistent than the foreign shocks. Third, the GFS shock is estimated to be highly persistent. 4 Flight to Safety and Global Business Cycles This section explores the drivers of global fluctuations in our estimated model. We begin by considering variance and historical decompositions of the data, with an emphasis on the role of the various risk-related shocks, and on the GFS shock in particular. We then present estimated impulse responses to these shocks to shed light on their transmission. 21

4.1 Historical Decompositions A key finding from our analysis is that the global flight-to-safety (GFS) shock is the central driver of global GDP growth. Figure 2 illustrates this finding. The blue line in this figure shows world GDP growth in the data. This line is interpretable as the outcome of simulating our model assuming all estimated shocks took place (and given the filter’s estimate of the initial condition). The red solid line shows global GDP growth conditional on only the GFS shock occurring (given the same initial condition). The key observation is that the red dashed line tracks the data remarkably well. The major downturns in global growth observed in the data—including the global financial crisis and the slowdowns in the early 2000s and in the early 1990s—are all associated with the GFS shock. The GFS shock accounts not only for the bulk of the decline in growth during the GFC, but also for the post-GFC slow recovery: observe that if it only the GFS shock had been present, post-GFC growth would have been even lower than it actually was. Table 4 complements this finding by showing variance decompositions of world aggregates from stochastic simulations of the model. For each variable shown in the rows, a given column displays the fraction of variance accounted for by the corresponding shock (or group of shocks). The first four columns show the role of the four individual risk shocks (GFS, U.S. risk premium, foreign risk premium, and UIP). The remaining columns show the role of groups of shocks (for example, the column “Monetary” shows the effects of both U.S. and foreign monetary shocks, and similarly for the other columns). The last column bundles together home and foreign TFP shocks and the home labor supply shock. As Table 4 makes clear, the GFS shock accounts for the bulk of fluctuations in world GDP growth, explaining nearly 37 percent of such fluctuations—far more than any other shock or group of shocks. The same shock also explains an even larger share of the variability of global consumption and global policy rates, and accounts for a sizable share of fluctuations in global investment and credit spreads as well. The GFS shock accounts, however, for only a small portion of exchange rate fluctuations; but, as we show later, this shock does play a significant role in explaining deviations from UIP—particularly during severe global downturns like the GFC. We make the following additional observations from Table 4. Both the U.S. and the Foreign 22

country-specific risk-premium shocks play an overall minor role in accounting for fluctuations in world aggregates. The UIP shock explains a sizeable portion of exchange rate fluctuations (almost 44 percent, on a first-difference basis), but plays no role in explaining any other world aggregate (in line with the “exchange rate disconnect” literature); still, contrary to the “disconnect” hypothesis, other fundamental shocks also play a role in accounting for exchange rate fluctuations—particularly the shocks to home bias in households’ preferences. Global inflation is largely driven by the inflation target shocks and, to a lesser extent, by the set of markup shocks. Fluctuations in global investment growth are driven to a large extent by investment efficiency shocks. Finally, the banking friction shocks are important in explaining movements in global credit spreads, but matter little for other global variables. The GFS shock is important not only for historical fluctuations in world GDP growth, but also for fluctuations in U.S. and Foreign GDP growth separately, as we show in Figure 3. In the Foreign bloc (right panel), the model simulation conditional on GFS shocks only tracks the actual data particularly well. In the U.S., the association between data and GFS-shock-only simulation appears less strong, especially at the higher frequency; but the GFS shock does account for a considerable part of the major slowdowns in U.S. growth in the sample, including in the early 1990s, early 2000s, and the GFC, as well as some of the growth gyrations in the 1970s and 1980s. We next turn to variance decompositions of U.S. and Foreign variables separately. In Table 5 we perform the same variance decomposition as in Table 4 for the U.S. variables in our estimation sample. A key highlight is, again, that the GFS shock plays an important role in U.S. business cycles: it accounts for about 15 percent of U.S. GDP growth fluctuations, and about a third of fluctuations in hours and in the policy rate. A second key observation is that adding up global and foreign factors together (first and second columns) explains an even higher fraction of U.S. business cycles: almost a quarter of fluctuations in U.S. GDP growth, and even more of fluctuations in hours. Still, home-grown factors remain important. In particular, the U.S.-specific risk premium shock plays a central role as well, both for GDP and for other U.S. variables, as others have found.21 Turning to trade, the U.S. home bias shocks are important 21Note from Table 5 that the U.S. government spending shock is important for GDP growth, but matters little for other variables. The reason is that this shock turns out to have a large impact on GDP growth at the high frequency but a smaller one at lower frequencies, and it does not deliver positive comovement between GDP and its components. 23

in accounting for fluctuations in U.S. import growth—a finding that is mirrored in the case of U.S. exports, which are largely driven by the foreign home bias shock (which in the table is included in the “All foreign shocks” column). Finally, we turn to the variance decomposition of the Foreign variables in our sample, in Table 6. The GFS shock is, again, key, accounting for about a third of fluctuations in GDP and consumption growth, as well as in the policy rate. Second in importance in explaining GDP growth fluctuations are the foreign monetary and TFP shocks. We also highlight that U.S.-specific shocks (which are bundled together in the second column) matter little for overall developments in the Foreign bloc—in contrast to the U.S. case, in which Foreign-specific shocks do have a material role. Table 7 provides some information to help understand why the model’s estimation assigns a large role to the GFS shock. The top part of the table shows correlations of world GDP growth withotherworldaggregates, andthebottompartshowspair-wisecorrelationsbetweenvariables intheU.S.andabroad. Thefirstcolumnshowsthecorrespondingvaluesinthedata, thesecond column shows the values of these moments in a model simulation (including all shocks), and the third column shows the values in a model simulation with the GFS shock only. In the data, world GDP growth is positively correlated with global investment and consumption growth and with global inflation and policy rates, and is negatively correlated with credit spreads and with the (first-differenced) dollar exchange rate. From the third column, the GFS shock implies a set of correlations that are broadly consistent with those in the data. Thus, the presence of this shock pushes the model in the direction of matching these moments in the data. Of course, the model including all shocks does not necessarily match each of these moments, as the estimation implicitly targets all moments in the data and not just those shown in Table 7. Turning to the bottom part of the table, in the data there is a considerable degree of comovement between variables in the U.S. and in the rest of the world, for each of the variables shown. The GFS shock implies a very high degree of comovement across the two country blocs, thus helping push the model closer to this dimension of the data as well. 24

4.2 Transmission of Key Shocks Weturnheretodiscussinghowthevariousrisk-relatedshocksinthemodeltransmitthroughthe global economy. Figure 4 shows the impulse responses to one-standard-deviation innovations to the GFS shock (thick red lines), the U.S.-specific risk premium shock (thin blue lines), and the UIP shock (yellow dash-dotted lines lines). A one-standard-deviation GFS shock depresses the level of U.S. and foreign GDP simultaneously and persistently, by almost the same amount— about 0.4 percent. The lower activity is associated with lower inflation, particularly in the U.S., and thus triggers an easing of monetary policy globally (not shown). Corporate bond spreads rise globally, and the rise is more pronounced in Foreign than in the U.S.—spreads rise 0.15 percentage points abroad and about 0.10 percentage points in the U.S. The dollar appreciates by 0.5 percent on impact and then slowly returns to its pre-shock path. This dollar appreciation helps explain the larger drop in U.S. inflation compared to Foreign. It is interesting to highlight that while the size of the decline in GDP is virtually identical across country blocks, there are differences in its composition (Figure 5): Abroad, the shock depresses consumption, and particularly investment, more than in the U.S., consistent with the larger increase in foreign credit spreads. At the same time, the associated dollar appreciation contributes to depressing the trade balance in the U.S. (bottom right panel of Figure 5), hurting U.S. GDP. Thus, the decline in GDP abroad reflects depressed domestic absorption to a greater extent than in the U.S. Overall, the global effects of the GFS shock are consistent with a reorientation of capital flows away from the foreign economies and toward the U.S., with the dollar appreciating, foreign borrowing spreads rising more than in the U.S., and foreign absorption falling more than in the U.S. Turning to the other shocks shown in Figure 4, a one-standard-deviation U.S.-specific risk premium shock induces similar dynamics of U.S. GDP and the U.S. policy rate as the GFS shock, and a larger spike in U.S. credit spreads. The shock does not, however, have any material spillovers to the foreign block: foreign GDP barely moves. In addition, unlike the GFS shock, a rise in the U.S. risk premium triggers a dollar depreciation, which occurs due to the lower expected path of U.S. real rates relative to foreign rates triggered by the U.S. weakness. Finally, a one-standard-deviation UIP shock leads to a significant move in the exchange rate (about 1.8 percent), but has a relatively small effect on U.S. and foreign GDP. In addition, GDP moves in 25

opposite directions in the U.S. and abroad in response to this shock, as a weaker dollar benefits U.S. GDP through net exports, but hurts foreign GDP. 5 Flight to Safety: A VAR Analysis The previous section discussed how our estimated model uncovers the GFS shock as the single most important driver of fluctuations in global GDP growth. In our estimated model, a positive innovation to the GFS shock triggers a decline in both U.S. and foreign GDP, a rise in credit spreads in both countries (with a larger increase abroad), and a substantial appreciation of the dollar. In this section we complement that analysis by showing here that the effects of the GFS shock aligns closely with direct empirical evidence obtained from a structural VAR model in which we proxy for global flight to safety with an indicator for global sentiment, the excess bond premium (EBP; Gilchrist and Zakrajˇsek, 2012). 5.1 The Excess Bond Premium and Global Sentiment Gilchrist and Zakrajˇsek (2012) show that the EBP, an indicator that measures risk appetite in U.S. corporate bond markets that is not directly attributable to expected risk of default, is a good predictor of future economic activity in the U.S. Because of the global importance of the U.S. financial sector, the EBP is a natural candidate to proxy for global sentiment, as has been emphasized in the literature (for example, Obstfeld and Zhou, 2023). To confirm that the EBP is a good indicator for global risk appetite, we show in this section that the EBP is a strong predictor of several popular measures of global investor sentiment. In particular, we test the predictive content of changes in the EBP for subsequent movements in other proxies for global sentiment by estimating the following regression: p (cid:88) X −X = α+ βi∆X +γ∆EBP +ε , (41) t+h t−1 t−i t t+h i=1 where X denotes the value of the variable of interest h-periods into the future. We t+h compute the predictive content of the EBP for six proxies of global risk aversion: (1) Miranda- Agrippino and Rey (2022)’s “global financial cycle” factor, which captures the common statistical component driving world risky asset prices and international credit flows; (2) the VIX 26

index, which measures the option-implied volatility in the S&P 500; (3) Londono and Wilson (2018)’s “global volatility” index, a market-value-weighted average of the equity option-implied volatility of risky asset prices in advanced economies; (4) Du et al. (2018)’s 1-year U.S. treasury premium, a measure of the non-pecuniary benefits (the “convenience yield”) of holding U.S. government bonds relative to comparable default-free and liquid government bonds of G-10 countries; (5) emerging markets’ sovereign credit spreads in foreign currency bonds (FC); (6) emerging markets sovereign spreads in local currency bonds (LC). Table 8 shows the results from estimating equation (41). The columns correspond to each of the proxies of global risk, and the rows report the estimates of the parameter of interest, γ, for horizons h = {3,6,12} months. For the VIX and global volatility, the estimation sample covers the period 1990m1-2023m2. The GFC factor’s last available observation is 2019m4. We construct monthly averages of the U.S. treasury premium from 1990m1-2021m3. For emerging markets data on sovereign spreads we restrict our sample to the period 2003m1-2021m3. Our results show significant predictive ability of the EBP on all our proxies of global sentiment. For example, at the three-month horizon (h = 3), a one-percentage-point increase in the EBP predicts a 0.3 percentage point decline in global risk appetite as measured by the GFC factor (column 1). Similarly, the same increase in the EBP is also associated associated with increased volatility with a 9 percent increase in the VIX (column 3) and 6 percent increase in global volatility (column 4). An increase in the EBP also results in a higher treasury premium of 10 basis points (column 5), consistent with increased demand for for U.S. treasuries relative to other safe assets. ToprovideadditionalevidencethattheEBPisagoodproxyforglobalsentiment, weexplore the response of sovereign government debt in emerging markets. The last two columns in Table 8 present results from estimating our forecasting regression in Equation (41) for two measures of emerging markets’ sovereign risk. Column (5) shows results for FC credit spreads, measured using JP Morgan Global Emerging Market Bond Index (EMBI Global). Column (6) shows results using Du and Schreger (2016)’s 5-year LC credit spread, constructed as the spread of local currency bonds over synthetic cross-currency swaps of risk-free U.S. treasuries. We find that a 1 percentage point increase in the EBP forecasts substantial increases (of more than 100 basis points) in emerging markets FC sovereign spreads at all future horizons, but it has no predictive power for LC sovereign spreads. This result is consistent with Du and 27

Schreger (2016) that shows that although LC borrowing is subject to sizeable default risk, LC debt is less exposed to global risk factors and exhibit lower international co-movement relative for FC sovereign debt in emerging markets. 5.2 VAR Evidence Having established that the EBP is a useful proxy to capture shifts in global sentiment, we estimate a monthly VAR that includes the EBP, 5-year BBB corporate bond spreads in the U.S. and foreign economies, the trade-weighted broad real dollar index, total PCE inflation for the U.S., headline CPI inflation for the foreign economies, and monthly estimates of U.S. and foreign real GDP. The dollar index and GDP series are detrended before estimation 22. Our estimation sample covers the period 2001:8 – 2022:12. To identify global risk shocks in the VAR, we impose a recursive contemporaneous causal structure with variables in the order listed above. This structure imposes that the only shock that can affect the EBP contemporaneously is the “global sentiment” shock. We take this global sentiment shock to be the counterpart in the VAR of the GFS shock in our model. Figure6displaystheresponseofkeyfinancialandmacroeconomicvariablestoaninnovation in global risk sentiment. The thin solid line is the median impulse response to a global risk sentiment shock in the VAR. The gray area represents the associated 95 percent confidence interval. The response of U.S. variables, including the broad real dollar, is shown in the top row. In the VAR a shock to global sentiment increases corporate borrowing spreads by about 10 basis points, and borrowing costs remain elevated for several quarters. The heightened financial stress is accompanied with a persistent contraction in economic activity. Real GDP declines about 0.25 percentage point within the first year and headline inflation falls by 0.1 percentage point within the first year. The broad real dollar index appreciates 0.5 percent on impact in response to higher global risk and the dollar strengths persistently for nearly two years after the shock. The bottom row of Figure 6 shows the response of foreign variables. Corporate borrowing spreads in the rest of the world increase by more than in the United States and remain above baseline for several quarters. The median response of foreign GDP and foreign 22Forthedollarindexwefitalog-lineartrend. GDPisdetrendedrelativetoanon-parametricmovingaverage trend as in Cuba-Borda et al. (2018) 28

inflation are similar to those in the U.S.23 In Figure 6 we also compare the estimated VAR responses with the response to a global flight-to-safety, ζGFS, shock in our estimated DSGE model. The thick solid line depicts the t impulse response function in the DSGE model calculated using the mean of the posterior distribution from Table 2 and Table 3. As described in Section 4, the GFS shock simultaneously depresses GDP, lower inflation and increases borrowing costs globally. In addition, increased global risk increases the the demand for dollar denominated bonds globally and appreciates the real exchange rate in the U.S. The responses in the DSGE model are remarkably close to those of the VAR. In both models wefindthatfindthatshiftsinglobalrisksentimentcanhaveasizableadverseeffectoneconomic activity, global inflation, increased excess returns on risky assets and an appreciation of the U.S. dollar. In the DSGE model the response of U.S. and foreign GDP is more protracted than in the VAR. In our DSGE model, the global flight-to-safety shock is estimated indirectly through the joint dynamics of real activity variables, inflation, borrowing costs and dollar movements. The VAR relies on a different identification strategy and uses the EBP as a direct measure of global sentiment to infer the transmission of these shocks. The VAR evidence provides external validation for the role of global flight-to-safety shocks, as well as their transmission through the asymmetric demand for safe assets present in our DSGE model. 6 Dollar Fluctuations and Uncovered Interest Parity In this section, we turn to a historical analysis of the dollar exchange rate, through the lens of our model’s version of the uncovered interest rate parity condition. The UIP condition is the basis of much theoretical and empirical analysis of exchange rate determination, and has been the subject of an enormous literature (see Engel, 2014 for a survey). Given the welldocumented empirical limitations of the “pure” version of UIP—linking expected exchange rate changessolelytocurrentinterestratedifferentials—ithaslongbeencommonintheinternational macroeconomics literature to append an exogenous disturbance to the UIP equation, with the goal of capturing exchange rate fluctuations driven by factors other than the expected path of 23Akinci,Kalemli-O¨zcan,andQueralto(2022)haveshownVARevidenceindicatingsimilareffectsonspreads and the dollar of an increase in the VIX, another popular indicator of global sentiment. 29

interest rate differentials, such as risk premiums (e.g. Erceg et al., 2005). Recent well-known contributionshaveprovidedfoundationsfortheseUIPdeviations, byrelyingonimperfectionsin financial markets (Gabaix and Maggiori, 2015; Itskhoki and Mukhin, 2021; see also the survey in Maggiori, 2022).24 Some of this work, for example Itskhoki and Mukhin (2022), focuses on providing foundations for a shock with similar features as the “pure” UIP shock ζUIP in our t model. Other recent work, like Jiang et al. (2021) and Kekre and Lenel (2021), has focused on the exchange-rate implications of the convenience yield of dollar assets—as captured by the asymmetric effects of the GFS shock ζGFS in our model.25 t Our approach, by virtue of relying on an estimated structural model, is able to make two contributions to the aforementioned recent literature. First, by considering the historical evolution of the dollar exchange rate through the lens of the model, we can determine whether dollar fluctuations in any given historical episode were linked to interest rate differentials, as in the “pure” version of UIP, or to deviations from it. And second, in historical episodes in which the model indicates a significant UIP deviation was present, we can use the model to assess whether such deviation was mostly driven by pure UIP shocks ζUIP—as stressed in the work t of Itskhoki and Mukhin (2021)—or by heightened preference for dollar safety—as emphasized by Jiang et al. (2021) and Kekre and Lenel (2021). Our analysis reveals that even if GFS shocks explain little of the unconditional variance of exchange rates, they play a decisive role in accounting for UIP deviations in specific historical episodes, such as the global financial crisis. With that perspective in mind, we begin by iterating equation (9) forward to obtain ∞ rer = E (cid:2)(cid:88) (rˆreal −rˆreal∗) (cid:3) +γζ GFS +ζ UIP −χ , (42) t t t+i t+i t t t i=0 24See Akinci and Queralto (2023) for a related study focused on emerging markets. 25In very recent work, Fukui, Nakamura, and Steinsson (2023) also allow for two distinct exogenous UIP disturbances, with different implications for economic activity and other variables. 30

where rˆreal ≡ rˆ −E [π ] is the real interest rate, and t t t t+1 ∞ ζ GFS ≡ E (cid:2)(cid:88) ζGFS (cid:3) = 1 ζGFS, (43) t t t+i (1−ρ ) t GFS i=0 ∞ ζ UIP ≡ E (cid:2)(cid:88) ζUIP (cid:3) = 1 ζUIP, (44) t t t+i (1−ρ ) t UIP i=0 ∞ χ ≡ E (cid:2)(cid:88) χ (cid:3) (45) t t t+i i=0 are the forward-cumulated versions of ζGFS, ζUIP, and χ , respectively.26 From equation (42), t t t thedollarcanappreciatebecauseofahigherinterestdifferentialbetweentheU.S.andtheROW, GFS or because of positive flight-to-safety shocks (ζ , to the extent that γ > 0), or because of t pure UIP shocks that raise households’ utility from dollar-denominated bonds relative to that UIP of bonds denominated in other currencies (ζ ), or because of a lower expected path of dollar t portfolio costs (χ ). t Figure 7 shows the value of the broad real dollar since 1990 (in four-quarter percent change, the black line), along with the variation explained by each of the components on the righthand side of equation (42), shown by the colored bars.27 A couple of observations stand out. First, the interest rate differential component plays a significant role in accounting for dollar movements: movements in the blue bars often track movements in the black line. Second, the flight-to-safety shock plays a significant role as well, particularly in the periods around the global slowdowns in our sample (the early 1990s, the early 2000s, and the GFC). We next focus on two periods in which the dollar appreciated notably: the 2008 global financial crisis (GFC), and the 2014-16 period. As shown in panel A of Figure 8, the model interprets the bulk of the dollar appreciation during the GFC as driven by the flight-to-safety shock. The interest differential component, by contrast, puts downward pressure on the dollar throughout the GFC, and the UIP shock plays a relatively minor role in this episode. By contrast, as shown in panel B of Figure 8, the interest differential component explains the entirety of the dollar appreciation between 2014 and 2016: the model assigns a minimal role 26The real exchange rate is stationary in our model and equal to unity in steady state, so that lim E (rer )=0. i→∞ t t+i 27For simplicity, we bundle together the UIP shock component, ζ UIP , and the portfolio cost component, t χ , as both these components are associated with the economic forces highlighted in the “financial frictions” t approachdiscussedinMaggiori(2022)(Yakhin,2022showsthattoafirstorder,thefinancialfrictioninGabaix and Maggiori (2015) is isomorphic to the bond portfolio cost assumed here). 31

to both the flight-to-safety and the bond preference shocks in this period. This finding suggests that divergence in the anticipated policy rate paths between the U.S. and the ROW—which ultimately determine the path of the expected real rate differential—was largely responsible for the 20 percent appreciation of the dollar during this period. A question of interest is whether the increasing gap between expected rate paths shown in by the blue bars in panel B of Figure 8 is driven by movements in the expected path of U.S. rates, or by movements the path of foreign rates, or both. To address this question, in Figure 9 we show the expected sum of future short rates in each country block separately: the black solid line shows the U.S. path, ∞ (cid:88) rˆ ≡ E rˆreal, (46) long,t t t+i i=0 and the blue dashed line shows its foreign counterpart ∞ (cid:88) rˆ∗ ≡ E rˆreal∗. (47) long,t t t+i i=0 The figure reveals that the divergence starting in 2014 is driven by a sharp rise in the expected path of U.S. rates. The home and foreign “long” rates had moved closely together between 2008 and 2014. Starting around 2015, rˆ rises sharply, while rˆ∗ remains close to its 2014 long,t long,t value. Thus, through the lens of the model, starting around 2015 market participants began expecting an increasingly steeper path of future U.S. real rates, while the expected path of foreign rates remained roughly unchanged—triggering a sharp appreciation of the dollar. Despite the important role played by the interest rate differential and the flight-to-safety shock in selected periods, the model attributes a substantial part of the fluctuations in UIP deviations to the “pure” UIP shock and to the portfolio cost. One example is the roughly 8 percent depreciation of the dollar between early 2017 and early 2018, which the model sees as resulting largely from downward movements in this component—with the interest differential component exerting influence in the opposite direction (in this period the U.S. policy interest rate was rising steadily, while the foreign rate was roughly flat). 32

7 Conclusion We have developed and estimated a macroeconomic model of the world economy featuring time variation in agents’ preferences for safe assets, in which a component of this variation can be global and biased toward dollar-denominated safe assets. These global flight-to-safety shocks emerge as the single most important drivers of fluctuations in world GDP, explaining a considerablefractionoffluctuationsinactivityintheU.S.andespeciallyabroad. Aglobalflightto-safety shock depresses global activity and inflation, widens corporate borrowing spreads, and appreciates the dollar, consistent with VAR-based estimates. Our results contribute to recent literature exploring the role of global factors in economic fluctuations and the role of dollar assets as a safe haven, by helping quantify these roles and assess their overall importance. Our findings suggest that the importance of global factors in driving macroeconomic outcomes in individual countries may be greater than previously thought. A large role for global factors in driving business cycles would have material implications for questions such as the ability of domestically-oriented monetary and financial policies to achieve stabilization objectives, the optimal design of such policies, and the desirability of coordinating policies across countries. These questions are interesting topics for future research. 33

Tables and Figures Table 1: Calibrated Parameters Parameter Symbol Value Home size n 0.25 Discount factor β 0.99 Depreciation rate of capital δ 0.025 Capital share α 0.29 Government expenditure as a share of GDP G .22 Y Home bias in consumption goods ω .93 Home bias in investment goods ω 0.5 I Disutility weight on labor ψ 370 n 34

Table 2: Estimated Structural Parameters: Prior and Posterior Distributions Prior Posterior Distr. Mean SD Mean [10%, 90%] Preferences,Technology, &BankingFriction b Habits B 0.6 0.125 0.61 [0.58,0.64] η InverseFrisch G 2 0.5 4.24 [3.52,4.89] θ Home/foreignsubst. elast. B 2 0.33 1.74 [1.55,1.94] γ GFSshockdollarbias N 0 5 0.30 [0.15,0.45] ξ capitalutilizationcost G 2 1 4.06 [3.12,5.01] ψ Investmentadj. cost G 5 2 10.31 [8.94,12.04] ψi Tradeadj. cost B 10 2 4.08 [2.94,5.30] χ Portfoliocost G 0.008 0.005 0.02 [0.02,0.03] ϕ Steady-stateleverageratio B 8 0.75 7.07 [5.99,8.06] σ Bankersurvival B 0.95 0.013 0.91 [0.90,0.92] 100*e Bankerendowment IG 0.5 1 0.25 [0.16,0.37] Pricing θp Dom. pricerigidity B 0.75 0.05 0.81 [0.78,0.84] θx Tradepricerigidity B 0.75 0.05 0.65 [0.61,0.68] p θw Wagerigidity B 0.75 0.05 0.91 [0.89,0.93] ιp Dom. priceindexation B 0.5 0.15 0.29 [0.22,0.36] ιx Tradepriceindexation B 0.5 0.15 0.38 [0.25,0.52] p ιw Wageindexation B 0.5 0.15 0.10 [0.05,0.14] MonetaryPolicy φπ Taylorruleinfl. B 1.5 0.15 1.27 [1.18,1.36] φy Taylorrulegap B 0.1 0.033 0.21 [0.19,0.23] φr Taylorrulelaggedr B 0.6 0.1 0.66 [0.61,0.71] Note: Priorandposteriordistributionsforstructuralparameters. B:“beta.” N:“normal.” G:“gamma.” IG:“inverse gamma.” 35

Table 3: Estimated Shock Parameters: Prior and Posterior Distribution Prior Posterior Distr. Mean SD Mean [10%, 90%] DomesticShocks 100σR IG 0.1 0.1 0.09 [0.083,0.097] σG IG 0.01 0.05 0.019 [0.017,0.020] σI IG 0.01 0.05 0.046 [0.038,0.057] σN IG 0.01 0.05 0.031 [0.024,0.038] 100σRP IG 0.1 1 0.118 [0.121,0.162] σµH IG 0.01 0.05 0.013 [0.011,0.015] σA IG 0.01 0.05 0.005 [0.004,0.005] σκ IG 0.005 0.05 0.011 [0.008,0.014] 100σπ¯ IG 0.01 0.1 0.045 [0.041,0.049] ρR B 0.4 0.125 0.723 [0.671,0.777] ρG B 0.6 0.125 0.919 [0.894,0.944] ρI B 0.6 0.125 0.916 [0.880,0.947] ρN B 0.6 0.125 0.420 [0.323,0.514] ρRP B 0.6 0.1 0.967 [0.955,0.977] ρµH B 0.6 0.125 0.973 [0.964,0.981] ρA B 0.6 0.125 0.973 [0.923,0.969] ρκ B 0.6 0.125 0.978 [0.965,0.989] ρπ¯ B 0.995 0.002 0.997 [0.996,0.998] θµH B 0.5 0.125 0.455 [0.366,0.537] ForeignShocks 100σUIP IG 0.1 5 0.203 [0.153,0.258] 100σR∗ IG 0.1 0.1 0.124 [0.099,0.148] σG∗ IG 0.01 0.05 0.010 [0.009,0.011] σI∗ IG 0.01 0.05 0.070 [0.056,0.086] 100σRP∗ IG 0.1 1 0.065 [0.036,0.102] σµF∗ IG 0.01 0.05 0.014 [0.011,0.018] σA∗ IG 0.01 0.05 0.012 [0.010,0.015] σκ∗ IG 0.005 0.05 0.011 [0.008,0.014] ρR∗ B 0.4 0.125 0.673 [0.604,0.737] ρUIP B 0.6 0.125 0.941 [0.916,0.966] ρG∗ B 0.6 0.125 0.846 [0.798,0.898] ρI∗ B 0.6 0.125 0.353 [0.226,0.481] ρRP∗ B 0.6 0.1 0.571 [0.445,0.715] ρµF∗ B 0.6 0.125 0.690 [0.611,0.777] ρA∗ B 0.6 0.125 0.698 [0.614,0.780] ρκ∗ B 0.6 0.125 0.708 [0.559,0.828] θµF∗ IG 0.5 0.125 0.392 [0.294,0.501] TradeShocks σµH∗ IG 0.01 0.05 0.051 [0.042,0.062] σ IG 0.01 0.05 0.020 [0.005,0.028] µP H∗ σµF IG 0.01 0.05 0.011 [0.007,0.014] σ IG 0.01 0.05 0.013 [0.011,0.016] µP F σω IG 0.01 0.05 0.009 [0.008,0.012] σω∗ IG 0.01 0.05 0.003 [0.003,0.004] ρµH∗ B 0.6 0.125 0.631 [0.496,0.764] ρ B 0.995 0.002 0.994 [0.991,0.996] µP H∗ ρµF B 0.6 0.125 0.532 [0.350,0.698] ρ B 0.995 0.002 0.995 [0.993,0.997] µP F ρω B 0.6 0.125 0.913 [0.887,0.937] ρω∗ B 0.6 0.125 0.900 [0.866,0.930] θµH∗ B 0.5 0.125 0.627 [0.512,0.733] θµF B 0.5 0.125 0.515 [0.382,0.659] θ B 0.5 0.125 0.392 [0.294,0.501] µP F GlobalShocks 100σGFS IG 0.1 1 0.141 [0.121,0.162] σGκ IG 0.005 0.05 0.005 [0.003,0.007] ρGFS B 0.6 0.125 0.967 [0.958,0.974] ρGκ B 0.6 0.125 0.770 [0.680,0.851] Note: Prior and posterior distributions for shock parameters. B:“beta.” N: “normal.” G: “gamma.” IG: “inverse gamma.” 36

Table 4: Variance Decomposition, World Variables Global U.S. risk Foreign risk UIP Monetary Government Markup Inflation Home Banking Investment TFP and flight-to- premium premium target bias friction labor safety supply WorldGDPgrowth 36.6 2.4 0.4 0 16.8 15 4.7 0.7 0 0.4 6.2 16.8 Worldconsumption 40.7 2.6 0.6 0 21.2 2 5.2 0.9 0 0.2 1.8 24.6 growth Worldinvestment 24.1 1.6 0.1 0 6.6 0.7 7.7 0.2 0 4.8 46.6 7.7 growth Worldspread 23.6 1.6 0.3 0 10.2 0.7 1.6 0.4 0 52 3.3 6.5 Worldinflation 2.2 0.1 0 0 0.3 0.1 16.9 72.4 0 0 0.7 9 Worldpolicyrate 45.9 2.1 0 0 7.8 0.2 2 37.5 0 0 0.2 6.1 Realexchangerate 2.8 5.4 0 43.8 11.3 0.5 9.5 0.6 20 0.1 0.6 5.6 growth Note: The table shows the variance decomposition of world variables, based on model simulations of length 500,000, drawing shock innovations from their assumed Gaussian distributions. 37

Table 5: Variance Decomposition, U.S. Variables Global All UIP U.S. U.S. risk U.S. U.S. U.S. U.S. Banking U.S. In- U.S. TFP flight-to- foreign home premium monetary government markup inflation friction vestment and labor safety shocks bias target supply U.S.GDPgrowth 14.8 8 0.1 4.3 14.6 8.3 23.9 3.7 0.4 0.3 6.7 15 U.S.consumption 10 11 8.7 2.5 32.7 8.6 4.4 2.5 0.4 0.3 3.1 15.9 growth U.S.investment 1.6 4.4 7.8 2 19.4 1.4 0.3 4.5 0 4.4 51.9 2.8 growth U.S.spread 5.3 0.7 3.3 0.3 20.8 4.7 1.4 2.1 0.3 47.1 11.2 3.6 U.S.inflation 1.5 15.6 6.7 2 1.2 1 0.1 13 49.6 0.1 2.3 11.9 U.S.policyrate 29.4 0.7 0.6 0.5 15.4 4.9 0.5 5.1 38.4 0.1 0.3 5.8 U.S.hours 34.1 8.6 1 4.6 20.8 4.9 3.2 5.4 0.1 0.6 10.7 4.9 U.S.realexchange 2.8 23.1 43.8 13.5 5.5 4.9 0.4 3.5 0.3 0.1 0.5 1.9 rategrowth U.S.importgrowth 1.4 3.7 2.5 62.9 6.8 1.4 0.5 4.5 0.1 1.1 13.2 2.3 U.S.exportgrowth 5.9 47.9 25.1 9.4 4.2 2.4 0.3 2.1 0.2 0.1 1.1 1.4 Note: The table shows the variance decomposition of U.S. variables, based on model simulations of length 500,000, drawing shock innovations from their assumed Gaussian distributions. 38

Table 6: Variance Decomposition, Foreign Variables Global All U.S. UIP Foreign Foreign Foreign Foreign Foreign Foreign Foreign Foreign Foreign flight-to- shocks home risk monetary government markup inflation banking Invest- TFP safety bias premium target friction ment ForeignGDPgrowth 30 1.2 0 1.4 0.6 21.1 15 5.2 0.8 0.3 5.1 19 Foreignconsumption 34.5 2 1.9 0.3 0.9 23.8 1.3 5.8 1 0 0.8 27.5 growth Foreigninvestment 25.5 4.6 3.5 0.3 0.2 7.5 0.4 3.8 0.2 4.7 43.7 6.2 growth Foreignspread 19.9 1.1 0.8 0 0.4 12.2 0.5 1.5 0.5 54.8 2.4 6.7 Foreigninflation 1.3 1 1.1 0.2 0 0.4 0 13.8 71 0 0.3 6.8 Foreignpolicyrate 33.2 0.2 0.1 0.1 0 9.7 0.2 1.9 45.7 0 0.1 6.7 Note: ThetableshowsthevariancedecompositionofForeignvaribles, basedonmodelsimulationsoflength500,000, drawingshockinnovationsfromtheirassumed Gaussian distributions. 39

Table 7: Correlations, Data and Model Data Model Model, GFS shock only CorrelationofworldGDPgrowthwith: Worldconsumptiongrowth 0.679 0.816 0.983 Worldinvestmentgrowth 0.795 0.676 0.878 Worldspread -0.673 -0.428 -0.737 Worldinflation 0.418 -0.105 0.604 Worldpolicyrate 0.132 -0.145 -0.053 Changeindollarexchangerate -0.290 0.038 -0.774 CorrelationsbetweenU.S.andForeign: GDPgrowth 0.469 0.242 0.999 Consumptiongrowth 0.245 0.107 0.985 Investmentgrowth 0.363 -0.018 0.967 Spread 0.810 0.071 0.978 Inflation 0.405 -0.029 0.684 Policyrate 0.845 0.345 0.999 40

Figure 1: U.S. Excess Bond Premium and World GDP Growth Note: The top panel shows the excess bond premium (Gilchrist and Zakrajˇsek, 2012), and the bottom panel shows world GDP growth, both at the quarterly frequency. Gray shaded areas indicate periods in which the excess bond premium is one standard deviation above the mean. 41

Figure 2: The Role of the GFS Shock in World GDP Growth 6 4 2 0 -2 -4 -6 1985 1990 1995 2000 2005 2010 2015 Note: World GDP growth in the data (blue solid line) and in the model with GFS shocks only (red dashed line). 42

Figure 3: The Role of the GFS Shock in U.S. and Foreign GDP Growth 10 10 8 8 6 6 4 4 2 2 0 0 -2 -2 -4 -4 -6 -6 -8 -8 -10 -10 1975 1980 1985 1990 1995 2000 2005 2010 2015 1985 1990 1995 2000 2005 2010 2015 Note: U.S. (left panel) and Foreign (right panel) GDP growth in the data (blue solid line) and in the model with GFS shocks only (red dashed line). 43

Figure 4: Risk Shocks in the Model: Impulse Responses 0 0 -0.1 -0.1 -0.2 -0.2 -0.3 -0.3 -0.4 -0.4 -0.5 -0.5 0 5 10 15 20 0 5 10 15 20 0.2 0.2 0.1 0.1 0 0 -0.1 -0.1 -0.2 -0.2 0 5 10 15 20 0 5 10 15 20 0.2 0.2 0.15 0.15 0.1 0.1 0.05 0.05 0 0 -0.05 -0.05 0 5 10 15 20 0 5 10 15 20 0.5 0 -0.5 -1 -1.5 -2 0 5 10 15 20 Note: Modelimpulseresponsestoaone-standard-deviationglobalflight-to-safetyshock(redthick line), U.S. risk premium shock (blue thin line), and UIP shock (yellow dash-dotted line). 44

Figure 5: Global Flight-to-Safety Shock in the Model: Impulse Responses 0 0 -0.1 -0.1 -0.2 -0.2 -0.3 -0.3 -0.4 -0.4 -0.5 -0.5 0 5 10 15 20 0 5 10 15 20 0 0 -0.02 -0.5 -0.04 -0.06 -1 -0.08 -1.5 -0.1 0 5 10 15 20 0 5 10 15 20 Note: Effects of a one-standard-deviation global flight-to-safety shock in the model, on the U.S. (red solid line) and on Foreign (gray dash-dotted line). 45

Table 8: EBP and Global Risk Proxies Global Global 1-Year Foreign Local Financial VIX Volatility U.S. Treasury Currency Currency Factor Premium Sovereign Risk Sovereign Risk h = 3 −0.78∗∗∗ 8.92∗∗∗ 6.56∗∗∗ 0.10∗∗∗ 1.37∗∗∗ 0.05 (0.19) (1.69) (2.01) (0.04) (0.25) (0.11) h = 6 −0.94∗∗∗ 8.06∗∗∗ 4.99∗∗ 0.11∗∗ 1.41∗∗∗ 0.09 (0.23) (2.02) (2.53) (0.04) (0.33) (0.08) h = 12 −1.01∗∗∗ 7.67∗∗∗ 4.84 0.09 1.12∗∗ −0.10 (0.28) (2.45) (3.17) (0.06) (0.48) (0.11) Note: The optimal number of lags (p) in each regression is determined by AIC criteria. Robust standard errors, ∗p<0.1; ∗∗p<0.05; ∗∗∗p<0.01 46

Figure 6: Effects of global risk shock from identified VAR Note: In the VAR we report end-of-quarter values obtained from monthly responses to a 1 standard deviation shock to global risk sentiment proxied with the EBP. The solid black line corresponds to the median response in the VAR. Confidence bands are obtained by bootstrapping. The shaded gray areas denote the 95 percent confidence interval. The thick blue line depicts the response to a GFS shock in the estimated DSGE model. 47

Figure 7: Drivers of exchange rate movements 20 15 10 5 0 -5 -10 -15 1990 1995 2000 2005 2010 2015 Note: The figure plots broad real dollar and its three components from decomposition (42) in 4-quarter percent changes. The black solid line shows the broad real dollar, the blue bars correspondtotheinterestratedifferential,theredbarscorrespondtotheflight-to-safetyshock, and the yellow bars correspond to the UIP shock plus the portfolio cost. 48

Figure 8: Drivers of exchange rate movements: Three episodes 20 25 20 20 15 15 15 10 10 10 5 5 5 0 0 0 -5 -5 -5 -10 -10 -10 -15 2008 2009 2010 2014 2015 2016 2017 2018 2019 Note: Thethreepanelsplotthebroadrealdollaranditsthreecomponentsfromdecomposition (42) for the periods 2008-10, 2014-16 and 2017-19, as percentage change from the level in the initialquarter. Theblacksolidlineshowsthebroadrealdollar,thebluebarscorrespondtothe interest rate differential, the red bars correspond to the flight-to-safety shock, and the yellow bars correspond to the UIP shock plus the portfolio cost. Figure 9: Evolution of U.S. and foreign long rates, 2008-18 Note: The figure shows the evolution of U.S. and foreign “long rates,” given by equations (46) and (47) respectively. Both series are rescaled so they are expressed relative to their 2014q1 level. 49

References Adjemian, S., H. Bastani, M. Juillard, F. Mihoubi, G. Perendia, M. Ratto, and S. Villemot (2011). Dynare: Reference manual, version 4. ¨ Akinci, O., Kalemli-Ozcan, and A. Queralto (2022). Uncertainty shocks, capital flows, and international risk spillovers. Technical report, National Bureau of Economic Research. Akinci, O. and A. Queralto (2023). Exchange rate dynamics and monetary spillovers with imperfect financial markets. Review of Financial Studies. forthcoming. An, S. and F. Schorfheide (2007). Bayesian analysis of dsge models. Econometric reviews 26(2- 4), 113–172. Backus, D. K., P. J. Kehoe, and F. E. Kydland (1992). International real business cycles. Journal of political Economy 100(4), 745–775. Calvo, G. A. (1983). Staggered prices in a utility-maximizing framework. Journal of monetary Economics 12(3), 383–398. Campbell, J. R., J. D. Fisher, A. Justiniano, and L. Melosi (2017). Forward guidance and macroeconomic outcomes since the financial crisis. NBER Macroeconomics Annual 31(1), 283–357. Christiano, L. J., M. Eichenbaum, and C. L. Evans (2005). Nominal rigidities and the dynamic effects of a shock to monetary policy. Journal of Political Economy 113(1), 1–45. Christiano, L. J., R. Motto, and M. Rostagno (2014). Risk shocks. American Economic Review 104(1), 27–65. Cuba-Borda, P. A., A. Mechanick, and A. Raffo (2018, June). Monitoring the World Economy: A Global Conditions Index. IFDP Notes 2018-06-15, Board of Governors of the Federal Reserve System (U.S.). Del Negro, M., M. P. Giannoni, and F. Schorfheide (2015). Inflation in the great recession and new keynesian models. American Economic Journal: Macroeconomics 7(1), 168–96. 50

Devereux, M. B. and C. Engel (2002). Exchange rate pass-through, exchange rate volatility, and exchange rate disconnect. Journal of Monetary economics 49(5), 913–940. Du, W., J. Im, and J. Schreger (2018). The u.s. treasury premium. Journal of International Economics 112, 167–181. Du, W. and J. Schreger (2016). Local currency sovereign risk. The Journal of Finance 71(3), 1027–1070. Du, W. and J. Schreger (2022). Cip deviations, the dollar, and frictions in international capital markets. In Handbook of International Economics, Volume 6, pp. 147–197. Elsevier. Eichenbaum, M., B. Johannsen, and S. Rebelo (2021). Monetary policy and the predictability of nominal exchange rates. The Review of Economic Studies 88(1), 192–228. Engel, C. (2014). Exchange rates and interest parity. Handbook of international economics 4, 453–522. Erceg, C. J., L. Guerrieri, and C. Gust (2005). Sigma: A new open economy model for policy analysis-ijcb-march 2005. Current issue of the International Journal of Central Banking. Erceg, C. J., L. Guerrieri, and C. Gust (2008). Trade adjustment and the composition of trade. Journal of Economic Dynamics and Control 32(8), 2622–2650. Erceg,C.J.,D.W.Henderson,andA.T.Levin(2000). Optimalmonetarypolicywithstaggered wage and price contracts. Journal of monetary Economics 46(2), 281–313. Fisher, J. D. (2015). On the structural interpretation of the smets–wouters “risk premium” shock. Journal of Money, Credit and Banking 47(2-3), 511–516. Fukui,M.,E.Nakamura,andJ.Steinsson(2023). Themacroeconomicconsequencesofexchange rate depreciations. Gabaix, X. and M. Maggiori (2015). International liquidity and exchange-rate dynamics. The Quarterly Journal of Economics 130(3), 1369–1420. Gertler,M.andP.Karadi(2011,January). Amodelofunconventionalmonetarypolicy. Journal of Monetary Economics 58(1), 17–34. 51

Gertler, M. and N. Kiyotaki (2010). Financial intermediation and credit policy in business cycle analysis. In Handbook of monetary economics, Volume 3, pp. 547–599. Elsevier. Gilchrist, S. and E. Zakrajˇsek (2012). Credit spreads and business cycle fluctuations. American economic review 102(4), 1692–1720. Gopinath, G. and J. C. Stein (2021). Banking, trade, and the making of a dominant currency. The Quarterly Journal of Economics 136(2), 783–830. Gourinchas, P.-O. and H. Rey (2007). International financial adjustment. Journal of political economy 115(4), 665–703. Itskhoki, O. and D. Mukhin (2021). Exchange rate disconnectin general equilibrium. Journal of Political Economy 129(8), 2183–2232. Itskhoki, O. and D. Mukhin (2022, April). Sanctions and the exchange rate. Working Paper 30009, National Bureau of Economic Research. Jiang, Z., A. Krishnamurthy, and H. Lustig (2021). Foreign safe asset demand and the dollar exchange rate. The Journal of Finance 76(3), 1049–1089. Jiang, Z., A. Krishnamurthy, H. Lustig, and J. Sun (2021). Beyond incomplete spanning: Convenience yields and exchange rate disconnect. Justiniano, A., G. E. Primiceri, and A. Tambalotti (2010). Investment shocks and business cycles. Journal of Monetary Economics 57(2), 132–145. Kekre, R. and M. Lenel (2021). The flight to safety and international risk sharing. Krishnamurthy, A. and A. Vissing-Jorgensen (2012). The aggregate demand for treasury debt. Journal of Political Economy 120(2), 233–267. Londono, J. M. and B. A. Wilson (2018, January). Understanding Global Volatility. IFDP Notes 2018-01-19, Board of Governors of the Federal Reserve System (U.S.). Lubik, T. and F. Schorfheide (2005). A bayesian look at new open economy macroeconomics. NBER macroeconomics annual 20, 313–366. 52

Maggiori, M. (2017). Financial intermediation, international risk sharing, and reserve currencies. American Economic Review 107(10), 3038–3071. Maggiori, M. (2022). International macroeconomics with imperfect financial markets. Handbook of international economics. Maggiori, M., B. Neiman, and J. Schreger (2020). International currencies and capital allocation. Journal of Political Economy 128(6), 2019–2066. Miranda-Agrippino, S. and H. Rey (2020). Us monetary policy and the global financial cycle. The Review of Economic Studies 87(6), 2754–2776. Miranda-Agrippino, S. and H. Rey (2022). The global financial cycle. In Handbook of international economics, Volume 6, pp. 1–43. Elsevier. Obstfeld, M. and H. Zhou (2023). The global dollar cycle. Brookings Papers on Economic Activity. Schmitt-Groh´e, S. and M. Uribe (2003). Closing small open economy models. Journal of international Economics 61(1), 163–185. Smets, F. and R. Wouters (2007, June). Shocks and frictions in us business cycles: A bayesian dsge approach. American Economic Review 97(3), 586–606. Yakhin, Y. (2022). Breaking the uip: A model-equivalence result. Journal of Money, Credit and Banking 54(6), 1889–1904. 53

Appendix A Details on Agents’ Decision Problems A.1 Households Home Optimization Problem: Thedomestichouseholdchoosesconsumption(C ),savings(B ,D )andlaborsupply,({n (i),w (i)}) t H,t t t t to maximize his lifetime utility given by (cid:40) (cid:41) ∞ (cid:90) E (cid:88) βj log (cid:0) C −bC (cid:1) +(ζRP +ζGFS)U(B )− ψ N n (i)1+ηdi t t+j t+j−1 t+j t+j H,t+j 1+η t+j j=0 i∈Wt+j subject to (cid:90) B D H,t t P C + + = w (i)n (i)di+B +D +Π(cid:101) +T t t R Rd t t H,t−1 t−1 t t t t i∈Wt (cid:26) w (i) with probability θ w (i) = t−1 w t wo(i) with probability 1−θ t w (cid:20) w t (i) (cid:21)− 1+ µw µw ,t ,t n (i) = N t t W t Optimality Conditions: TakingFOCsandaggregatingacrosshouseholdsrendersthefollowingoptimalityconditions. Consumption, C : t 1 = Ξ P t t C −bC t t−1 where Ξ is the Lagrange multiplier associated with the households’ budget constraint. We t define λ ≡ Ξ P . t t t Let Λ denote the (real) stochastic discount factor between time t and time s, and π be t,s t (CPI) inflation: C −bC Λ = βs−t t t−1 t,s C −bC s s−1 P −P t t−1 π = t P t−1 A.1

Home currency bonds, B : H,t R ∂U(B )R P 1 = E Λ t +(ζRP +ζGFS) H,t t t (A.1) t t,t+1 1+π t t ∂B λ t+1 H,t t Deposits, D : t Rd 1 = E Λ t (A.2) t t,t+1 1+π t+1 Optimal reset wage, wo(i) : t E (cid:88) ∞ Λ (θ )j (cid:18) eζ t n +jψ N n t+j (i)η (1+µ )− w t o(i) (cid:19) = 0 (A.3) t t,t+j w w λ P t+j t+j j=0 Labor, n (i) : t (cid:20) w t (i) (cid:21)− 1+ µw µw ,t ,t n (i) = N (A.4) t t W t Wage evolution, w (i) : t (cid:26) w (i) with probability θ w (i) = t−1 w (A.5) t wo(i) with probability 1−θ t w Foreign Optimization Problem: (cid:0) (cid:1) The foreign household chooses consumption (C∗), savings B∗ ,B∗ ,D∗ and labor supply, t F,t H,t t ({n∗(i),w∗(i)}) to maximize his lifetime utility given by t t ∞ E (cid:88) βj (cid:110) log (cid:16) C∗ −bC ∗ (cid:17) + (cid:2) ζRP∗ +ζGFS (cid:3) U(B∗ )+ (cid:2) ζRP∗ +(1+γ)ζGFS +ζUIP (cid:3) U(B∗ ) t t+j t+j−1 t+j t+j F,t+j t+j t+j t+j H,t+j j=0 (cid:90) ψ − N n∗ (i)1+ηdi } 1+η t+j i∈W∗ t+j subject to B∗ E B∗ D∗ (cid:90) P∗C∗ + F,t + t H,t + t = w∗(i)n∗(i)di+B∗ +E B∗ +D∗ +Π(cid:101) ∗ +T∗. t t R∗ R Ψ Rd∗ t t F,t−1 t H,t−1 t−1 t t t t t t i∈W∗ t (cid:26) w∗ (i) with probability θ w∗(i) = t−1 w t wo∗(i) with probability 1−θ t w (cid:20) w∗(i) (cid:21)−1+ µw µw n∗(i) = t N∗ t W∗ t t Optimality Conditions: A.2

Consumption, C∗: t 1 == Ξ∗P∗ ≡ λ∗ C∗ −bC∗ t t t t t−1 Foreign currency bonds, B∗ : F,t R∗ ∂U(B∗ )R∗P∗ 1 = E Λ∗ t +(ζRP∗ +ζGFS) F,t t t (A.6) t t,t+11+π∗ t t ∂B∗ λ∗ t+1 F,t t Home currency bonds, B∗ : H,t R Ψ RER ∂U(B∗ ) R P 1 = E Λ∗ t t t+1 +(ζRP∗ +(1+γ)ζGFS +ζUIP) H,t t t (A.7) t t,t+11+π RER t t t ∂B∗ λ∗RER t+1 t H,t t t Deposits, D∗: t Rd∗ 1 = βE Λ∗ t (A.8) t t,t+11+π∗ t+1 Optimal reset wage, wo∗(i) : t (cid:32) (cid:33) E (cid:88) ∞ Λ∗ (θ )j eζ t ∗ + n jψ N n∗ t+j (i)η (1+µ )− wo∗ t (i) = 0 (A.9) t t,t+j w λ∗ w P∗ j=0 t+j t+j Labor, n∗(i) : t (cid:20) w∗(i) (cid:21)−1+ µw µw n∗(i) = t N∗ (A.10) t W∗ t t Wage evolution w∗(i) : t (cid:26) w∗ (i) with probability θ w∗(i) = t−1 w (A.11) t wo∗(i) with probability 1−θ t w A.2 Bankers Bank Optimal utilization choice: A bank that enters time t with K units of capital and d real deposits can choose t−1 t−1 utilization at time t to maximize net worth: (cid:0) (cid:1) x˜o(K ,d ) ≡ max (cid:0) rku +Q (1−δ) (cid:1) K −d P t−1 −rk eξ(ut−1) −1 K t t−1 t−1 ut t t t t−1 t−1 P t ξ t−1 where the last term is the capital utilization cost given the specification adopted for A(u ), t and rk is the steady-state value of the rental rate. The optimality condition for u is: t rk = rkeξ(ut−1) (A.12) t A.3

Letting the optimized return on capital be given by (cid:0) (cid:1) eξ(ut−1) −1 rˆk = rku −rk , (A.13) t t t ξ we have that at a first order the effect of u on bank returns vanishes: t rˆk ≈ rk +r˜k +rku˜ −rkeξ(u−1)u˜ = rk +r˜k t t t t t where the last equality follows from u = 1. Bank dynamic portfolio problem: Let the banker’s leverage ratio be Q K t t ϕ ≡ . (A.14) t x t Using this expression and budget constraint (13), we can define (cid:18) (cid:19) ϕ x xo (ϕ ,x ) = x˜o t t ,(ϕ −1)x Rd . t+1 t t t+1 Q t t t t We can now express the banker’s problem recursively as follows: Vo(x ) = maxβE Λ (cid:2) (1−σ)xo (ϕ ,x )+σVo (xo (ϕ ,x )) (cid:3) t t t t,t+1 t+1 t t t+1 t+1 t t ϕt subject to the incentive constraint (15) rewritten using equation (A.14) as V t ≥ eζ t κ+ζ¯ t κκϕ t x t Assuming the incentive constraint binds and defining ψ ≡ Vt, the banker’s optimality t xt conditions are: ψ t = eζ t κ+ζ¯ t κκϕ t (A.15) (cid:20) (cid:18) rˆk +(1−δ)Q Rd (cid:19) Rd (cid:21) ψ = βE Λ (1−σ +σψ ) ϕ t t+1 − t + t (A.16) t t t,t+1 t+1 t Q 1+π 1+π t t+1 t+1 Aggregating banks’ net worth yields: (cid:20) (cid:18) rˆk +(1−δ)Q Rd (cid:19) Rd (cid:21) x¯ = σx¯ ϕ t t+1 − t + t (1+e) (A.17) t t−1 t Q 1+π 1+π t t+1 t+1 where e is the fixed ratio between total startup net worth that the family transfers to new bankers and net worth of bankers that survive from the previous period. (cid:8) (cid:9) Similarly for foreign banks we can collect optimality conditions for u∗,rˆk∗,K∗,ϕ∗,ψ∗,x¯∗ : t t t t t t A.4

rk∗ = rkeξ(u∗ t −1), (A.18) t (cid:0) eξ(u∗ t −1) −1 (cid:1) rˆk∗ = rk∗u −rk , (A.19) t t t ξ Q∗K∗ ϕ∗ = t t , (A.20) t x¯∗ t ψ∗ = eζ t ∗κ+ζ¯ t κκϕ∗, (A.21) t t (cid:20) (cid:18) rˆk∗ +(1−δ)Q∗ R∗d (cid:19) R∗d (cid:21) ψ∗ = βE Λ∗ (cid:0) 1−σ +σψ∗ (cid:1) ϕ∗ t t+1 − t + t , (A.22) t t t,t+1 t+1 t Q∗ π∗ π∗ t t+1 t+1 (cid:20) (cid:18) rˆk∗ +(1−δ)Q∗ R∗d (cid:19) R∗d (cid:21) x¯∗ = σx¯∗ ϕ∗ t t+1 − t + t (1+e). (A.23) t t−1 t Q∗ 1+π∗ 1+π∗ t t+1 t+1 A.3 Employment Agencies Employment agencies choose N and {n (j)} to maximize profits t t (cid:90) W N − w (j)n (j)dj t t t t j∈Wt subject to (cid:20)(cid:90) 1 (cid:21)1+µw,t N t = n t (j)1+µw,tdj . j∈Wt The optimality conditions are given by the relative demand schedules in equation (A.4) plus a zero profit condition W t − µw 1 ,t = (cid:90) w t (j) − µw 1 ,tdj. (A.24) j∈Wt Abroad there is no wage markup shocks, and the aggregate wage index there is given by (cid:90) W t ∗− µ 1 w = w t (j)∗− µ 1 w dj. (A.25) j∈W∗ t A.4 Final consumption and investment goods Choice of domestic vs foreign intermediate: Producers of the final consumption good choose (C ,C ,Cd) to maximize the expected H,t F,t t A.5

present value of profits given by ∞ (cid:18) (cid:19) (cid:88) P P E Λ Cd − H,t+i C − F,t+i C t t,t+i t+i P H,t+i P F,t+i t+i t+i i=0 subject to the CES production technology C t d = (cid:20) (cid:0) eζ t ωω (cid:1)1/θ C H θ− θ ,t 1 + (cid:0) 1−eζ t ωω (cid:1)1/θ (cid:16) (1−ψ t M,C)C F,t (cid:17)θ− θ 1(cid:21) θ− θ 1 (A.26) subject to equation (17), where P and P are the price of the domestic and foreign H,t F,t intermediate goods bundles, respectively. Similarly, producers of the final investment good choose (I ,I ,I ) to maximize H,t F,t t ∞ (cid:18) (cid:19) (cid:88) P P P E Λ I,t+i I − H,t+i I − F,t+i I t t,t+i t+i H,t+i F,t+i P P P t+i t+i t+i i=0 where the costs of adjusting consumption and investment imports are given by  2  2 CF,t IF,t ψ ψ ψM,C = i  CF,t−1 −1 ; ψM,I = i  IF,t−1 −1 t 2 CH,t t 2 IH,t CH,t−1 IH,t−1 Letting p ≡ PJ,t for J ∈ H,F, the optimality conditions for C and C can be written J,t Pt H,t F,t as p H,t = (cid:20) eζ t ωω (cid:18) C C t d (cid:19)(cid:21) θ 1 − (cid:20) (cid:0) 1−eζ t ωω (cid:1) (cid:18) C C t d (cid:19)(cid:21) θ 1 C F,t (cid:16) 1−ψ t M,C (cid:17)− θ 1 ∂ ∂ ψ C t M,C H,t F,t H,t −βE t Λ t,t+1 (cid:20) (cid:0) 1−eζ t ω +1ω (cid:1) (cid:18) C C t d +1 (cid:19)(cid:21) θ 1 C F,t+1 (cid:16) 1−ψ t M + , 1 C (cid:17)− θ 1 ∂ ∂ ψ C t M + , 1 C (A.27) F,t+1 H,t p F,t = (cid:20) (1−eζ t ωω) (cid:18) C C t d (cid:19)(cid:21) θ 1 − (cid:20) (cid:0) 1−eζ t ωω (cid:1) (cid:18) C C t d (cid:19)(cid:21) θ 1 C F,t (cid:16) 1−ψ t M,C (cid:17)− θ 1 ∂ ∂ ψ C t M,C F,t F,t F,t −βE t Λ t,t+1 (cid:20) (cid:0) 1−eζ t ω +1ω (cid:1) (cid:18) C C t d +1 (cid:19)(cid:21) θ 1 C F,t+1 (cid:16) 1−ψ t M + , 1 C (cid:17)− θ 1 ∂ ∂ ψ C t M + , 1 C (A.28) F,t+1 F,t Similarly, letting p = P t I , an analogous problem for investment good producers yields I,t Pt optimality conditions: p p H I ,t = (cid:20) eζ t ωω I (cid:18) I I t (cid:19)(cid:21) θ 1 − (cid:20) (cid:0) 1−eζ t ωω I (cid:1) (cid:18) I I t (cid:19)(cid:21) θ 1 I F,t (cid:16) 1−ψ t M,I (cid:17)− θ 1 ∂ ∂ ψ I t M,I t H,t F,t H,t −βE t Λ t,t+1 p p I t+ I 1 (cid:20) (cid:0) 1−eζ t ω +1ω I (cid:1) (cid:18) I I t+1 (cid:19)(cid:21) θ 1 I F,t+1 (cid:16) 1−ψ t M + , 1 I (cid:17)− θ 1 ∂ ∂ ψ I t M + , 1 I (A.29) t F,t+1 H,t A.6

p p F I ,t = (cid:20) (1−eζ t ωω I ) (cid:18) I I t (cid:19)(cid:21) θ 1 − (cid:20) (cid:0) 1−eζ t ωω I (cid:1) (cid:18) I I t (cid:19)(cid:21) θ 1 I F,t (cid:16) 1−ψ t M,I (cid:17)− θ 1 ∂ ∂ ψ I t M,C t F,t F,t F,t −βE t Λ t,t+1 p p I t+ I 1 (cid:20) (cid:0) 1−eζ t ω +1ω I (cid:1) (cid:18) C C t d +1 (cid:19)(cid:21) θ 1 C F,t+1 (cid:16) 1−ψ t M + , 1 C (cid:17)− θ 1 ∂ ∂ ψ I t M + , 1 I (A.30) t F,t+1 F,t I t = (cid:20) (cid:0) eζ t ωω I (cid:1)1/θ I H θ− θ ,t 1 + (cid:0) 1− (cid:0) eζ t ωω I (cid:1)(cid:1)1/θ (cid:16) (1−ψ t M,I)I F,t (cid:17)θ− θ 1(cid:21) θ− θ 1 (A.31) Abroad, foreign producers of the final consumption good solve an analogous problem with a production technology given by C t d∗ = (cid:20) (cid:0) eζ t ω∗ω∗ (cid:1)1/θ C F ∗ ,t θ− θ 1 + (cid:0) 1−eζ t ω∗ω∗ (cid:1)1/θ (cid:16) (1−ψ t ∗M,C)C H ∗ ,t (cid:17)θ− θ 1(cid:21) θ− θ 1 (A.32) Optimality conditions for foreign producers are given by (cid:34) (cid:32) (cid:33)(cid:35)1 (cid:34) (cid:32) (cid:33)(cid:35)1 p∗ = eζ t ∗ωω∗ C t ∗d θ − (cid:0) 1−eζ t ∗ωω∗ (cid:1) C t ∗d θ C∗ (cid:16) 1−ψ∗M,C (cid:17)− θ 1 ∂ψ t ∗M,C F,t C∗ C∗ H,t t ∂C∗ F,t H,t F,t (cid:34) (cid:32) (cid:33)(cid:35)1 −βE t Λ∗ t,t+1 (cid:0) 1−eζ t ∗ + ω 1ω∗ (cid:1) C C ∗ t d + ∗ 1 θ C H ∗ ,t+1 (cid:16) 1−ψ t ∗ + M 1 ,C (cid:17)− θ 1 ∂ ∂ ψ C t ∗ + M ∗ 1 ,C (A.33) H,t+1 F,t (cid:34) (cid:32) (cid:33)(cid:35)1 (cid:34) (cid:32) (cid:33)(cid:35)1 p∗ = (1−eζ t ω∗ω∗) C t d∗ θ − (cid:0) 1−eζ t ω∗ω∗ (cid:1) C t d∗ θ C∗ (cid:16) 1−ψM,C∗ (cid:17)− θ 1 ∂ψ t M,C∗ H,t C∗ C∗ H,t t ∂C∗ H,t H,t H,t (cid:34) (cid:32) (cid:33)(cid:35)1 −βE t Λ∗ t,t+1 (cid:0) 1−eζ t ∗ + ω 1ω∗ (cid:1) C C ∗ t ∗ + d 1 θ C H ∗ ,t+1 (cid:16) 1−ψ t ∗ + M 1 ,C (cid:17)− θ 1 ∂ ∂ ψ C t ∗ + M ∗ 1 ,C (A.34) H,t+1 H,t (cid:34) (cid:32) (cid:33)(cid:35)1 (cid:34) (cid:32) (cid:33)(cid:35)1 p∗ F,t = eζ t ∗ωω∗ I t ∗ θ − (cid:0) 1−eζ t ω∗ω∗ (cid:1) I t ∗ θ I∗ (cid:16) 1−ψM,I∗ (cid:17)− θ 1 ∂ψ t M,I∗ pI∗ I I∗ I I∗ H,t t ∂I∗ t F,t H,t F,t (cid:34) (cid:32) (cid:33)(cid:35)1 −βE t Λ∗ t,t+1 p p I t I + ∗ ∗ 1 (cid:0) 1−eζ t ∗ + ω 1ω I ∗ (cid:1) I I ∗ t ∗ +1 θ I H ∗ ,t+1 (cid:16) 1−ψ t ∗ + M 1 ,I (cid:17)− θ 1 ∂ ∂ ψ I t ∗ + ∗ M 1 ,I (A.35) t H,t+1 F,t A.7

(cid:34) (cid:32) (cid:33)(cid:35)1 (cid:34) (cid:32) (cid:33)(cid:35)1 p∗ H,t = (1−eζ t ω∗ω∗) I t ∗ θ − (cid:0) 1−eζ t ω∗ω∗ (cid:1) I t ∗ θ I∗ (cid:16) 1−ψM,I∗ (cid:17)− θ 1 ∂ψ t M,I∗ pI∗ I I∗ I I∗ H,t t ∂I∗ t H,t H,t H,t (cid:34) (cid:32) (cid:33)(cid:35)1 −βE t p p I t I + ∗ ∗ 1Λ∗ t,t+1 (cid:0) 1−eζ t ∗ + ω 1ω I ∗ (cid:1) C C ∗ t ∗ + d 1 θ C H ∗ ,t+1 (cid:16) 1−ψ t ∗ + M 1 ,C (cid:17)− θ 1 ∂ ∂ ψ I t ∗ + ∗ M 1 ,I (A.36) t H,t+1 H,t I t ∗ = (cid:20) (cid:0) eζ t ∗ωω I ∗ (cid:1)1/θ I F ∗ ,t θ− θ 1 + (cid:0) 1− (cid:0) eζ t ∗ωω I ∗ (cid:1)(cid:1)1/θ (cid:16) (1−ψ∗M t ,I)I H ∗ ,t (cid:17)θ− θ 1(cid:21) θ− θ 1 (A.37) Choice of intermediate varieties: Perfectly competitive retailers of the home intermediate goods bundle maximize (cid:90) 1 p Y − p (h)Y (h)dh, H,t H,t H,t H,t 0 subject to (cid:20)(cid:90) 1 1 (cid:21)1+µH,t Y = Y 1+µH,t(h)dh H,t H,t 0 Optimality conditions are: (cid:20) P H,t (h) (cid:21)− 1+ µH µH ,t ,t Y (h) = Y (A.38) H,t H,t P H,t together with a zero profit condition P H − , µ t H 1 ,t = (cid:90) 1 P H,t (h) − µH 1 ,tdh. (A.39) 0 Similarly for all other intermediates bundles: (cid:20) P F,t (h) (cid:21)− 1+ µF µF ,t ,t Y (h) = Y (A.40) F,t F,t P F,t P F − ,t µF 1 ,t = (cid:90) 1 P F,t (h) − µF 1 ,tdh. (A.41) 0 (cid:34) P∗ (h) (cid:35)− 1+ µ∗ F µ∗ F ,t ,t Y∗ (h) = F,t Y∗ (A.42) F,t P∗ F,t F,t (P∗ ) − µ∗ F 1 ,t = (cid:90) 1 P∗ (h) − µ∗ F 1 ,tdh. (A.43) F,t F,t 0 A.8

(cid:34) P∗ (h) (cid:35)− 1+ µ∗ H µ∗ H ,t ,t Y∗ (h) = H,t Y∗ (A.44) H,t P∗ H,t H,t P∗ − µ∗ H 1 ,t = (cid:90) 1 P∗ (h) − µ∗ H 1 ,tdh. (A.45) H,t H,t 0 A.5 Intermediate Goods Retaliers A retailer of an intermediate good variety at home that can reset its price at time t chooses Po to maximize H,t E (cid:88) ∞ (θ )iΛ (cid:32) P H o ,t (cid:81) j t+ = i t −1(1+π H,j )ιp −MC (cid:33) Y (h) t p t,t+i t+i H,t+i P t+i i=0 where (cid:34) Po (cid:81)t+i−1(1+π )ιp (cid:35)− 1+ µh µ t ht H,t j=t H,j Y (h) = Y . H,t+i H,t+i P H,t+i The optimal reset price satisfies E (cid:88) ∞ (θ )iΛ 1 (cid:32) P H o ,t (cid:81)t j + = i t −1(1+π H,j )ιp −(1+µ )MC (cid:33) = 0 t p t,t+i H,t+i t+i µ P H,t+i t+i i=0 Po or equivalently, letting po = H,t, H,t Pt E (cid:88) ∞ (θ )iΛ 1 (cid:32) po (cid:81)t j + = i t −1(1+π H,j )ιp −(1+µ )MC (cid:33) = 0 (A.46) t p t,t+i µ H,t (cid:81)t+i (1+π ) H,t+i t+i i=0 H,t+i j=t+1 j A similar problem for retailers of the home variety abroad yields: E (cid:88) ∞ (cid:0) θx (cid:1)i Λ 1 (cid:32) po∗ (cid:81)t j + = i t −1(1+π H ∗ ,j )ιp RER−1 −(1+µ∗ )MC (cid:33) = 0 (A.47) t p t,t+i µ∗ H,t (cid:81)t+i (1+π∗) t+i H,t+i t+i i=0 H,t+i j=t+1 j P∗o where po = H,t. Analogous problems abroad yield: H,t P∗ t (cid:88) ∞ 1 (cid:32) (cid:81)t+i−1(1+π∗ )ιp (cid:33) E (θ )iΛ∗ p∗o j=t F,j −(1+µ∗ )MC∗ = 0 (A.48) t p t,t+iµ∗ F,t (cid:81)t+i (1+π∗) F,t+i t+i i=0 F,t+i j=t+1 j E (cid:88) ∞ (cid:0) θx (cid:1)i Λ 1 (cid:32) po (cid:81) j t+ = i t −1(1+π F,j )ιp RER −(1+µ )MC∗ (cid:33) = 0 (A.49) t p t,t+i µ F,t (cid:81)t+i (1+π ) t+i F,t+i t+i i=0 F,t+i j=t+1 j A.9

The evolution of price varieties is then given by (cid:40) p (h) (1+πH,t−1)γp with probability θ p H,t (h) = H,t−1 po (1+πt) with probability 1 p −θ (A.50) H,t p (cid:40) (1+π∗ )γp p∗ (h) H,t−1 with probability θx p∗ (h) = H,t−1 (1+π∗) p (A.51) H,t p∗o t with probability 1−θx H,t p (cid:40) (1+π∗ )γp p∗ (h) F,t−1 with probability θ p∗ (h) = F,t−1 (1+π∗) p (A.52) F,t p∗o t with probability 1−θ F,t p (cid:40) p (h) (1+πF,t−1)γp with probability θx p F,t (h) = F,t−1 po (1+πt) with probability 1 p −θx (A.53) F,t p A.6 Intermediate Goods Producers Perfectly competitive producers choose capital and labor to maximize period by period profits given by MC Y −W N −rKK ¯ t t t t t t subject to Y t = eζ t AK ¯ t α(N t )(1−α). Optimality conditions are: Y t (1−α)MC = W , (A.54) t t N t Y αMC t = rK, (A.55) t K ¯ t t Similarly abroad: Y∗ (1−α)MC∗ t = W∗, (A.56) t N∗ t t Y∗ αMC∗ t = rk∗, (A.57) t K ¯∗ t t A.7 Capital goods producers ¯ Capital goods producers choose (I ,K ) to maximize s s ∞ (cid:20) (cid:20) (cid:18) (cid:19)(cid:21) (cid:21) (cid:88) I E t Λ t,t+i Q t+i eζ t I +iI t+i 1−S I t+i −pI t+i I t+i , t+i−1 i=0 Optimality conditions are: A.10

(cid:18) (cid:18) I (cid:19)(cid:19) I (cid:18) I (cid:19) (cid:18) I (cid:19)2 (cid:18) I (cid:19) Q t 1−S I t = pI t +Q t eζ t I I t S′ I t −E t Λ t,t+1 Q t+1 eζ t I +1 t I +1 S′ t I +1 (A.58) t−1 t−1 t−1 t t (cid:18) (cid:18) I∗ (cid:19)(cid:19) I∗ (cid:18) I∗ (cid:19) (cid:18) I∗ (cid:19)2 (cid:18) I∗ (cid:19) Q∗ t 1−S I∗ t = pI t ∗ +Q∗ t eζ t I∗ I∗ t S′ I∗ t −E t Λ∗ t,t+1 Q∗ t+1 eζ t ∗ + I 1 I t+ ∗ 1 S′ I t+ ∗ 1 t−1 t−1 t−1 t t (A.59) A.11

B Equilibrium Conditions Market clearing conditions for all goods are given by Y t = eζ t AK ¯ t α(N t )(1−α) (A.60) Y∗ = eζ t A∗K ¯∗α(N∗)(1−α) (A.61) t t t (cid:90) n∗ (cid:90) Y = Y (j)dj + Y∗ (j)dj (A.62) t H,t n H,t (cid:90) (cid:90) n Y∗ = Y∗ (j)dj + Y (j)dj (A.63) t F,t n∗ F,t C +I = Y (A.64) H,t H,t H,t C∗ +I∗ = Y∗ (A.65) H,t H,t H,t C +I = Y (A.66) F,t F,t F,t C∗ +I∗ = Y∗ (A.67) F,t F,t F,t (cid:0) (cid:1) eξ(ut−1) −1 C t +Geζ t G + ξ K t−1 = C t d (A.68) (cid:0) eξ(u∗ t −1) −1 (cid:1) C∗ +Geζ t G∗ + K∗ = C∗d (A.69) t ξ t−1 t (cid:20) (cid:18) (cid:19)(cid:21) I K t −(1−δ)K t−1 = eζ t II t 1−S t (A.70) I t−1 (cid:20) (cid:18) I∗ (cid:19)(cid:21) K∗ −(1−δ)K∗ = eζ t ∗II∗ 1−S t (A.71) t t−1 t I∗ t−1 ¯ K = K u (A.72) t t t K ¯∗ = K∗u∗ (A.73) t t t B +B∗ = 0 (A.74) H,t H,t B∗ = 0 (A.75) F,t A.12

R (cid:18) R (cid:19)φR (cid:20) (cid:18) Y (cid:19)φY (cid:21)1−φR R t = R t−1 (cid:0) π t −eζ t ππ¯ (cid:1)φπ Yfl t ex eζ t R) (A.76) t R∗ (cid:18) R∗ (cid:19)φR (cid:20) (cid:18) Y∗ (cid:19)φY (cid:21)1−φR t = t−1 (cid:0) π∗ −ζ t π∗ π¯ (cid:1)φπ t eζ t R∗ (A.77) R R t Y∗flex t b∗ b∗ p H,t = H,t−1 + F,t Y −p∗ Y∗ . (A.78) R RER eζUIPΨ (cid:16) ¯b∗ H,t (cid:17) π t RER t RER t F,t H,t H,t t t t Y t ∗RERt Let Q and Q∗ denote the equilibrium allocations in the Home and Foreign economies: t t   Workers and Bankers     C t ,B H,t ,{n t (i)},N t ,K t ,x¯ t ,ϕ t ,ψ t ,u t , choices       Q = t     C ,C ,Cd,I ,I ,I ,{Y (j)},Y ,{Y (j)},Y ,K ¯ ,Y Final and Intermediate      H,t F,t t H,t F,t t H,t H,t F,t F,t t t goods    Workers and Bankers   C∗,B∗ ,B∗ ,{n∗(i)},N∗,K∗,x¯∗,ϕ∗,ψ∗,u∗    t F,t H,t t t t t t t t choices  Q∗ = t Final and Intermediate   C∗,C∗,C∗d,I∗,I∗,I∗,{Y∗ (j)},Y∗ ,{Y∗ (j)},Y∗ ,K ¯∗,Y∗    F H t F H t F,t F,t H,t H,t t t goods  Let P and P∗ denote time series for prices in the Home and Foreign economies: t t (cid:8) (cid:9) P = p (j)},po ,p ,{p (j)},po ,p ,{{w (i)},wo,W ,MC ,π ,R ,Rd,pI,rk,rˆk,Q t H,t H,t H,t F,t F,t F,t t t t t t t t t t t t (cid:8) (cid:9) P∗ = p∗ (j)},po∗ ,p∗ ,{p∗ (j)},po∗ ,p∗ ,{{w∗(i)},wo∗,W∗,MC∗,π∗,R∗,Rd∗,pI∗,rk∗,rˆk∗,Q∗ . t F,t F,t F,t H,t H,t H,t t t t t t t t t t t t Equations(A.1)-(A.78)determinetheequilibriumallocations{Q ,Q∗}andprices{P ,P∗,RER }, t t t t t given the exogenous shocks. A.13

C Data This appendix describes the data used in this paper. Unless otherwise noted, all series are at quarterlyfrequencyandseasonallyadjustedbythecorrespondingagency. Allrelevantseriesare in per capita terms to be consistent with the model definition. All series are obtained through Haver unless otherwise specified. C.1 United States National Accounts Data We source nominal GDP (usecon’gdp), nominal personal consumption expenditures (usecon’c), nominal gross private investment (usecon’f), nominal imports of goods and services (usecon’m), nominal exports of goods and services (usecon’x), from the Bureau of Economic Analysis. We convert GDP and its components to per capita terms using the “Resident Working Age Population: 15-64 years” (usecon’pop15wj) from the Census Bureau. We employ the implicit price deflator (usna’dgdp) to express all variables in real terms. Interest Rates and Prices Nominal policy rate: We convert the ”Federal Open Market Committee: Fed Funds Target Rate” (usecon’ffedtar) monthly series to quarterly averages. Nominal interest rate: We use the ”10-Year Treasury Bond Yield at Constant Maturity” (g10’n111rg10) monthly series converted to quarterly averages. Source: Haver Analytics. Exchange rate: We obtain the series ”Total Foreign Real Exchange Rate, using Broad Dollar weights” (usitproj’rer.broad). We then save this data as the world exchange rate. Source: Federal Reserve Board. Consumerpriceindex: Weusetheseasonallyadjustedseries”CPI-U:AllItems”(usecon’pcu) with reference period 1982-84 from the Bureau of Economic Analysis. Source: Haver Analytics. Long-run inflation expectations: taken from the survey of professional forecasters conducted by the Federal Reserve Bank of Philadelphia and represents year-over-year CPI inflation over the next 10 years. Wages and Hours Worked Real per capita wages: We use both the implicit price deflator (usna’dgdp) and quarterly CPI (usecon’pcu) to contruct two series of real wages from the seasonally adjusted series ”Nonfarm Business Sector: Compensation Per Hour” (usecon’lxnfc). Total hours worked: We obtain seasonally adjusted average weekly hours (usecon’lrpriva) and seasonally adjusted total employees (usecon’lanagra) from the Bureau of Labor Statistics. A.14

After converting both series into quarterly data, we take their product. Hours gap: As in Campbell et al. (2017) we construct the hours gap as the cyclical component in Total hours worked. The trend is constructed as the sum of trends in (log) hours per-worker, (log) labor force participation, and (log) employment rate. These trends are obtained from the Federal Reserve Board FRB/US model, which can be downloaded from: https://www.federalreserve.gov/econres/us-models-about.htm. Real exchange rate: Data on the real foreign exchange rate comes from an index constructed using trade-weighted exchange rates obtained from Bloomberg. C.2 Foreign For the Foreign bloc, we constructed trade-weighted aggregates for the following 34 country/blocs: Argentina, Australia, Brazil, Bulgaria, Canada, Colombia, Chile, China, Croatia, Czech Republic, Denmark, Euro Area, Hong Kong, Hungary, India, Indonesia, Israel, Japan, Malaysia, Mexico, New Zealand, Philippines, Poland, Romania, Russian Federation, Saudi Arabia, Singapore, South Africa, South Korea, Sweden, Taiwan, Thailand, Turkey, and United Kingdom. Our sample of countries represents about 85 % of PPP-adjusted world GDP in 2019. The underlying data is obtained from Haver Analytics and the Statistical Agencies of each country as detailed below. For China data on real GDP, real consumption, and real investment is obtained at annual frequency from the World Development Indicators (WDI) and linearly interpolated to quarterly observations. Below is an example for the Euro Area where we use Haver to access the following databases: Eurostat, United Nations, EABCN, ECB. National Accounts Data We source the quarterly and seasonally adjusted data from the Eurostat. The nominal components of GDP are similarly sourced from the Eurostat with a quarterly frequency and seasonally adjusted: nominal GDP consumption, fixed investment, imports and exports. In order to deflate nominal GDP and its components we use the implicit price deflator for GDP from the Eurostat. This series is indexed relative to 2015=100 and seasonally adjusted. To extend our data sample, we also collect real GDP, real consumption and real investment directly from the EABCN. This information is then used to supplement missing values. Working Age Population 15-64 comes from the United Nations and Haver Analytics. It is reported at an annual frequency and is seasonally adjusted. A.15

Interest Rates and Consumer Prices We collect three interest rate series: money market interest rates, 10-year government bond yields, and deposit rates. All 3 series are not seasonally adjusted and are reported at a monthly frequency which we use to find the quarterly average. Day-to-Day Money Market Interest Rates comes from the Eurostat, while the other two series come from the ECB. Harmonized Index of Consumer Prices (HICP) comes from the EABCN. It is indexed relative to 1996=100. C.3 Data Transformations This section describes basic transformations to all relevant series and for all countries. In addition we include any other adjustment and we make explicit how we treat some missing observations in our data set. Real GDP and its components are calculated by deflating the nominal GDP by the implicit price deflator for GDP. We also deflate earnings data by the GDP deflator to construct real wages. Additionally, we normalize all real series to per capita terms by dividing it by the working age population 15-64. To measure inflation, we construct the quarterly and annualized growth rates for consumer prices. For the day to day money market interest rate any missing values are substituted with the corresponding values from the deposit rate series within the same quarter. All growth rates are constructed as log changes from the previous quarter. Annual rates are constructed as 4 × quarterly growth rates. C.4 Aggregation We construct the foreign aggregate by computing trade-weighted averages of real per capita GDP growth, real per capita consumption growth, real per capita fixed investment growth, real per capita import growth, real per capita export growth, real per capita hours worked, real per capita wage growth, nominal policy rate, nominal deposit interest rate, 10 year government yields, CPI inflation inflation. 16

Cite this document
APA
Martin Bodenstein, Pablo Cuba Borda, Nils Gornemann, Ignacio Presno, Andrea Prestipino, Albert Queralto, & and Andrea Raffo (2023). Global Flight to Safety, Business Cycles, and the Dollar (IFDP 2023-1381). Board of Governors of the Federal Reserve System, International Finance Discussion Papers. https://whenthefedspeaks.com/doc/ifdp_2023-1381
BibTeX
@techreport{wtfs_ifdp_2023_1381,
  author = {Martin Bodenstein and Pablo Cuba Borda and Nils Gornemann and Ignacio Presno and Andrea Prestipino and Albert Queralto and and Andrea Raffo},
  title = {Global Flight to Safety, Business Cycles, and the Dollar},
  type = {International Finance Discussion Papers},
  number = {2023-1381},
  institution = {Board of Governors of the Federal Reserve System},
  year = {2023},
  url = {https://whenthefedspeaks.com/doc/ifdp_2023-1381},
  abstract = {We develop a two-country macroeconomic model that we fit to a set of aggregate prices and quantities for the U.S. and the rest of the world. In addition to a standard array of shocks, the model includes time variation in agents’ preference for safe bonds. We allow for a component of this time variation to be common across countries and biased toward dollar-denominated safe assets, and refer to this component as global flight to safety (GFS). We find that GFS shocks are the most important shocks driving world business cycles, and are also important drivers of activity in the U.S. and especially abroad. An adverse GFS shock lowers global GDP and inflation, widens global corporate credit spreads, and appreciates the dollar. These effects are very close to those obtained from a structural VAR which uses the excess bond premium (Gilchrist and Zakrajšek, 2012) as proxy for global flight to safety.},
}