1 Introduction

Over the recent years, there has been a significant attention on the cross-border portfolio flows effects on exchange rate changes and its volatility. The general view is that large inflows result in an exchange rate appreciation. Nonetheless, volatile cross-border flows may lead to an increase in the volatility of the exchange rates. In this paper, we examine to what extent equity and bond portfolio flows between the US and Japan affect the corresponding US dollar–yen exchange rate changes, given that the cross-border acquisition of long-term securities between these countries has grown over the recent years (see Fig. 1). The US listed stocks of Japanese companies have been substantially larger compared to the other developed countries. Also, the Bank of Japan has frequently exercised what is known as the sterilized intervention in the foreign exchange market using long-term, primarily US, bond instruments to tackle the stagnation of the Japanese economy.Footnote 1 As Sarno et al. (2016) documented, bond flows between the US and Japan have also been driven by the so-called yen carry trade, where investors borrowed in yen at the very low rates to invest in high interest currencies, mainly the US dollar.Footnote 2

Fig. 1
figure 1

Evolution of gross portfolio inflows from Japan toward the US (in red) and from the US toward Japan (in blue) (in millions of US dollars). Source: US TIC. (Color figure online)

The lack of academic consensus on what factors explain the dollar–yen exchange rate changes further motivates this study. Obstfeld (2009) comments that “the determinants of the yen’s short- and even longer-term movements remain mysterious in light of the development of Japan’s macro economy”. Ruelke et al. (2010), by using the Wall Street Journal poll, further discuss on the findings that forecasters can be regarded as heterogeneous in the expectation formation process for the yen against the US dollar over the period 1989–2007. Recent studies on the determinants of the US dollar–yen exchange rate also include Chinn and Moore (2011) and Hunter and Menla Ali (2014), among others.

More specifically, this paper contributes to the existing literature by examining the nonlinear impact of cross-border portfolio flows on dollar–yen exchange rate changes. Most of the existing empirical studies have assumed a linear framework (see, e.g., Brooks et al. 2004; Hau and Rey 2006). However, the nonlinear effects of flows on exchange rates have drawn less attention, even though the existence of multiple equilibria in the behavior of the exchange rate and its volatility has been well documented (e.g., Jeanne and Rose 2002; Lovcha and Perez-Laborda 2013, among others). The only exception is the study by Menla Ali et al. (2014), who used a fixed transition probability Markov-switching specification and found that net bond flows have a significant impact on dollar–yen exchange rate changes only in periods of low volatility.

Considering the recent evidence of  Menla Ali et al. (2014) on nonlinear dependence, this paper uses the time-varying transition probability Markov-switching framework as an alternative way to examine the nonlinear impact of the flows on the dollar–yen exchange rate changes. The adopted framework is flexible enough to capture the nonlinearity in the relationship between exchange rate changes and portfolio flows as it separates periods of appreciation from periods of depreciation and of high volatility from those of low volatility allowing the probabilistic structure of the transition from one regime to the next be a function of the flows. The causal effect is not constrained to be symmetric in the parameterization (portfolio flows affect the exchange rate differently in periods of appreciation and depreciation, as well as high and low volatility) and in the temporal causality (portfolio flows have a different impact on the future exchange rate in periods of appreciation and depreciation, as well as high and low volatility). The model, therefore, measures the impact of portfolio flows for different states of the currency.Footnote 3

Fig. 2
figure 2

Net portfolio inflows (in millions of US dollars) from Japan toward the US (lower panel) and the annualized historical volatility of the dollar–yen exchange rate changes (upper panel)

Intuitively, portfolio flows may not be the same during periods of appreciation and depreciation and also when the currency is highly volatile and less volatile. In fact, there is now evidence that international flows change with the level of uncertainty in the foreign exchange markets. Caporale et al. (2015) found specifically that international inflows toward the US were dampened during high uncertainty of exchange rate changes using data from major developed countries. Figure 2 displays the evolution of the net portfolio inflows from Japan toward the US and the annualized historical volatility of the dollar–yen exchange rate changes. A graphical inspection suggests that periods associated with large increases (declines) in the inflows correspond to those of relatively low (high) volatility of exchange rate changes.

The adopted nonlinear analysis is further of paramount interest, given that the safe haven feature of the yen during certain periods, such as the period of the global financial crisis, has been documented by several studies. Habib and Stracca (2012) reported that safe haven currencies, per se, tend to have a stronger net foreign asset position. It follows that portfolio flows’ behavior is likely to be different during periods when the currency acts as a safe haven.Footnote 4

The nonlinear mechanism adopted in this paper offers important policy implications. Policy makers and regulators can set appropriate policies with regard to economic and financial stability. For example, policies aimed to ease the impact of currency appreciation, and the associated negative effects on the economy could be unsuccessful if higher inflows move the exchange rate to the appreciation regime. Credit controls on the flows may be deemed in this regard, since such a policy is likely to mute the inflows, and hence stabilize the economy.

The remainder of this paper is organized as follows. Section 2 outlines the econometric model and the hypotheses tested in this study. Section 3 describes the data and discusses the empirical results, and Sect. 4 concludes.

2 The model

The time-varying regime-switching model considered in this paper allows for shifts in mean–variance, that is, for periods of appreciation and depreciation and low and high volatility, and is given by:

$$\begin{aligned} r_{t}= & {} \mu (s_{t})+\displaystyle \sum \limits _{i=1}^{4}\phi _{i}r_{t-i}+\sigma (s_{t})\varepsilon _{t},\quad \left( t\in {\mathbb {T}}\right) , \nonumber \\ \mu (s_{t})= & {} \sum _{i=1}^{2}\mu _{(i)}{\mathbf {1}}\{s_{t}=i\},\quad \sigma (s_{t})=\sum _{i=1}^{2}\sigma _{(i)}{\mathbf {1}}\{s_{t}=i\}, \end{aligned}$$
(1)

where \(r_{t}\) denotes the log changes in the US dollar–Japanese yen exchange rate. Autoregressive terms (up to four lags) are also considered. Therefore, the parameter vector of the mean equation, (Eq. 1), is defined by \(\mu _{(i)}\ \left( i=1,2\right) \) and \(\sigma _{(i)}\ \left( i=1,2\right) \) which are real constants, the autoregressive terms \( \sum \nolimits _{i=1}^{4}\phi _{i}, \{\varepsilon _{t}\}\) which are i.i.d. errors with \(\textsf {E}(\varepsilon _{t})=0\) and \(\textsf {E}(\varepsilon _{t}^{2})=1\), and the random variables \(\{s_{t}\}\) in \({\mathbb {S}} =\{1,2\}\) which indicate the unobserved state of the process at time t. Throughout, the regime indicators \(\left\{ s_{t}\right\} \) are assumed to form a Markov chain on \({\mathbb {S}}\) with transition probability matrix \( {\mathbf {P}}^{\prime }=[p_{ij}]_{2\times 2}\), where \(p_{ij}=\Pr (s_{t}=j|s_{t-1}=i)\) with \(i,j\in {\mathbb {S}}.\) \(p_{i1}=1-p_{i2}\ \left( i\in {\mathbb {S}}\right) \), where each column sums to unity, and all elements are nonnegative. It is also assumed that \(\{\varepsilon _{t}\}\) and \( \{s_{t}\}\) are independent.

To assess the links between net portfolio flows and the dollar–yen exchange rate changes, we generalize the model in Eq. (1) by allowing the transition probabilities to vary over time. In particular, we assume that each conditional mean follows an independent regime-shifting process and, following Filardo (1994), the transition mechanism governing \(\{s_{t}\}\) is given by (Model 1):

$$\begin{aligned} p_{t}^{1}= & {} \frac{\exp \left( \gamma _{0}+\gamma _{1}npf_{t-1}\right) }{ \left[ 1+\exp \left( \gamma _{0}+\gamma _{1}npf_{t-1}\right) \right] },\nonumber \\ p_{t}^{2}= & {} \frac{\exp \left( \eta _{0}+\eta _{1}npf_{t-1}\right) }{\left[ 1+\exp \left( \eta _{0}+\eta _{1}npf_{t-1}\right) \right] }. \end{aligned}$$
(2)

Note that since \(p_{t}^{1}/npf_{t-1}\) has the same sign as \(\gamma _{1}\), \( \gamma _{1}>0\) implies that an increase in net portfolio inflows, \( npf_{t-1}, \) increases the probability of remaining in state 1. Similarly, \( \eta _{1}>0\) implies that an increase in \(npf_{t-1}\) will increase the probability of remaining in the second regime.Footnote 5

For robustness purposes, the following control variables are considered: stock market return differential \((s-s^{*})_{t-1}\), short-term interest rate differential \((i-i^{*})_{t-1}\) and real oil price changes \( \mathrm{oil}_{t-1} \).Footnote 6 \((s-s^{*})_{t-1}\) captures stock market shocks across the US and Japan. \((i-i^{*})_{t-1}\) controls for the different monetary policies between the US and Japan as a result of the different inflationary environments over the period under investigation (see Bernanke 2000). \(\mathrm{oil}_{t-1}\) is aimed to capture the terms of trade shocks (Amano and Norden 1998) as both the US and Japan are net importer countries and the input costs in the two countries are highly sensitive to oil price changes. Therefore, the extended model (Model 2) has the following form:

$$\begin{aligned} p_{t}^{1}= & {} \frac{\exp \left( \gamma _{0}+\gamma _{1}npf_{t-1}+\gamma _{2}(s-s^{*})_{t-1}+\gamma _{3}(i-i^{*})_{t-1}+\gamma _{4}\mathrm{oil}_{t-1}\right) }{\left[ 1+\exp \left( \gamma _{0}+\gamma _{1}npf_{t-1}+\gamma _{2}(s-s^{*})_{t-1}+\gamma _{3}(i-i^{*})_{t-1}+\gamma _{4}\mathrm{oil}_{t-1}\right) \right] }, \nonumber \\ p_{t}^{2}= & {} \frac{\exp \left( \eta _{0}+\eta _{1}npf_{t-1}+\eta _{2}(s-s^{*})_{t-1}+\eta _{3}(i-i^{*})_{t-1}+\eta _{4}\mathrm{oil}_{t-1}\right) }{\left[ 1+\exp \left( \eta _{0}+\eta _{1}npf_{t-1}+\eta _{2}(s-s^{*})_{t-1}+\eta _{3}(i-i^{*})_{t-1}+\eta _{4}\mathrm{oil}_{t-1}\right) \right] }. \end{aligned}$$
(3)

Finally, we take as a benchmark the standard linear model frequently estimated in the literature (see, Brooks et al. 2004; Hau and Rey 2006) and specified as follows:

$$\begin{aligned} r_{t}=\mu +\displaystyle \sum \limits _{i=1}^{4}\phi _{i}r_{t-i}+\beta npf_{t-1}+\sigma \varepsilon _{t}. \end{aligned}$$
(4)

Further details on the estimation process and the employed data are given in the next section.

3 Data description and empirical results

The data used consist of quarterly observations on bilateral portfolio investment flows, expressed in US dollars, and the US dollar–Japanese yen exchange rate over the period 1988:01–2011:04. End of period exchange rates are retrieved from the IMF’s International Financial Statistics, whereas portfolio investment flows are sourced by the US Treasury International Capital (TIC) System.Footnote 7 Exchange rate changes are calculated as \(r_{t}=100(E_{t}/E_{t-1}),\) where \( E_{t}\) denotes the log exchange rate at time t. Net portfolio flows, by contrast, are constructed as the difference between portfolio inflows and outflows. Inflows and outflows are measured as net purchases and sales of domestic assets (equities and bonds) by foreign residents, and net purchases and sales of foreign assets (equities and bonds) by domestic residents, respectively. Following Hau and Rey (2006) among others, portfolio flows are normalized by the previous four-quarter averages. Positive figures imply portfolio inflows toward the US or outflows from Japan.Footnote 8

Summary descriptive statistics along with Hansen test statistics and OLS and maximum likelihood (ML) estimates of the models described above are reported in Table 1. The linear (benchmark) model, broadly consistent with Brooks et al. (2004) and Hau and Rey (2006), confirms that portfolio flows do not have a significant effect on the dollar–yen exchange rate changes. The insignificant effect of portfolio flows may be due to the associated nonlinear dynamic link between the two variables.

Table 1 Descriptive statistics, Hansen test, and estimation results

The null hypothesis of linearity against the alternative of a Markov regime-switching process cannot be tested directly using a standard likelihood ratio (LR) test. We properly test for multiple equilibria (more than one regime) against linearity using Hansen’s (1992) test. The results (Table 1) support a two-state regime-switching model. The presence of a third state was tested and rejected.

Model 1 appears to be well identified (see Table 1). The standardized residuals exhibit no signs of linear or nonlinear dependence. The periods of appreciation and depreciation seem to be accurately selected by the smoothed probabilities, which clearly separates the two regimes. Figure 3 shows the plots for the dollar–yen exchange rate changes, \(r_{t}\), along with the corresponding estimated smoothed probabilities. It appears that state one (two) is characterized by appreciation (depreciation) and low (high) volatility, with the volatility in the high state, \(\sigma _{2},\) being twice as big as the volatility in the low regime, \(\sigma _{1}\). The process is in the appreciation (low volatility) state for 34 quarters (36.56 %, with an average duration of 8.50 quarters). For the remaining of the sample, the currency is characterized by depreciation and high volatility. The null hypotheses of \( H_{0}:\mu _{1}\) \(=\mu _{2}\) and \(H_{0}:\sigma _{1}\) \(=\sigma _{2}\) are rejected at any conventional significance level, further confirming that the Markov chain is driven by switches in the first as well as the second moment.

Fig. 3
figure 3

