Skip to main content

Advertisement

Log in

A Unit Root Test with Markov Switching Deterministic Components: A Special Emphasis on Nonlinear Optimization Algorithms

  • Published:
Computational Economics Aims and scope Submit manuscript

Abstract

In this study, we investigate the performance of different optimization algorithms in estimating the Markov switching (MS) deterministic components of the traditional ADF test. For this purpose, we consider Broyden, Fletcher, Goldfarb, and Shanno (BFGS), Berndt, Hall, Hall, Hausman (BHHH), Simplex, Genetic, and Expectation-Maximization (EM) algorithms. The simulation studies show that the Simplex method has significant advantages over the other commonly used hill-climbing methods and EM. It gives unbiased estimates of the MS deterministic components of the ADF unit root test and delivers good size and power properties. When Hamilton’s (Econometrica 57:357–384, 1989) MS model is re-evaluated in conjunction with the alternative algorithms, we furthermore show that Simplex converges to the global optima in stationary MS models with remarkably high precision and even when convergence criterion is raised, or initial values are altered. These advantages of the Simplex routine in MS models allow us to contribute to the current literature. First, we produce the exact critical values of the generalized ADF unit root test with MS breaks in trends. Second, we derive the asymptotic distribution of this test and provide its invariance feature.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3

Similar content being viewed by others

Notes

  1. In this study, the term ‘generalized ADF unit root test’ will be used to refer to a generalization of the traditional ADF unit root test that incorporates Markov-switching deterministic components in the structure of the series.

  2. See Hall et al. (1999) for further details.

  3. In Leybourne et al. (1998) structural change is assumed to occur gradually and modelled using the logistic smooth transition (LST) function. See Leybourne et al. (1998) for further details.

  4. In a study conducted by Omay and Emirmahmutoğlu (2017) the same two-step methodology was used to show that the logistic smooth transition function must be estimated by genetic algorithm to obtain unbiased estimates of the structural break parameters.

  5. The simulation results are available upon request. To obtain the critical values, some preliminary constraints were imposed on the MS model for control purposes. The most important of these was that the probability values must lie between 0 and 1. In non-stationary series, optimization algorithms estimate probability values outside the (0, 1) range. In this respect, these constraints were imposed to ensure plausible estimates.

  6. The derivation of this Theorem is provided in “Appendix A”.

  7. Thanks to the suggestions of an anonymous referee, we have also checked for the robustness of our results to the presence of a MA(1) process. Our results have showed that Simplex is again better than any other algorithm commonly used in the literature to estimate models with MS trends, even with a MA(1) process embedded into the testing equation. For instance, for a sample size of 500 the power of the test equals 1 when the Simplex method is used. These results are available upon request.

  8. When more than two breaks are included in the level and slope of the testing equation, multiple regime MS models should be used. However, our main aim in this study is to prove that with commonly used MS models the Simplex method performs better than any other algorithm used in the literature. Specifying a more effective multiple regime MS model to capture multiple breaks is beyond the scope of this study.

  9. The data is retrieved from https://econweb.ucsd.edu/~jhamilto/software.htm#Markov.

  10. The estimations were carried out entirely using the original RATS program provided by Hamilton. This program can be retrieved from https://econweb.ucsd.edu/~jhamilto/software.htm#Markov.

  11. The results based on the Genetic, EM and BHHH algorthms are not provided since they failed to converge to a solution.

  12. For details please refer to Cavaliere (2003).

  13. \(\Gamma_{s} (s)\) indicates the autocovariance function.

  14. For details please refer to Cavaliere (2003).

