Estimation of Markov Switching Models should be included in future releases of EViews.
fxms
Markov Switching Models
Moderators: EViews Gareth, EViews Moderator
Re: Markov Switching Models
I strongly agree with that. Markov Switching Models have become the standard technique in most econometric researches.
Re: Markov Switching Models
I also recommend to include markov switching procedures.
Re: Markov Switching Models
I agree! Nowadays I use EViews to most of my problems, but old routines for OxMetrics to estimate MSM.
Re: Markov Switching Models
Markov Switching is still missing. Am I right? Can anyone help me programming a rolling regression with a markovswitching vector error correction model. I don't want to wait for another period of 3 years.

 Posts: 2
 Joined: Mon Oct 10, 2011 7:08 am
Re: Markov Switching Models
oek_stat wrote:Markov Switching is still missing. Am I right?
Looks like it. Maybe anyone more programming experience will help you. And i"d like to have a look too.
Gsm Repeater Is Useful Device For All Houses
Dropped calls. Gsm Repeater Is Safe For Our Health.
Last edited by Zeittriven on Sat Dec 20, 2014 8:06 am, edited 1 time in total.

 Posts: 2
 Joined: Fri May 25, 2012 4:20 am
Re: Markov Switching Models
Still looks like a good idea  anything on the way?
Re: Markov Switching Models
In a paper on currency crises an IMF economist Abdul De Guia Abiad used a Markov Switching Model in Eviews. The author wrote a code for estimating such models. When I asked him, he was kind enough to give it to me. His contact details can be found on the IMF website.
Re: Markov Switching Models
There is also some markov switching model code in in a recent text by Carol Alexander. You can find code for this on the CD accompanying the following book (which I recommend btw):
I haven't looked at it in a while but I believe it is programmed using maximum likelihood. That might sound scary at first but I think EViews log likelihood object is fairly easy to learn by reading the example code. You just have to make sure you are specifying the liklihood function properly.
I programmed some basic deterministic regime switching GARCH models in EViews, but have not attempted markov switching models.
The EViews documentaion suggests, and I tend to agree, that the EViews State Space object can be used to facilitate the estimation of such models. That is one of those things on my list to try at some point but I haven't gotten there yet.
Note, I believe there are also Markov Switching implementations available in R. Therefore, it would be very easy to port between the two programs. Personally, I like to use R from EViews. You just send it the data you want it to analyze and specify what you want to be done (based on which functions you are running) and then just pull the data back into the friendly environment of EViews for further analysis.
If you have a recent version of EViews, the programming to make EViews talk to R is very easy. You can cut and paste and then adapt to your needs. I do this often with Matlab as well. But R is free and the statcomm program is also free. The setup is all in the documentation.
Alexander, C. (2008) Market Risk Analysis, Volume II Practical Financial Econometrics, John Wiley and Sons Ltd.
I haven't looked at it in a while but I believe it is programmed using maximum likelihood. That might sound scary at first but I think EViews log likelihood object is fairly easy to learn by reading the example code. You just have to make sure you are specifying the liklihood function properly.
I programmed some basic deterministic regime switching GARCH models in EViews, but have not attempted markov switching models.
The EViews documentaion suggests, and I tend to agree, that the EViews State Space object can be used to facilitate the estimation of such models. That is one of those things on my list to try at some point but I haven't gotten there yet.
Note, I believe there are also Markov Switching implementations available in R. Therefore, it would be very easy to port between the two programs. Personally, I like to use R from EViews. You just send it the data you want it to analyze and specify what you want to be done (based on which functions you are running) and then just pull the data back into the friendly environment of EViews for further analysis.
If you have a recent version of EViews, the programming to make EViews talk to R is very easy. You can cut and paste and then adapt to your needs. I do this often with Matlab as well. But R is free and the statcomm program is also free. The setup is all in the documentation.
Return to “Suggestions and Requests”
Who is online
Users browsing this forum: No registered users and 11 guests