Skip to main content
Log in

Analytical Derivatives for Markov Switching Models

  • Published:
Computational Economics Aims and scope Submit manuscript


This paper presents analytical gradients for a broad class of regime-switching models with Markovian state-transition probabilities. Such models are usually estimated by maximum likelihood methods, which require the derivatives of the likelihood function with respect to the parameter vector. These gradients are usually calculated by means of numerical techniques. The paper shows that analytical gradients considerably speed up maximum-likelihood estimation.

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.

Similar content being viewed by others


  • Diebold, Francis X., Haeng Lee, Joon and Weinbach, Gretchen C. 1994, Regime switching with time varying transition probabilities, in: Hargreaves C. Nonstationary Time Series Analysis and Cointegration, Oxford University Press, Oxford.

    Google Scholar 

  • Durland, J. Michael and McCurdy, Thomas H. 1994, Duration dependent transitions in a Markov model of US GNP Growth, Journal of Business & Economic Statistics 12 (July): 279–88.

  • Gable, Jeffrey, Norden, Simon van, and Vigfusson, Robert 1995, Analytical derivatives for Markov switching models, Bank of Canada working paper 95-7.

  • Goldfeld, S.M. and Quandt, R.E. 1973, A Markov model for switching regressions, Journal of Econometrics 1: 3–16.

    Google Scholar 

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

    Google Scholar 

  • Hamilton, James D. 1992, Estimation, inference, and forecasting of time series subject to changes in regime, in: Rao, C.R. and Maddala, G.S., Handbook of Statistics, Vol. 11, Elsevier Science Publishers B.V.

  • Hamilton, James D. 1994, Time Series Analysis, Princeton University Press, Princeton.

    Google Scholar 

  • Kim, Chaing-Jin 1994, Dynamic linear models with Markov-switching, Journal of Econometric 60: 1–22.

    Google Scholar 

  • van Norden, Simon and Vigfusson, Robert 1996, Regime-switching models; a guide to the Bank of Canada GAUSS procedures, Bank of Canada, working paper 96-3.

Download references

Author information

Authors and Affiliations


Rights and permissions

Reprints and permissions

About this article

Cite this article

GABLE, J., VAN NORDEN, S. & VIGFUSSON, R. Analytical Derivatives for Markov Switching Models. Computational Economics 10, 187–194 (1997).

Download citation

  • Issue Date:

  • DOI: