Markov Switching model with logistic transition probabilities

For technical questions regarding estimation of single equations, systems, VARs, Factor analysis and State Space Models in EViews. General econometric questions and advice should go in the Econometric Discussions forum.

Moderators: EViews Gareth, EViews Moderator

asbatronic2016
Posts: 7
Joined: Thu Nov 10, 2016 2:29 pm

Markov Switching model with logistic transition probabilities

Postby asbatronic2016 » Thu Nov 17, 2016 10:59 am

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?
MS_example.WF1
(27.66 KiB) Downloaded 253 times
Thanks in advance

EViews Glenn
EViews Developer
Posts: 2682
Joined: Wed Oct 15, 2008 9:17 am

Re: Markov Switching model with logistic transition probabilities

Postby EViews Glenn » Thu Nov 17, 2016 11:19 am

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

Postby asbatronic2016 » Thu Nov 17, 2016 12:15 pm

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

Postby startz » Thu Nov 17, 2016 12:41 pm

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

Postby asbatronic2016 » Thu Nov 17, 2016 2:19 pm

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

Postby startz » Thu Nov 17, 2016 2:21 pm

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

Postby asbatronic2016 » Thu Nov 17, 2016 2:26 pm

It is Eviews 8, I get NA when I add a constant in the transition prob box to reflect my model.
ms_example (1).wf1
(27.93 KiB) Downloaded 271 times

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

Postby startz » Thu Nov 17, 2016 2:33 pm

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

Postby asbatronic2016 » Thu Nov 17, 2016 2:52 pm

Cool, looks like updating to Eview9 solved the problem!
Cheers


Return to “Estimation”

Who is online

Users browsing this forum: No registered users and 2 guests