Journal of Applied Mathematics
Volume 2016 (2016), Article ID 5061749, 9 pages
http://dx.doi.org/10.1155/2016/5061749

Research Article

A Three-State Markov-Modulated Switching Model for Exchange Rates

Idowu Oluwasayo Ayodeji

Department of Mathematics, Obafemi Awolowo University, Ile-Ife 220005, Nigeria

Received 30 July 2016; Revised 26 September 2016; Accepted 5 October 2016

Academic Editor: Wei-Chiang Hong

Copyright © 2016 Idowu Oluwasayo Ayodeji. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

Abstract.

Several authors have examined the long swings hypothesis in exchange rates using a two-state Markov switching model. This study developed a model to investigate long swings hypothesis in currencies which may exhibit a -state pattern. The proposed model was then applied to euros, British pounds, Japanese yen, and Nigerian naira. Specification measures such as AIC, BIC, and HIC favoured a three-state pattern in Nigerian naira but a two-state one in the other three currencies. For the period January 2004 to May 2016, empirical results suggested the presence of asymmetric swings in naira and yen and long swings in euros and pounds. In addition, taking as the benchmark for smoothing probabilities, choice models provided a clear reading of the cycle in a manner that is consistent with the realities of the movements in corresponding exchange rate series.

1. Introduction

Regime switching models are models which can characterize time series properties in different regimes. Models in which switching among regimes occurs stochastically according to a Markov process are called Markov regime switching models or Markov switching models (MSM) for short. Markov switching model due to Hamilton [1] has been widely applied in economics and finance. Two very popular applications of interest are the studies of long swings in currencies (e.g., Engel and Hamilton [2] and Klaassen [3]) and business cycles (e.g., Garcia and Perron [4]).

First, what are “long swings” and why do they matter in exchange rates? Engel and Hamilton [2] defined “long swings” in dollar as a situation in which “the value of dollar appears to increase in one direction for long periods of time.” The study of exchange rate movements has constantly been of interest to econometricians owing to its effects on the nation’s growth. Moreover, it is believed that the understanding of exchange rate movements may help avoid potential currency crises. Consequently, lots of efforts have been devoted to developing a theory to describe its process. Since the works of Meese and Rogoff [5], researchers have adopted the random walk hypothesis to explain exchange rate movements until Engel and Hamilton [2] presented evidence which challenged its continued use. They (Engel and Hamilton) showed that exchange rates switch infrequently between two different states of appreciation and depreciation and consequently could not follow a random walk. Subsequently, a two-state Markov regime switching model was adopted for modeling exchange rates.

Of course, a two-state Markov switching model may provide a satisfactory fit for currencies exposed to a consistent floating exchange rate regime. According to literature, these currencies are expected to appreciate and/or depreciate in response to market forces. See for instance Figure 1 which displayed the exchange rates of US dollars to a unit of euros, British pounds, and Japanese yen. It is easily seen that the three currencies switched between appreciation and depreciation states during the period under review. However, owing to varying monetary policies, currencies which may be allowed to float at some times and pegged at others would definitely exhibit a different pattern. Figure 2 plots the worth of one Nigerian naira (NGN) in US dollars (USD). The plot suggested that naira exhibited some pattern different from other markets examined so far in the literature: in all, three (not two) periods could be identified: depreciation, low appreciation, when there was little or no increase in the number of dollars required to obtain a naira, and high appreciation, when there was substantial increase. Depreciation occurred in the 11th month of 2008 (i.e., 2008M11) to 2009M03 and in 2014M10-2015M03, while naira gained and against USD between 2005M08-2006M03 and 2007M02-2008M03, respectively. And lastly, the “low appreciation” periods were 2004M06-2005M07, 2006M05-2007M03, 2008M03-2008M11, 2012M03–2014M10, and 2015M03-2016M05. This peculiar occurrence is easily explained: Nigeria’s economy depends heavily on importations which are traded (most often) in US dollars; thus, it is expected that any changes in US currency would bring about reaction (“high appreciation” or “depreciation”) in Nigerian naira; and consequently, in such cases, to avoid too much volatilities, the Central Bank of Nigeria (CBN) would usually respond with policies such as pegging naira against dollar, resulting in “low appreciation.” A pertinent question to ask is: how does the “long swings” hypothesis apply to a case of more than 2 currency regimes?

Figure 1: Plot of USD/EUR, USD/GBP, and USD/JPY for 2004M01-2016M05.

Figure 2: Plot of USD/NGN for 2004M01-2016M05.

