Rank: 60126 based on 0 downloads (last 30 days) and 0 files submitted
photo

Ansgar Walther

E-mail
Company/University
Cambridge University

Personal Profile:
Professional Interests:
Economics, Finance

 

Watch this Author's files

 

Comments and Ratings by Ansgar
Updated File Comments Rating
25 Feb 2010 MS_Regress - A Package for Markov Regime Switching Models in Matlab Functions to Estimate, Simulate and Forecast Markov Regime Switching Models in Matlab Author: Marcelo Perlin

Hi Marcelo,

I've been trying to extend your code to include time-varying transition probabilities. I think I've got it to work, which mainly involved a few changes to the coefficient structure and the Hamilton filter in the MS_Regress_Lik file. The only odd thing is that fmincon converges to local maxima that don't make sense, so I've used fminsearch instead.

It would be great if you could have a look at it to see whether what I've done makes any sense. Drop me an email (aw452@cam.ac.uk) if you're up for it.

Cheers,

Ansgar Walther

Contact us at files@mathworks.com