Exchange rate changes, smoothed probabilities, net portfolio inflows, interest rate spread, and the time-varying transition probability of the appreciation (low variance) regime (state 1)

The appreciation periods of the US dollar (depreciation of the yen) are notably associated with the stock prices decline in 1990 as a result of the fifth monetary tightening policy implemented by the Bank of Japan and aimed to deal with the Japanese asset price bubble, the Japanese policy interventions along with the Asian financial crisis over the period 1995–1998, the quantitative easing policy in Japan over the period 2001–2003, and the decline in the Japanese long-term real rates compared to the US counterparts over the period April 2005–July 2006 (see Obstfeld 2009). Note that the yen has steadily appreciated against the US dollar since 2008 as a result of being acting as a safe haven currency beside the Swiss franc and the Australian dollar during this period.

In order to assess whether portfolio flows contribute to predict changes in the exchange rate, we need to both (1) analyze the sign (and significance) of the parameters of the time-varying transition probabilities (this will enable us to find whether the flows variable affects the probability of staying in, or switching regime) and (2) inquire, by looking at the temporal evolution of the time-varying transition probabilities, whether changes in regime are triggered by changes in the flows.

The estimated coefficients for the transition probability functions, (Eq. 2), show that an increase (decrease) in the level of portfolio inflows raises (decreases) the probability of remaining in the appreciation and less volatile regime, since \(\gamma _{1}\) is positive and significant \(\left( \gamma _{1}=1.619\right) \). On the other hand, portfolio inflows do not appear to impact on exchange rate changes during depreciation and high volatility periods, with \(\eta _{1}\) being not significant.

The evolution of the time-varying transition probabilities and the net portfolio inflows variable, \(npf_{t},\) are very informative. It is clear that the transition probabilities of remaining in the same state vary throughout the sample. Changes in the probability of remaining in the appreciation and less volatile regime, in particular, seem to be triggered by portfolio flow behavior (see Fig. 3). For example, the decline in the inflows toward the US associated with the September 11 terrorist attacks, the dotcom bubble burst, and the post-Lehman Brothers default period with the yen acting as a safe haven currency decreases the probability of remaining in the dollar appreciation (low volatility) regime \( \left( p_{t}^{1}\right) \). On the other hand, the rise in the inflows associated with the Asian financial crisis in 1997–1998, the fall in the asset prices and the economic downturn in Japan over the period 2001–2003, and the drop in the Japanese real rates over the period 2005–2007 increase the probability of remaining in the dollar appreciation (low volatility) regime.

Our results are robust to the inclusion of the control variables (Model 2). The interest rate spread has a significant and positive effect only in the appreciation and low volatility state \(\left( \gamma _{3}=0.905\right) \), although smaller than what observed for portfolio inflows \(\left( \gamma _{3}<\gamma _{1}\right) .\) More specifically, a higher US interest rate relative to the Japanese counterpart increases the probability of remaining in the appreciation and low volatility state. With regard to the changes in real oil prices, they have a negative effect \( \left( \eta _{4}=-0.046\right) \) only during depreciation and high volatility periods. That is, an increase in the real oil price leads to a decrease in the probability of remaining in the depreciation and high volatility state, consistent with Lizardo and Mollick (2010). Lizardo and Mollick (2010) argued that a higher real oil price results in an appreciation of the US dollar especially against net importer countries’ currencies such as Japan. By contrast, the stock return differential parameters \(\left( \gamma _{2},\eta _{2}\right) \), consistently with Hau and Rey (2006), are not significant.

4 Conclusion

In this paper, we have investigated the causality dynamics running from portfolio inflows into the US dollar–yen exchange rate changes using quarterly data over the period 1988:01–2011:04. By using a time-varying transition probability Markov-switching model, we contribute to the existing literature by showing that portfolio inflows from Japan toward the US result in an increase in the probability of remaining in the appreciation (less volatile) regime. This finding supports the view that investors behave differently when the market is in an appreciation compared to a depreciation state and when it is in a high rather than low volatility period. The observed state-dependent impact of the flows reflects the differences in the behavior of the yen compared to the US dollar in the foreign exchange market. Moreover, over the last two decades, both the US and Japan have undergone different economic cycles and macroeconomic conditions, thereby further inducing international investors to rebalance their portfolios across borders.

The results presented herein are robust to monetary policy, stock markets, and terms of trade shocks. Furthermore, they add new information, suggesting that portfolio inflows rather than monetary variables keep the domestic currency in the appreciation (low volatility) regime. The dynamic time-varying approach supports the appropriateness of the nonlinear framework adopted in this paper. The policy implication of our result is that portfolio flows are more efficacious in determining the currency dynamics, and therefore, credit controls on these flows can be used in order to pursue economic and financial stability.