The answer to this question is important for several reasons. First, for several other developing and/or import-oriented economies which may share this peculiar pattern with Nigeria, it provides a template on the study of long swings hypothesis. Second, it has been shown that government policies affect exchange rate movements. Kaminsky [6], for instance, reported that a change in monetary policy regimes affects the exchange rate depreciation, resulting in long swings. Consequently, information on the existence of long swings is key to exchange rate process determination and policies. And lastly, as is currently been witnessed in Nigeria, for instance, the movements in exchange rate have far-reaching implications for the nation’s growth, prices of goods and services, rate of unemployment, purchasing power, balance of payment, import structure, government revenue, economic growth, and other economic factors. Thus, information on long swings may give signals on potential economic recessions and currency crises.

This study will therefore investigate the possibility of the long swings hypothesis in EUR, GBP, NGN, and YEN, all with respect to USD. The -state model to be proposed allows decomposition of exchange rate data into depreciation and appreciation states. These states can be further decomposed into other substates. For instance in the case of naira, in line with Figure 2, the two substates of low appreciation and high appreciation could be created. This is with a view to obtaining regime probabilities which can be used to analyze exchange rates cycle over the selected periods.

The plan of study is as follows: Section 2 discusses the Markov regime switching model. Section 3 presents results on long swings investigation while Section 4 concludes.

2. Materials and Methods

Datasets consist of monthly exchange rates for euros, British pounds, Japanese yen, and Nigerian naira over recent period of January 2004–May 2016 (all series are official rates taken from data banks compiled by fxtop.com, which originally collected them from corresponding central banks). Denote , the returns on exchange rates . is the number of dollars per unit of domestic currency.

Consider the following model:

where

Equation (1) represents the simplest model with switching dynamics. The intercept takes different values representing the expectations in the different states, and also the volatilities of is the unobservable Markov switching variable which evolves according to the following transition probabilities:

where and

The log-likelihood function corresponding to (1)–(3) is

where

Since are not observable, the estimation process may not be straightforward. Following Hamilton [7], we adopt the following notations:

where represents the information available up to time And

so that (5) may be updated as

The estimates of the states’ probabilities are computed using the following algorithm:

(a)Compute the steady-state probabilities .(b)For ,

(i)compute at time the probability of each state conditional on as

(ii)using the parameters of the models in each state, that is, , and the transition probabilities , compute in each state at time ;(iii)update the probability of each state as

Estimation proceeds by finding the set of parameters that maximizes as given in (9).

Sometimes it may be necessary to compute the smoothing probabilities Kim [8] showed that estimates of the smoothing probabilities may be obtained through a smoothing algorithm, which is a backward iterative process. In addition, expected duration of a regime is also of utmost importance as it helps to measure the length of stay of the system in a particular state. Denote the duration of state , and then (Kim and Nelson [9]),

Several statistical packages are available for implementing the switching regression. Examples include Eviews 8.1, R (cran-fMarkovSwitching and MSwM), and MS Regress in Matlab. Though Eviews offers a much simpler interface than R and Matlab; standard errors of parameter estimates have to be extracted using delta method under Eviews package. This study employed Eviews 8.1.

3. Results and Discussion

Table 1 compared the appropriateness of two-state and three-state Markov switching regression for modeling the selected currencies, euro, British pounds, Japanese yen, and Nigerian naira. Specification measures such as the log-likelihood values (), Akaike (AIC), Bayesian (BIC), and Hannan-Quinn (HIC) information criteria were employed. Recall that

where is the likelihood function defined earlier in (9) and represents the number of parameters included in the corresponding model.

Table 1: Comparison of specification measures for selected currencies.

Currency

Specification measures

AIC
BIC
HIC

EUR

GBP

JPY

NGN

Higher log-likelihood and lower criteria values.

For euros, pounds, and yen, case had the higher log-likelihood values and lower AIC, BIC, and HIC values. Thus, the two states (i.e., ) of appreciation and depreciation were enough to describe USD/EUR, USD/GBP, and USD/YEN. This, of course, agrees with existing theory that currencies under floating regime arrangement switch infrequently between the states of depreciation and appreciation according to the forces of demand and supply (see also Figure 1). For Nigerian naira, however, it is evident that the three-state model overwhelmingly outperformed the two-state. This is also expected for currency which switches between floating and fixed regimes from time to time according to the monetary policies of its central bank (see also Figure 2).

In what follows, we present empirical estimates for the states favoured by specification measures.

3.1. Investigating the Long Swings Hypothesis

Table 2 displayed maximum likelihood estimates for the four selected currencies.

Table 2: Maximum likelihood estimates for selected currencies.