References

  • Camacho, M. (2011). Markov-switching models and the unit root hypothesis in real US GDP. Economics Letters., 112, 161–164.

    Article  Google Scholar 

  • Cavaliere, G. (2003). Asymptotics for unit root tests under Markov regime-switching. Econometrics Journal, 6, 193–216.

    Article  Google Scholar 

  • Chang, Y., & Park, J. (2002). On the asymptotics of ADF tests for unit roots. Econometric Reviews., 21, 431–447.

    Article  Google Scholar 

  • Dawid, A. P., & Skene, A. M. (1979). Maximum likelihood estimation of observer error-rates using the EM algorithm. Applied Statistics, 28, 20–28.

    Article  Google Scholar 

  • Hall, S. G., Psaradakis, Z., & Sola, M. (1999). Detecting periodically collapsing bubbles: a markov-switching unit root test. Journal of Applied Econometrics., 14, 143–154.

    Article  Google Scholar 

  • Hamilton, J. D. (1994). Time series analysis. Princeton University Press.

    Book  Google Scholar 

  • Hamilton, J. D. (1990). Analysis of time series subject to changes in regime. Journal of Econometrics., 45, 39–70.

    Article  Google Scholar 

  • Hamilton, J. D. (1989). A new approach to the economic analysis of nonstationary time series and the business cycle. Econometrica, 57, 357–384.

    Article  Google Scholar 

  • Kanas, A., & Genius, M. (2005). Regime nonstationarity in the US/UK real exchange rate. Economics Letters., 87, 407–413.

    Article  Google Scholar 

  • Kanas, A. (2006). Purchasing power parity and markov regime switching. Journal of Money, Credit, and Banking., 38, 1669–1687.

    Article  Google Scholar 

  • Kanas, A. (2009). Real exchange rate, stationarity, and economic fundamentals. Journal of Economics and Finance., 33, 393–409.

    Article  Google Scholar 

  • Krolzig, H.-M. (1997). Markov switching vector autoregressions. Modelling, statistical inference and application to business cycle analysis. Springer.

    Google Scholar 

  • Leybourne, S., Newbold, P., & Vougas, D. (1998). Unit roots and smooth transitions. Journal of Time Series Analysis, 19, 83–97.

    Article  Google Scholar 

  • Nelson, C. R., Piger, J., & Zivot, E. (2001). Markov regime switching and unit root tests. Journal of Business and Economic Statistics, 19, 404–415.

    Article  Google Scholar 

  • Omay, T., & Emirmahmutoğlu, F. (2017). The comparison of power and optimization algorithms on unit root testing with smooth transition. Computational Economics, 49, 623–651.

    Article  Google Scholar 

  • Phillips, P. C. B., Shi, S., & Yu, J. (2015). Testing for multiple bubbles: Historical episodes of exuberance and collapse in the SP 500. International Economic Review., 56, 1043–1078.

    Article  Google Scholar 

  • Psaradakis, Z. (2001). Markov level shift and the unit root hypothesis. Econometrics Journal., 4, 225–241.

    Article  Google Scholar 

  • Wu Jeff, C. F. (1983). On the convergence properties of the EM algorithm. The Annals of Statistics, 11, 95–103.

    Google Scholar 

Download references

Funding

The authors have not disclosed any funding.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Aysegul Corakci.

Ethics declarations

Conflict of interest

The authors have not disclosed any competing interests.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Appendix A

Appendix A

The asymtotic distribution of the generalized ADF test with MS breaks is not given in the previous literature. However, following Hamilton (1994, Chp 17) and using Proposition 2 of Cavaliere (2003) instead of Proposition 17.1 of Hamilton (1994, Chp 17, p. 486), one can easly derive the asymptotic distribution of the newly proposed tests. The distribution is similiar to the distribution given in equation 17.4.55 of Hamilton (1994, p. 500). The density functions of the proposed tests are given in Fig. 4:

Fig. 4
figure 4

Density function of \(\tau_{M\mu }\) and \(\tau_{M,\tau }\)

Following Cavaliere (2003) first we assume the following:

Assumption 1

The Markov Chain \(\left\{ {s_{t} } \right\}_{0}^{\infty }\) is irreducible, aperiodic with one-step transition probability matrix denoted by \(P: = (p_{ij} ),p_{ij} : = \Pr ob\left\{ {\left. {s_{t + 1} = j} \right|s_{t} = i} \right\},i, = 1,...,K\). The initial probabilities are \(\Pr ob\left\{ {s_{0} = j} \right\} = :\pi_{j}\) and \(p_{j}^{(t)} : = \Pr ob\left\{ {s_{t} = j} \right\} = :\pi_{j}\) for all j, t.

The above given assumption is followed by the following definition and proposition.

Definition 1

