Is there any way to restrict coefficients in different regimes? I've only been able to restrict transition probabilities as it is.
In my case I'm estimating a simple 3 regime markov process with only the dependant variable and a constant (switchreg y c - i.e. no exogenous regressors or AR terms). I would like to identify an extreme regime with positive returns and high volatility (for instance restrict regime 3 to be positive and have higher variance than regime 1 and 2), but since I'm running a program with many loops, the regime may switch places. And it's very cumbersome to go through them one by one.
Parameter restrictions in Switching Regressions
Moderators: EViews Gareth, EViews Moderator
-
Thomasms90
- Posts: 15
- Joined: Wed Mar 20, 2013 7:14 am
-
EViews Glenn
- EViews Developer
- Posts: 2682
- Joined: Wed Oct 15, 2008 9:17 am
Re: Parameter restrictions in Switching Regressions
Unfortunately not.
It's an interesting idea. I'd have to think about how one might implement the restriction, both in terms of interface, and internally.
It's an interesting idea. I'd have to think about how one might implement the restriction, both in terms of interface, and internally.
-
Thomasms90
- Posts: 15
- Joined: Wed Mar 20, 2013 7:14 am
Re: Parameter restrictions in Switching Regressions
Alright. Was just in case there was a way to do it.
I'll manage without, no problem :-)
I'll manage without, no problem :-)
Re: Parameter restrictions in Switching Regressions
I'm trying to do the same.
How did you work around this issue, Thomasms90?
How did you work around this issue, Thomasms90?
-
Thomasms90
- Posts: 15
- Joined: Wed Mar 20, 2013 7:14 am
Re: Parameter restrictions in Switching Regressions
I wrote a bunch of if's to compare the regimes and correctly classify them in a table, then used that table for lookups.
Re: Parameter restrictions in Switching Regressions
Thank you for such a prompt reply and your idea. I will do like you and use an IF.
I will use the IF to compare the coefficients, since I know a certain coefficient has to be higher in one regime than the other at all times.
I will use the IF to compare the coefficients, since I know a certain coefficient has to be higher in one regime than the other at all times.
Who is online
Users browsing this forum: No registered users and 2 guests