Parameter

Currencies

EUR
GBP
JPY
NGN

is the coefficient of lag 1 (i.e., ) which was included to correct for autocorrelation in relevant series.

NA means not applicable. Standard errors are in parentheses. Not significant at

3.1.1. Case

State 1 associated euro with a monthly fall, a fall in British pounds and a fall in Japanese yen. In state 2, euros experienced greatest rise to the tune of compared to the other two currencies. Except, of course, for yen, state 2 experienced a considerable amount of variability than state 1. We observed further that the point estimates of were large, ranging from to , except for Japanese yen which had its These estimated probabilities implied that if the system is in state 1 or 2, it is likely to remain in that state except for yen whose expected duration in the appreciation state is only month.

Engel and Hamilton [2] posited that exchange rate movements could be characterized by any of following three possibilities: random walk, long swings, or asymmetric swings. If, for Model (1), and and and are large, then long swings exist. If , is small and is large; in addition, if and large and is small, then there is asymmetric persistence in swings. Otherwise, , and exchange rate is said to follow a random walk. Applying this theory to EUR, GBP, and JPY, we observed the following possibilities:

and large long swings for euro.

and large long swings for British pounds.

It is also evident that is small in absolute compared to And lastly, is large while is very small asymmetric swings for Japanese yen. Thus, it appears that downward moves for Japanese yen were gradual and drawn out while upward moves were short and sharp.

Finally, Figures 3–5 plotted each domestic currency with its corresponding smoothed probabilities. As is usually the practice, we assumed that there is a switch in regime when the smoothing probability is greater than It is easily seen that the smoothed probability plots presented patterns that match closely with Figure 1. For instance, pounds fell by towards the end of 2008. Similarly, the value of euros depreciated from to between 2008M07 and 2008M11. Notice a similar trend in the middle panels of Figures 3 and 4. In all, the Markov switching model gave patterns that were consistent with the corresponding series.

Figure 3: Time and smoothed probability plots of USD/EUR for 2004M01–2016M05.

Figure 4: Time and smoothed probability plots of USD/GBP for 2004M01–2016M05.

Figure 5: Time and smoothed probability plots of USD/JPY for 2004M01–2016M05.

3.1.2. Case

Three states could be identified: the depreciation (state 1), high appreciation (state 2), and low appreciation (state 3). The mean statistics showed that, in state 1, Nigerian naira fell by while states 2 and 3 correspond to monthly appreciation rates of  . and  ., respectively. It is evident that state 1 experienced more volatility than the rest.

The point estimates of the transition probability are

The regime probabilities generated were , and for the depreciation, low appreciation and high appreciation states, respectively. This indicates that the exchange rate system has greater likelihood of remaining in states 2 and 3 than in state 1. The expected duration estimates confirmed this as state 1 is expected to last for just one month while states 2 and 3 have duration of approximately fifteen and eleven months, respectively. A possible explanation for this is that the Nigerian monetary authorities would usually peg naira against dollar in the face of consistent depreciation thereby forcing the system into state 2; such was the case in the early 2015. also showed that, for a managed exchange rate system, the most unlikely transition is from the high appreciation state to depreciation, only a slight chance of . For euros, pounds, and yen which are allowed to float, currencies may evolve freely from appreciation to depreciation and vice versa. On the other hand, implies that there is greater probability that the system enters into high appreciation state after depreciation. Such was the case between 2008 and 2009.

Now, along the line of Engel and Hamilton [2], we may define three possibilities for case :

(i)A random walk, that is, , where exchange rate movements are independent from period to period(ii)Long swings, that is, and , and the values of ; are large(iii)Asymmetric persistence in swings, that is, and is small and is large; in addition, and is large and is small

Thus, from the estimates of and coupled with those of the probabilities, it appears that the Nigerian exchange rates are characterized by asymmetric swings. That is, we have a case of negative and large in absolute, and small; together with positive and small, and large. The implication is that upward moves were gradual and drawn out while downward moves were short and sharp.

Lastly, the smoothed probabilities for the three states are displayed in Figure 6. We noticed that the smoothed probability plots divided Nigerian exchange rates into three segments that are consistent with the patterns in Figure 2. In particular, under state 1, Markov switching model identified two depreciation periods at 2008M12-2009M02 and 2014M11-2015M03. We recall that the first period was due to the US crisis that stemmed from the bankruptcy of the Lehman Brothers, which occurred around 2007-2008, and the effect spread to Nigerian currency market towards the tail end of 2008 and lasted for three months. The second period was due to the current fall in crude oil prices in late 2014. Since Nigerian economy heavily depends on the proceeds from the sale of crude and also the official exchange rate for crude oil is US dollars, it is no surprise, therefore, that the effects of the falling oil prices were felt almost immediately and significantly.

