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. 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.
    2. 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.
    3. 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.
    4. 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.
    5. 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.
    6. 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.
    7. 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.
    8. 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.
    9. Dr. 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.
    10. 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.
    11. 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.
    12. Gary Koop & Simon M. Potter, 2007. "Estimation and Forecasting in Models with Multiple Breaks," The Review of Economic Studies, Review of Economic Studies Ltd, vol. 74(3), pages 763-789.
    13. 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.
    14. 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.
    15. Franc Klaassen, 2002. "Improving GARCH volatility forecasts with regime-switching GARCH," Empirical Economics, Springer, vol. 27(2), pages 363-394.
    16. Robert E. McCulloch & Ruey S. Tsay, 1994. "Statistical Analysis Of Economic Time Series Via Markov Switching Models," Journal of Time Series Analysis, Wiley Blackwell, vol. 15(5), pages 523-539, September.
    17. 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.
    18. 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.
    19. 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.
    20. 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.
    21. 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.
    22. 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.
    23. 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.
    24. Troy Davig & Eric M. Leeper, 2007. "Generalizing the Taylor Principle," American Economic Review, American Economic Association, vol. 97(3), pages 607-635, June.
    25. 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.
    26. 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.
    27. 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.
    28. 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.
    29. 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.
    30. James D. Hamilton & Michael T. Owyang, 2012. "The Propagation of Regional Recessions," The Review of Economics and Statistics, MIT Press, vol. 94(4), pages 935-947, November.
    31. 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.
    32. 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.
    33. Francq, C. & Zakoian, J. -M., 2001. "Stationarity of multivariate Markov-switching ARMA models," Journal of Econometrics, Elsevier, vol. 102(2), pages 339-364, June.
    34. Filardo, Andrew J. & Gordon, Stephen F., 1998. "Business cycle durations," Journal of Econometrics, Elsevier, vol. 85(1), pages 99-123, July.
    35. 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.
    36. 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.
    37. 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.
    38. 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.
    39. 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.
    40. Goldfeld, Stephen M. & Quandt, Richard E., 1973. "A Markov model for switching regressions," Journal of Econometrics, Elsevier, vol. 1(1), pages 3-15, March.
    41. 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.
    42. 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.
    43. 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.
    44. Hamilton, James D., 1990. "Analysis of time series subject to changes in regime," Journal of Econometrics, Elsevier, vol. 45(1-2), pages 39-70.
    45. 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.
    46. Chib, Siddhartha, 1998. "Estimation and comparison of multiple change-point models," Journal of Econometrics, Elsevier, vol. 86(2), pages 221-241, June.
    47. Chib, Siddhartha, 1996. "Calculating posterior distributions and modal estimates in Markov mixture models," Journal of Econometrics, Elsevier, vol. 75(1), pages 79-97, November.
    48. 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.
    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. 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.
    3. Sylvia Kaufmann, 2011. "K-state switching models with endogenous transition distributions," Working Papers 2011-13, Swiss National Bank.
    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. 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.
    7. 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.
    8. repec:onb:oenbwp:y::i:144:b:1 is not listed on IDEAS
    9. Chung-Ming Kuan, 2013. "Markov switching model (in Russian)," Quantile, Quantile, issue 11, pages 13-40, December.
    10. 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.
    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. 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.
    13. 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.
    14. 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.
    15. Cruz-Rodríguez, Alexis, 2004. "Un análisis del ciclo económico de la República Dominicana bajo cambios de régimen [Analysis of business cycle of the Dominican Republic using Markov Switching model]," MPRA Paper 54352, University Library of Munich, Germany.
    16. Paroli, Roberta & Spezia, Luigi, 2008. "Bayesian inference in non-homogeneous Markov mixtures of periodic autoregressions with state-dependent exogenous variables," Computational Statistics & Data Analysis, Elsevier, vol. 52(5), pages 2311-2330, January.
    17. Barthélemy, Jean & Marx, Magali, 2017. "Solving endogenous regime switching models," Journal of Economic Dynamics and Control, Elsevier, vol. 77(C), pages 1-25.
    18. Masaru Chiba, 2023. "Robust and efficient specification tests in Markov-switching autoregressive models," Statistical Inference for Stochastic Processes, Springer, vol. 26(1), pages 99-137, April.
    19. 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.
    20. 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.
    21. Nan Li & Simon S. Kwok, 2021. "Jointly determining the state dimension and lag order for Markov‐switching vector autoregressive models," Journal of Time Series Analysis, Wiley Blackwell, vol. 42(4), pages 471-491, July.

    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.

    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. RePEc uses bibliographic data supplied by the respective publishers.