I'm looking for a good way to
1) set a group of add factors so "that equation has no residuals at actuals"
2) make it so that the add factors for the sample are equal to the add factors that were in effect for a certain period. for example, if the add factor for GDP in 2019q3 was -2, I want to quickly (ie automatically via a program) make the add factor equal to -2 over the entire forecast period.
Any ideas?
good way to batch set add factors
Moderators: EViews Gareth, EViews Moderator
-
- EViews Developer
- Posts: 563
- Joined: Thu Apr 25, 2013 7:48 pm
Re: good way to batch set add factors
Hello,
1) Take a look at the model object's addinit procedure.
2) For a single variable, something like the following will work. Introducing a loop will let you handle multiple add factors.
1) Take a look at the model object's addinit procedure.
2) For a single variable, something like the following will work. Introducing a loop will let you handle multiple add factors.
Code: Select all
!fill_value = GDP_A(@dtoo("2019q3"))
smpl 2019q4 @last ' Replace with your forecast sample
GDP_A = !fill_value
Who is online
Users browsing this forum: No registered users and 16 guests