Figure 6: Smoothed probability plots of USD/NGN for 2004M01–2016M05.

3.1.3. Hypothesis Testing for a -State Regime Model: Random Walk versus Long Swings

We note, in passing, that some of the parameter estimates in Table 2 were not significant at This should not generate a major concern since, in long swings test, interest is usually not in the individual values as they have no connotations other than the obvious fact that they are (in)significant. Rather attention and concern are in the test of random walk which combines the estimates and their standard errors in a meaningful fashion. This is the essence of long swings hypothesis. Thus, for the validity of our model, a natural test of hypothesis is to examine the claim that exchange rate follows a random walk. Engel and Hamilton [2] described well the procedure for a two-state regime model. However, since a three-state model for exchange rate cycle is first considered here (to our knowledge), it is therefore appropriate that we demonstrate how to adapt the test to states or any number of state in general.

For a random walk, a general null hypothesis is

where is the number of states. System (15) implies that the state variables are independent. That is, under , exchange rate movements are characterized by independent and identically distributed individual densities given by

Thus, one can test against the alternative hypothesis that , using standard theory of distribution since the parameter vector and probabilities are identified under

For Wald test, therefore, we have the statistic

The second test

can be rewritten as

where is an matrix and is a vector. Then, the corresponding Wald statistic, , is

where is the variance-covariance matrix of

For , for instance, reduces to Engel and Hamilton’s [2] equation for testing (pg 699). For a particular case , and

Table 3 presented Wald test statistics and At , the critical values for and are and , respectively. Since and , we reject null hypothesis of random walk in favour of long swings for the euros and conclude that USD/EUR exhibited symmetric long swings between 2004M01 and 2016M05. This agrees with the visuals in Figure 1. Further, since and , we also reject the null in favour of asymmetric swings in the case of NGN. We therefore conclude that the naira experienced long, gradual swings in appreciation and short, sharp swings in depreciation. This is, of course, consistent with Figure 2 as the maximum duration for depreciation was 6 months, that is, 2014M10-2015M03, as opposed to that of appreciation which had a maximum duration of 15 months being from 2004M05 to 2005M07.

Table 3: Hypotheses testing: random walk versus long swings.

Statistic

Currencies

EUR
GBP
JPY
NGN

values in parentheses.

Test values on GBP presented mixed results while those of YEN were altogether not significant. Thus, we fail to reject and in the cases of Japanese yen and British pounds. Klaassen [3] however cautioned that one should not be too quick to conclude on the absence of long swings as statistical evidence depends heavily on data frequency and the period under consideration. He made this remark while experimenting with quarterly, monthly and weekly data frequencies of Japanese yen, British pounds and German mark from April 1974 to July 2003. He noted that, from the second quarter of 1974 (1974:II) through 1986:IV, statistical tests provided evidence in support of long swings hypothesis for the three currencies; however, when the data range was extended to 2003:II, all statistic values became insignificant at , casting doubts on earlier evidence of long swings. Along this line of thought, we note that the period between 2004 and 2016 gave too few observations to distinguish upward swings from a random walk in the cases of USD/GBP and USD/YEN (see top panels of Figures 4 and 5). Consequently, for that period, we conclude that exchange rates did not provide convincing evidence to reject the null hypothesis of random walk for Japanese yen and British pounds.

3.2. Model Diagnostics

This section concerns model (mis)specification. We tested for evidence of “left-over” serial correlation and ARCH effects in the residuals of the Markov switching models. Table 4 reported the Ljung-Box Q-statistic for standardized and squared standardized residuals at lag 1 through 10 (denoted and ) for the four models.

Table 4: Model diagnostics.

Statistic

Before MSM
After MSM

EUR
GBP
JPY
NGN
EUR
GBP
JPY
NGN

MSM means Markov switching model. values are in parentheses.

It is known in general that if a model is correctly specified, then the residuals should be free of serial correlation. We observed that values for all series were not significant at , which indicates the absence of serial correlation from estimated residuals. We observed further that values improved substantially after exchange rate returns were modeled with the Markov-modulated regime models.

Further, since the seminal work of Engle [10], it has become a custom to test financial time series for the presence of autoregressive conditional heteroscedasticity (ARCH) effects. So we implemented ARCH test using the serial correlation features of We found some evidence of ARCH effects for EUR and GBP but may not consider it significant at given the number of observations. Otherwise, Markov switching models which incorporate GARCH specification in the variance equation have been developed. This may be employed to improve robustness of results.

4. Conclusion

The study developed a -state Markov switching model for the investigation of the long swings hypothesis in exchange rate movements. The model was applied to euros, British pounds, Japanese yen, and Nigerian naira. It is evident from the study that the choice of the number of states for exchange rates is currency-specific. As a matter of fact, the choice depends largely on the exchange rate regime adopted in each country, whether floating, fixed, or mixed. Currencies, such as euros, pounds and yen, which are exposed to a floating regime consistently would most likely be described by a two-state model, whereas one which switches between floating and fixed is a candidate for a three-state model. An example is the Nigerian naira.

Empirical results gave convincing evidence of long swings in euros and asymmetric swings in the USD/NGN rates; that is, Nigerian naira experienced long, gradual swings in appreciation and short, sharp swings in depreciation. Despite being insignificant, evidences of long swings and asymmetric swings were found in British pounds and Japanese yen, respectively. One way to explain this insignificance was discussed at length in Klaassen [3]. Samples of data may be too few to provide evidence of long swings.

Another perspective was given in Rabah [11]: hypothesis testing on random walk versus long swings is problematic due to the fact that asymptotic theory is difficult to establish under Markov regime modeling (see also Hansen [12, 13]). Consequently, the study suggested bootstrap procedure to evaluate the statistical significance of Markov switching models. In a wider sense, bootstrapping techniques have been suggested as a means to solving the bias problem encountered in autoregressive (Kim [14]), mixed logit (Tsagkanos [15]), or, in general, maximum likelihood (Rabah [11]) estimators. Thus, further research can be carried out by exploring this avenue for a more robust estimation and inference in Markov switching modeling.

Competing Interests

The author declares that there is no conflict of interests regarding the publication of this paper.

References

J. D. Hamilton, “A new approach to the economic analysis of nonstationary time series and the business cycle,” Econometrica, vol. 57, no. 2, pp. 357–384, 1989.

C. Engel and J. Hamilton, “Long swings in the dollar: are they in the data and do market know it?” American Economic Review, vol. 80, pp. 687–713, 1990.

F. Klaassen, “Long swings in exchange rates: are they really in the data?” Journal of Business & Economic Statistics, vol. 23, no. 1, pp. 87–95, 2005.

R. Garcia and P. Perron, “An analysis of the real interest rate under regime shifts,” Review of Economics and Statistics, vol. 78, no. 1, pp. 111–125, 1996.

R. A. Meese and K. Rogoff, “Empirical exchange rate models of the seventies: do they fit out of sample?” Journal of International Economics, vol. 14, no. 1-2, pp. 3–24, 1983.

G. Kaminsky, “Is there a peso problem? Evidence from the dollar/pound exchange rate, 1976–1987,” American Economic Review, vol. 83, pp. 450–472, 1993.

J. D. Hamilton, Time Series Analysis, Princeton University Press, Princeton, NJ, USA, 1994.

C.-J. Kim, “Dynamic linear models with Markov-switching,” Journal of Econometrics, vol. 60, no. 1-2, pp. 1–22, 1994.

J. Kim and C. Nelson, State-Space Models with Regime Switching, MIT Press, Cambridge, Mass, USA, 1999.

R. F. Engle, “Autoregressive conditional heteroscedasticity with estimates of the variance of United Kingdom inflation,” Econometrica, vol. 50, no. 4, pp. 987–1007, 1982.

Z. Rabah, “Does bootstrap testing perform well for Markov switching models?” in Proceedings of the 6th Eurostat Colloquium on Modern Tools for Business Cycle Analysis: The Lessons from Global Economic Crisis, vol. EWP2011/025, Luxembourg City, Luxembourg, 2010.

B. E. Hansen, “The likelihood ratio test under nonstandard conditions: testing the markov switching model of gnp,” Journal of Applied Econometrics, vol. 7, pp. S61–S82, 1992.

B. E. Hansen, “Erratum: the likelihood ratio test under nonstandard conditions: testing the Markov switching model of GNP,” Journal of Applied Econometrics, vol. 11, no. 2, pp. 195–198, 1996.

J. H. Kim, “Bias-correction and endogenous lag order algorithm for bootstrap prediction intervals,” Journal of Statistical Planning and Inference, vol. 177, pp. 41–44, 2016.

A. G. Tsagkanos, “A bootstrap-based minimum bias maximum simulated likelihood estimator of Mixed Logit,” Economics Letters, vol. 96, no. 2, pp. 282–286, 2007.