three state variance regime switching model
Re: three state variance regime switching model
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
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
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
Re: three state variance regime switching model
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
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
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
Re: three state variance regime switching model
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?
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?