Switching variable state from exogenous to endogenous

For questions regarding programming in the EViews programming language.

Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt

msz111
Posts: 5
Joined: Mon Mar 07, 2016 7:34 am

Switching variable state from exogenous to endogenous

Postby msz111 » Mon Mar 07, 2016 7:44 am

Hi,

I am writing a model with the debt dynamics equation. The problem I have is that I need the primary balance (PB) to be exogenous up to where data is available and to be determined within the model thereafter. Unfortunately the model-defined rule does not apply to historical data.

Is there any way to force a model to use actual observations when available and turn the variable endogenous after?

Many thanks for your help

Michele

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13604
Joined: Tue Sep 16, 2008 5:38 pm

Re: Switching variable state from exogenous to endogenous

Postby EViews Gareth » Mon Mar 07, 2016 8:46 am

The actexist option on the exclude proc:
http://www.eviews.com/help/helpintro.ht ... 23ww215852

msz111
Posts: 5
Joined: Mon Mar 07, 2016 7:34 am

Re: Switching variable state from exogenous to endogenous

Postby msz111 » Tue Mar 08, 2016 3:15 am

Brilliant, thanks!


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests