File Exchange

image thumbnail

Regime Switching Model with Time Varying Transition Probabilities

version 1.6.0.0 (60 KB) by Zhuanxin Ding
Code for estimating a Markov Regime Switching Model with time varying transition probabilities.

40 Downloads

Updated 27 Jun 2018

View License

Editor's Note: Popular File 2014

The MATLAB code presented here is for estimating a Markov Regime Switching Model with time varying transition probabilities. The code is developed by Zhuanxin Ding based on the original code by Marcelo Perlin for estimating a Markov Regime Switching Model with constant transition probability matrix.

Comments and Ratings (7)

Abdul Rauf

fine

freya

freya (view profile)

cym9008

fenhong huang

Georgi

Georgi (view profile)

yan Chen

This looks cool. Thanks for making it available.

Updates

1.6.0.0

Moved the beginning part of the code with nargin from function checkInputs_tvtp() to the beginning of the main function MS_Regress_Fit_tvtp.m. The old code returned error message when the newer (2017 or later) edition of Matlab is used.

1.5.0.0

1) Brett Sumsion of Dupont Capital Management kindly modified Marcelo's c++ filter to be used with the tvtp code here.
2) Added Tomlab optimizer as an alternative optimization tool.

1.2.0.0

Add explanation to the tvtp matrix notation.
Add Tomlab as an alternative for optimization.

MATLAB Release Compatibility
Created with R2018a
Compatible with any release
Platform Compatibility
Windows macOS Linux

MATLAB Online Live Editor Challenge

View the winning live scripts from faculty and students who participated in the recent challenge.

Learn more

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video