Initialzing Add-Factors so no residuals at actives

For technical support, tips and tricks, suggestions, or any other information regarding the EViews model object.

Moderators: EViews Gareth, EViews Moderator, EViews Chris

SamChampanhet
Posts: 13
Joined: Thu Feb 05, 2015 8:56 am

Initialzing Add-Factors so no residuals at actives

Postby SamChampanhet » Wed May 25, 2016 5:55 am

Hi,
I have a model with endogenous variables for which I have actuals until 2014 and 2015.
I used the following command to assign and initialize add-factors:

smpl @all
m_detconsr_{%cty}.scenario "baseline"
m_detconsr_{%cty}.addassign(v) @all
m_detconsr_{%cty}.addinit(v=n) @all

However, for the endogeneous variables for which I have actual values until 2015, add-factors for 2015 are set as NA and the model solves for 2015 (although).
I have tried to initialize the add-factors within the model object and that doesn't seem to work either....Any idea of what's going on? I can provide the workfile by email if necessary.

Thanks a lot in advance for your help!

Best,

Sam

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

Re: Initialzing Add-Factors so no residuals at actives

Postby EViews Gareth » Wed May 25, 2016 6:07 am

We'd need to see the workfile. A test case produces values for the add-factors over values for which the endogenous exists:

Code: Select all

create m 1990 2000
smpl 1990 1998
series y=nrnd
series x=nrnd
equation eq1.ls y c x
eq1.makemodel(m)
smpl @all

m.scenario "baseline"
m.addassign(v) @all
m.addinit(v=n) @all
show y_a
Follow us on Twitter @IHSEViews

SamChampanhet
Posts: 13
Joined: Thu Feb 05, 2015 8:56 am

Re: Initialzing Add-Factors so no residuals at actives

Postby SamChampanhet » Wed May 25, 2016 7:41 am

Thanks Gareth! I'll send the workfile and the program (work in progress) to support@eviews.com with reference to this post.


Return to “Models”

Who is online

Users browsing this forum: No registered users and 1 guest