Hi
I want to estimate a MS model with two states for volatility:
Vol=a*Vol(-1)+e, where a can be high or low depending on the state. See eq1 in the WF
Then I want the transition probabilities to depend on lagged market depth (Depth(-1)). P governs the transition probability during normal time (low a) and Q during stress periods (high a), I want both P and Q to follow a logistic distribution but with different parameters:
P(depth(-1))=[exp(theta0+theta1*depth(-1))/(1+exp(theta0+theta1*depth(-1))]
Q(depth(-1))=[exp(theta2+theta3*depth(-1))/(1+exp(theta2+theta3*depth(-1))]
How do I tell Eviews to use the logistic distribution for the transition probability?
Thanks in advance
Markov Switching model with logistic transition probabilities
Moderators: EViews Gareth, EViews Moderator
-
asbatronic2016
- Posts: 7
- Joined: Thu Nov 10, 2016 2:29 pm
-
EViews Glenn
- EViews Developer
- Posts: 2682
- Joined: Wed Oct 15, 2008 9:17 am
Re: Markov Switching model with logistic transition probabilities
Isn't that what you are estimating in EQ2?
-
asbatronic2016
- Posts: 7
- Joined: Thu Nov 10, 2016 2:29 pm
Re: Markov Switching model with logistic transition probabilities
Yes it is but as far as I understand, in eq2 i am unable to tell Eviews that I use a logistic model for transition probabilities on depth. How do I specify that?
-
startz
- Non-normality and collinearity are NOT problems!
- Posts: 3798
- Joined: Wed Sep 17, 2008 2:25 pm
Re: Markov Switching model with logistic transition probabilities
In the Help system look at Switching Regression/regime probabilities
-
asbatronic2016
- Posts: 7
- Joined: Thu Nov 10, 2016 2:29 pm
Re: Markov Switching model with logistic transition probabilities
Thanks, now I get it. Do you have an idea why I get NA in eq2 when I add a constant?
-
startz
- Non-normality and collinearity are NOT problems!
- Posts: 3798
- Joined: Wed Sep 17, 2008 2:25 pm
Re: Markov Switching model with logistic transition probabilities
I don't get an NA. Is our version of EViews fully uptodate?
-
asbatronic2016
- Posts: 7
- Joined: Thu Nov 10, 2016 2:29 pm
Re: Markov Switching model with logistic transition probabilities
It is Eviews 8, I get NA when I add a constant in the transition prob box to reflect my model.
-
startz
- Non-normality and collinearity are NOT problems!
- Posts: 3798
- Joined: Wed Sep 17, 2008 2:25 pm
Re: Markov Switching model with logistic transition probabilities
I don't know whether the algorithm changed between 8 and 9. Do be sure that you've applied all the updates to 8...just in case.
-
asbatronic2016
- Posts: 7
- Joined: Thu Nov 10, 2016 2:29 pm
Re: Markov Switching model with logistic transition probabilities
Cool, looks like updating to Eview9 solved the problem!
Cheers
Cheers
Who is online
Users browsing this forum: No registered users and 2 guests