(Markov-switching Trend). Let \(\mu : = \left( {\mu^{1} ,...,\mu^{K} } \right){\prime}\) be such that \(\mu^{i} \ne \mu^{j}\) for at least a pair of indices \((i,j)\), \(i \ne j\), and let \(\mu_{t} : = \mu{\prime} s_{t}\) be a Markov chain satisfying Assumption 1. A Markov-switching trend is a stochastic process \(\left\{ {\tau_{t} } \right\}_{0}^{\infty }\) that satisfies \(\tau_{t} = \tau_{t - 1} + \mu_{t}\), with initial condition \(\tau_{0} = 0\).

Proposition 1

Let \(\left\{ {\tau_{t} } \right\}\) be a Markov-switching trend and let \(\overline{\mu } = \pi{\prime} \mu\) and \(\lambda_{\mu }^{2} : = \mu{\prime} \Lambda_{s} \mu\), \(\Lambda_{s} : = \Gamma_{s} (0) + \sum\nolimits_{n = 1}^{ + \infty } {\left( {\Gamma_{s} (n) + \Gamma_{s} (n){\prime} } \right)}\). Furthermore, assume that \(\lambda_{\mu }^{2} > 0\). Then, as \(T \uparrow \infty\) \(T^{ - 1/2} \left( {\tau \left[ {sT} \right] - \overline{\mu }\left[ {sT} \right]} \right)\mathop{\longrightarrow}\limits^{w}\lambda_{\mu } B\left( s \right)\), where \(B\left( . \right)\) is a standard Brownian motion on \(C\left[ {0,1} \right]\)

Proposition 1Footnote 13, which is proposition 2 of Cavaliere (2003), shows that a MS trend, if properly normalized, converges weakly to a standard Brownian motion. Hence \(\Delta \tau_{t} = \mu_{t}\) is Renyi mixing or I,0) in a broad sense. The only requirement for invariance principle to hold is that \(\lambda_{\mu }^{2} > 0\),i.e., long-run variance is strictly positive).

Theorem 1

Let the assumptions of given for Theorem 3 of Cavaliere (2003) hold. Moreover, assume that \(\left\{ {\Delta Z_{t} } \right\}\) is strictly stationary with finite fourth moments and that has \(\left\{ {\Delta X_{t} } \right\}\) invertible ARMA representation. If \(p \to \infty\) as \(T \to \infty\) and \(k = o(T^{\gamma } )\), \(0 < \gamma \le 1/2\), then, \(T \uparrow \infty\),

$$ \tau_{M,i} \mathop{\longrightarrow}\limits^{w}\frac{{B_{F} (1)^{2} - B_{F} (0)^{2} - 1}}{{2\left( {\int {B_{F}^{2} (s)ds} } \right)^{1/2} }}, \, i = \mu ,\tau $$
(A.1)
$$ \tau_{M,i} \mathop{\longrightarrow}\limits^{w}\frac{{\int {B_{F} } dW(r)}}{{2\left( {\int {B_{F}^{2} (s)ds} } \right)^{1/2} }}, \, i = \mu ,\tau $$
(A.2)

where \(B_{F} (.)\) is a demeaned and detrended Brownian motion. \(W(r)\) is Brownian motion.

$$ \tau_{M,i} \mathop{\longrightarrow}\limits^{w}\frac{{B_{F} (1)^{2} - B_{F} (0)^{2} - 1}}{{2\left( {\int {B_{F}^{2} (s)ds} } \right)^{1/2} }} = \frac{{(1/2)\left( {B_{F} (1)^{2} - B_{F} (0)^{2} - 1} \right)}}{{\left( {\int {B_{F}^{2} (s)ds} } \right)^{1/2} }} $$

Proof of this theorem directly follows from Cavaliere (2003). As stated in Cavaliere (2003); this theorem, which is based on a recent work by Chang and Park (2002), shows that the presence of a Markov linear trend does not change the asymptotic distribution of the ADF, \(t\)-test provided that \(p\) is chosen properly. However, the assumptions given in Cavaliere (2003) for Theorem 3 need to be strengthened to obtain the convergence given in Eq. (A.1).Footnote 14

Rights and permissions

Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Omay, T., Corakci, A. A Unit Root Test with Markov Switching Deterministic Components: A Special Emphasis on Nonlinear Optimization Algorithms. Comput Econ (2023). https://doi.org/10.1007/s10614-023-10501-4

Download citation

  • Accepted:

  • Published:

  • DOI: https://doi.org/10.1007/s10614-023-10501-4

Keywords

JEL Classification

Navigation