IDEAS home Printed from https://ideas.repec.org/p/szg/worpap/1606.html
   My bibliography  Save this paper

Hidden Markov models in time series, with applications in economics

Author

Abstract

Markov models introduce persistence in the mixture distribution. In time series analysis, the mixture components relate to different persistent states characterizing the state-specific time series process. Model specification is discussed in a general form. Emphasis is put on the functional form and the parametrization of timeinvariant and time-varying specifications of the state transition distribution. The concept of mean-square stability is introduced to discuss the condition under which Markov switching processes have finite first and second moments in the indefinite future. Not surprisingly, a time series process may be mean-square stable even if it switches between bounded and unbounded state-specific processes. Surprisingly, switching between stable state-specific processes is neither necessary nor sufficient to obtain a mean-square stable time series process. Model estimation proceeds by data augmentation. We derive the basic forward-filtering backward-smoothing/sampling algorithm to infer on the latent state indicator in maximum likelihood and Bayesian estimation procedures. Emphasis is again laid on the state transition distribution. We discuss the specification of state-invariant prior parameter distributions and posterior parameter inference under either a logit or probit functional form of the state transition distribution. With simulated data, we show that the estimation of parameters under a probit functional form is more efficient. However, a probit functional form renders estimation extremely slow if more than two states drive the time series process. Finally, various applications illustrate how to obtain informative switching in Markov switching models with time-invariant and time-varying transition distributions.

Suggested Citation

  • Sylvia Kaufmann, 2016. "Hidden Markov models in time series, with applications in economics," Working Papers 16.06, Swiss National Bank, Study Center Gerzensee.
  • Handle: RePEc:szg:worpap:1606
    as

    Download full text from publisher

    File URL: http://www.szgerzensee.ch/fileadmin/Dateien_Anwender/Dokumente/working_papers/wp-1606.pdf
    File Function: Full text
    Download Restriction: None
    ---><---

    References listed on IDEAS

    as
    1. Francq, C. & Zakoian, J. -M., 2001. "Stationarity of multivariate Markov-switching ARMA models," Journal of Econometrics, Elsevier, vol. 102(2), pages 339-364, June.
    2. Filardo, Andrew J. & Gordon, Stephen F., 1998. "Business cycle durations," Journal of Econometrics, Elsevier, vol. 85(1), pages 99-123, July.
    3. Phillips, Kerk L., 1991. "A two-country model of stochastic output with changes in regime," Journal of International Economics, Elsevier, vol. 31(1-2), pages 121-142, August.
    4. Andrew Foerster & Juan F. Rubio‐Ramírez & Daniel F. Waggoner & Tao Zha, 2016. "Perturbation methods for Markov‐switching dynamic stochastic general equilibrium models," Quantitative Economics, Econometric Society, vol. 7(2), pages 637-669, July.
    5. Hansen, Bruce E, 1992. "The Likelihood Ratio Test under Nonstandard Conditions: Testing the Markov Switching Model of GNP," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 7(S), pages 61-82, Suppl. De.
    6. Luc Bauwens & Michel Lubrano, 1998. "Bayesian inference on GARCH models using the Gibbs sampler," Econometrics Journal, Royal Economic Society, vol. 1(Conferenc), pages 23-46.
    7. Troy Davig & Eric M. Leeper, 2007. "Generalizing the Taylor Principle," American Economic Review, American Economic Association, vol. 97(3), pages 607-635, June.
    8. Luc Bauwens & Gary Koop & Dimitris Korobilis & Jeroen V.K. Rombouts, 2015. "The Contribution of Structural Break Models to Forecasting Macroeconomic Series," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 30(4), pages 596-620, June.
    9. Morten O. Ravn & Zacharias Psaradakis & Martin Sola, 2005. "Markov switching causality and the money-output relationship," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 20(5), pages 665-683.
    10. Paap, Richard & Segers, Rene & van Dijk, Dick, 2009. "Do Leading Indicators Lead Peaks More Than Troughs?," Journal of Business & Economic Statistics, American Statistical Association, vol. 27(4), pages 528-543.
    11. Gaggl, Paul & Kaufmann, Sylvia, 2020. "The cyclical component of labor market polarization and jobless recoveries in the US," Journal of Monetary Economics, Elsevier, vol. 116(C), pages 334-347.
    12. Sylvia Kaufmann & Peter Kugler, 2010. "A monetary real-time conditional forecast of euro area inflation," Journal of Forecasting, John Wiley & Sons, Ltd., vol. 29(4), pages 388-405.
    13. John Geweke & Gianni Amisano, 2011. "Hierarchical Markov normal mixture models with applications to financial asset returns," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 26(1), pages 1-29, January/F.
    14. Greene, William H. & Hensher, David A., 2003. "A latent class model for discrete choice analysis: contrasts with mixed logit," Transportation Research Part B: Methodological, Elsevier, vol. 37(8), pages 681-698, September.
    15. Michael T. Owyang & Jeremy Piger & Howard J. Wall, 2015. "Forecasting National Recessions Using State‐Level Data," Journal of Money, Credit and Banking, Blackwell Publishing, vol. 47(5), pages 847-866, August.
    16. Sims, Christopher A. & Waggoner, Daniel F. & Zha, Tao, 2008. "Methods for inference in large multiple-equation Markov-switching models," Journal of Econometrics, Elsevier, vol. 146(2), pages 255-274, October.
    17. Geweke, John & Keane, Michael P & Runkle, David, 1994. "Alternative Computational Approaches to Inference in the Multinomial Probit Model," The Review of Economics and Statistics, MIT Press, vol. 76(4), pages 609-632, November.
    18. Chauvet, Marcelle & Piger, Jeremy, 2008. "A Comparison of the Real-Time Performance of Business Cycle Dating Methods," Journal of Business & Economic Statistics, American Statistical Association, vol. 26, pages 42-49, January.
    19. Billio Monica & Casarin Roberto, 2011. "Beta Autoregressive Transition Markov-Switching Models for Business Cycle Analysis," Studies in Nonlinear Dynamics & Econometrics, De Gruyter, vol. 15(4), pages 1-32, September.
    20. Goldfeld, Stephen M. & Quandt, Richard E., 1973. "A Markov model for switching regressions," Journal of Econometrics, Elsevier, vol. 1(1), pages 3-15, March.
    21. McCulloch, Robert E. & Polson, Nicholas G. & Rossi, Peter E., 2000. "A Bayesian analysis of the multinomial probit model with fully identified parameters," Journal of Econometrics, Elsevier, vol. 99(1), pages 173-193, November.
    22. Sylvia Kaufmann, 2010. "Dating and forecasting turning points by Bayesian clustering with dynamic structure: a suggestion with an application to Austrian data," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 25(2), pages 309-344.
    23. Fruhwirth-Schnatter, Sylvia & Fruhwirth, Rudolf, 2007. "Auxiliary mixture sampling with applications to logistic models," Computational Statistics & Data Analysis, Elsevier, vol. 51(7), pages 3509-3528, April.
    24. Gregor Bäurle & Daniel Kaufmann & Sylvia Kaufmann & Rodney W. Strachan, 2016. "Changing dynamics at the zero lower bound," Working Papers 2016-16, Swiss National Bank.
    25. Kaufmann, Sylvia, 2015. "K-state switching models with time-varying transition distributions—Does loan growth signal stronger effects of variables on inflation?," Journal of Econometrics, Elsevier, vol. 187(1), pages 82-94.
    26. William H. Greene & David A. Hensher, 2013. "Revealing additional dimensions of preference heterogeneity in a latent class mixed multinomial logit model," Applied Economics, Taylor & Francis Journals, vol. 45(14), pages 1897-1902, May.
    27. Chang-Jin Kim & Charles R. Nelson, 1998. "Business Cycle Turning Points, A New Coincident Index, And Tests Of Duration Dependence Based On A Dynamic Factor Model With Regime Switching," The Review of Economics and Statistics, MIT Press, vol. 80(2), pages 188-201, May.
    28. Jushan Bai & Peng Wang, 2011. "Conditional Markov chain and its application in economic time series analysis," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 26(5), pages 715-734, August.
    29. Luc Bauwens & Gary Koop & Dimitris Korobilis & Jeroen V.K. Rombouts, 2015. "The Contribution of Structural Break Models to Forecasting Macroeconomic Series," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 30(4), pages 596-620, June.
    30. Gary Koop & Simon M. Potter, 2007. "Estimation and Forecasting in Models with Multiple Breaks," Review of Economic Studies, Oxford University Press, vol. 74(3), pages 763-789.
    31. Sylvia Fruhwirth-Schnatter, 2004. "Estimating marginal likelihoods for mixture and Markov switching models using bridge sampling techniques," Econometrics Journal, Royal Economic Society, vol. 7(1), pages 143-167, June.
    32. Farmer, Roger E.A. & Waggoner, Daniel F. & Zha, Tao, 2011. "Minimal state variable solutions to Markov-switching rational expectations models," Journal of Economic Dynamics and Control, Elsevier, vol. 35(12), pages 2150-2166.
    33. Franc Klaassen, 2002. "Improving GARCH volatility forecasts with regime-switching GARCH," Empirical Economics, Springer, vol. 27(2), pages 363-394.
    34. Hamilton, James D., 1990. "Analysis of time series subject to changes in regime," Journal of Econometrics, Elsevier, vol. 45(1-2), pages 39-70.
    35. Clements, Michael P & Krolzig, Hans-Martin, 2003. "Business Cycle Asymmetries: Characterization and Testing Based on Markov-Switching Autoregressions," Journal of Business & Economic Statistics, American Statistical Association, vol. 21(1), pages 196-211, January.
    36. Graham Elliott & Allan Timmermann, 2005. "Optimal Forecast Combination Under Regime Switching ," International Economic Review, Department of Economics, University of Pennsylvania and Osaka University Institute of Social and Economic Research Association, vol. 46(4), pages 1081-1102, November.
    37. Chib, Siddhartha, 1998. "Estimation and comparison of multiple change-point models," Journal of Econometrics, Elsevier, vol. 86(2), pages 221-241, June.
    38. Imai, Kosuke & van Dyk, David A., 2005. "A Bayesian analysis of the multinomial probit model using marginal data augmentation," Journal of Econometrics, Elsevier, vol. 124(2), pages 311-334, February.
    39. Sylvia Frühwirth‐Schnatter & Sylvia Kaufmann, 2006. "How do changes in monetary policy affect bank lending? An analysis of Austrian bank data," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 21(3), pages 275-305, April.
    40. Chib, Siddhartha, 1996. "Calculating posterior distributions and modal estimates in Markov mixture models," Journal of Econometrics, Elsevier, vol. 75(1), pages 79-97, November.
    41. Michael Artis & Massimiliano Marcellino & Tommaso Proietti, 2004. "Dating Business Cycles: A Methodological Contribution with an Application to the Euro Area," Oxford Bulletin of Economics and Statistics, Department of Economics, University of Oxford, vol. 66(4), pages 537-565, September.
    42. Massimiliano Marcellino & Grayham E. Mizon & Hans-Martin Krolzig, 2002. "A Markov-switching vector equilibrium correction model of the UK labour market," Empirical Economics, Springer, vol. 27(2), pages 233-254.
    43. Hamilton, James D, 1989. "A New Approach to the Economic Analysis of Nonstationary Time Series and the Business Cycle," Econometrica, Econometric Society, vol. 57(2), pages 357-384, March.
    44. Steven Scott, 2011. "Data augmentation, frequentist estimation, and the Bayesian analysis of multinomial logit models," Statistical Papers, Springer, vol. 52(1), pages 87-109, February.
    45. Filardo, Andrew J, 1994. "Business-Cycle Phases and Their Transitional Dynamics," Journal of Business & Economic Statistics, American Statistical Association, vol. 12(3), pages 299-308, July.
    46. Bauwens, Luc & De Backer, Bruno & Dufays, Arnaud, 2014. "A Bayesian method of change-point estimation with recurrent regimes: Application to GARCH models," Journal of Empirical Finance, Elsevier, vol. 29(C), pages 207-229.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Sylvia Kaufmann, 2014. "K-state switching models with time-varying transition distributions – Does credit growth signal stronger effects of variables on inflation?," Working Papers 14.04, Swiss National Bank, Study Center Gerzensee.
    2. Sylvia Kaufmann, 2010. "Dating and forecasting turning points by Bayesian clustering with dynamic structure: a suggestion with an application to Austrian data," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 25(2), pages 309-344.
    3. Kaufmann, Sylvia, 2015. "K-state switching models with time-varying transition distributions—Does loan growth signal stronger effects of variables on inflation?," Journal of Econometrics, Elsevier, vol. 187(1), pages 82-94.
    4. Yong Song & Tomasz Wo'zniak, 2020. "Markov Switching," Papers 2002.03598, arXiv.org.
    5. Hamilton, J.D., 2016. "Macroeconomic Regimes and Regime Shifts," Handbook of Macroeconomics, in: J. B. Taylor & Harald Uhlig (ed.), Handbook of Macroeconomics, edition 1, volume 2, chapter 0, pages 163-201, Elsevier.
    6. Xiong, Yingge & Tobias, Justin L. & Mannering, Fred L., 2014. "The analysis of vehicle crash injury-severity data: A Markov switching approach with road-segment heterogeneity," Transportation Research Part B: Methodological, Elsevier, vol. 67(C), pages 109-128.
    7. Balcilar, Mehmet & Hammoudeh, Shawkat & Asaba, Nwin-Anefo Fru, 2015. "A regime-dependent assessment of the information transmission dynamics between oil prices, precious metal prices and exchange rates," International Review of Economics & Finance, Elsevier, vol. 40(C), pages 72-89.
    8. Chevallier, Julien, 2011. "Evaluating the carbon-macroeconomy relationship: Evidence from threshold vector error-correction and Markov-switching VAR models," Economic Modelling, Elsevier, vol. 28(6), pages 2634-2656.
    9. Balcilar, Mehmet & Gupta, Rangan & Miller, Stephen M., 2015. "Regime switching model of US crude oil and stock market prices: 1859 to 2013," Energy Economics, Elsevier, vol. 49(C), pages 317-327.
    10. Sylvia Kaufmann, 2011. "K-state switching models with endogenous transition distributions," Working Papers 2011-13, Swiss National Bank.
    11. Bauwens, Luc & De Backer, Bruno & Dufays, Arnaud, 2014. "A Bayesian method of change-point estimation with recurrent regimes: Application to GARCH models," Journal of Empirical Finance, Elsevier, vol. 29(C), pages 207-229.
    12. Chung-Ming Kuan, 2013. "Markov switching model (in Russian)," Quantile, Quantile, issue 11, pages 13-40, December.
    13. Billio, Monica & Casarin, Roberto & Ravazzolo, Francesco & van Dijk, Herman K., 2012. "Combination schemes for turning point predictions," The Quarterly Review of Economics and Finance, Elsevier, vol. 52(4), pages 402-412.
    14. Olivier Darné & Laurent Ferrara, 2011. "Identification of Slowdowns and Accelerations for the Euro Area Economy," Oxford Bulletin of Economics and Statistics, Department of Economics, University of Oxford, vol. 73(3), pages 335-364, June.
    15. Bianchi, Francesco, 2016. "Methods for measuring expectations and uncertainty in Markov-switching models," Journal of Econometrics, Elsevier, vol. 190(1), pages 79-99.
    16. Fiorentini, Gabriele & Planas, Christophe & Rossi, Alessandro, 2016. "Skewness and kurtosis of multivariate Markov-switching processes," Computational Statistics & Data Analysis, Elsevier, vol. 100(C), pages 153-159.
    17. Dufays, Arnaud & Rombouts, Jeroen V.K., 2020. "Relevant parameter changes in structural break models," Journal of Econometrics, Elsevier, vol. 217(1), pages 46-78.
    18. Mehmet Balcilar & Rangan Gupta & Anandamayee Majumdar & Stephen M. Miller, 2012. "Was the Recent Downturn in US GDP Predictable?," Working Papers 1210, University of Nevada, Las Vegas , Department of Economics.
    19. Fisher, Mark & Jensen, Mark J., 2019. "Bayesian inference and prediction of a multiple-change-point panel model with nonparametric priors," Journal of Econometrics, Elsevier, vol. 210(1), pages 187-202.
    20. Guérin, Pierre & Leiva-Leon, Danilo, 2017. "Model averaging in Markov-switching models: Predicting national recessions with regional data," Economics Letters, Elsevier, vol. 157(C), pages 45-49.

    More about this item

    NEP fields

    This paper has been announced in the following NEP Reports:

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:szg:worpap:1606. See general information about how to correct material in RePEc.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: . General contact details of provider: https://szgerzensee.ch/ .

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: library (email available below). General contact details of provider: https://szgerzensee.ch/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service hosted by the Research Division of the Federal Reserve Bank of St. Louis . RePEc uses bibliographic data supplied by the respective publishers.