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.
Conditional statement to update the model
Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13604
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Conditional statement to update the model
I'm not entirely sure I follow what you're saying, but I think, perhaps, you're after the:
option.
From the manual:
Code: Select all
model.exclude(actexist=t)
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.
Who is online
Users browsing this forum: No registered users and 1 guest
