three state variance regime switching model

Discussion of models with structural breaks or endogenous switching.
TomDoan
Posts: 7814
Joined: Wed Nov 01, 2006 4:36 pm

Re: three state variance regime switching model

Unread post by TomDoan »

I can't help you fix the problem if I don't understand what the problem is. You wanted to know when the process is in the high variance state. As I said, the Markov process only tells you the probabilities, and if you want a yes or no answer, the best guess is to select the data points where the probability of the high state is >.5. If that's not what you want, then you will have to figure out what it is that you do want.
superper2008
Posts: 32
Joined: Tue Mar 27, 2012 12:48 pm

Re: three state variance regime switching model

Unread post by superper2008 »

Hi Tom,
Sorry not to make my question clear.. I want to select the data points where the probability of the high state is >.5...Could you help me fix the problem please?
Thanks

Regards
TomDoan
Posts: 7814
Joined: Wed Nov 01, 2006 4:36 pm

Re: three state variance regime switching model

Unread post by TomDoan »

As written, the HIGHVAR series has 1's in the entries where the probability of the high-variance state is >.5. What else did you want?
superper2008
Posts: 32
Joined: Tue Mar 27, 2012 12:48 pm

Re: three state variance regime switching model

Unread post by superper2008 »

Hi Tom,

Could I know the probability of variance regimes in each date point? I read a working paper written by Dr. James Hamilton. He also posted his RATs procedures, one of which shows "full sample smoother probabilities". So I am wondering whether I could export the probabilities too. Thanks

Regards
TomDoan
Posts: 7814
Joined: Wed Nov 01, 2006 4:36 pm

Re: three state variance regime switching model

Unread post by TomDoan »

Your standardized returns aren't done right; you want:

set stdu = return/sqrt(variance)
graph(footer="Figure 4.11a Plot of standardized stock returns")
# stdu

HIGHVAR is a 1-0 dummy for the entries where the probability of the high variance state is > .5. If that's not what you want, what do you want?
Post Reply