Hi there,
I would like to know if it would be possible to change the constant in an unrestricted VAR to a different value prior to performing (dynamic) forecasts?
No other coefficient estimates need to change besides the constant.
Many thanks,
Mara
unrestricted VAR: possible to impose another constant value when forecasting?
Moderators: EViews Gareth, EViews Jason, EViews Moderator, EViews Matt
-
- Posts: 101
- Joined: Tue Jun 29, 2010 7:09 am
-
- EViews Developer
- Posts: 563
- Joined: Thu Apr 25, 2013 7:48 pm
Re: unrestricted VAR: possible to impose another constant value when forecasting?
Hello,
The only way that occurs to me is to 1) create a model object from the estimated VAR, 2) break the link between the model and the VAR, 3) edit the individual equations within the model to replace the constant terms as you see fit, and finally 4) perform the "forecast" as a normal model solve.
The only way that occurs to me is to 1) create a model object from the estimated VAR, 2) break the link between the model and the VAR, 3) edit the individual equations within the model to replace the constant terms as you see fit, and finally 4) perform the "forecast" as a normal model solve.
-
- Posts: 101
- Joined: Tue Jun 29, 2010 7:09 am
Re: unrestricted VAR: possible to impose another constant value when forecasting?
Hello Matt,
Thanks for your prompt reply. Is there a model command I could use to overwrite the constant value? I'll be performing rolling regressions, and I'll like to program the 4 steps you suggest.
Thanks again,
Mara
Thanks for your prompt reply. Is there a model command I could use to overwrite the constant value? I'll be performing rolling regressions, and I'll like to program the 4 steps you suggest.
Thanks again,
Mara
-
- EViews Developer
- Posts: 563
- Joined: Thu Apr 25, 2013 7:48 pm
Re: unrestricted VAR: possible to impose another constant value when forecasting?
Unfortunately, there is not. At that point, the model will contain text specifications for each equation, so you'll be forced to parse each equation as a string and replace the constant term. At least the constant term should always be the very last term, which will make the parsing easier.
-
- Posts: 101
- Joined: Tue Jun 29, 2010 7:09 am
Re: unrestricted VAR: possible to impose another constant value when forecasting?
Thank you! That will do it.
Who is online
Users browsing this forum: Google [Bot] and 29 guests