Page 1 of 1

Conditional statement to update the model

Posted: Tue Mar 12, 2013 12:23 pm
by vedrank
I am trying to use conditional statements to update a model and bring data forward if the data is delayed.

For example, sometimes taxable sales lag behind other variables. If this is the case I want to bring it forward one month before I do the actual forecast of other variable. However, if the data is up to date, I do not want the actual data to be overwritten by a forecast. Any tips on how to do this?

Thanks for your help.

Re: Conditional statement to update the model

Posted: Tue Mar 12, 2013 1:43 pm
by EViews Gareth
I'm not entirely sure I follow what you're saying, but I think, perhaps, you're after the:

Code: Select all

model.exclude(actexist=t)
option.

From the manual:
actexist = arg
arg may be “t” (true) or “f” (false). When true, EViews will
exclude periods for all endogenous variables where values
of the actuals exist.