Page 1 of 1

Initialzing Add-Factors so no residuals at actives

Posted: Wed May 25, 2016 5:55 am
by SamChampanhet
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

Re: Initialzing Add-Factors so no residuals at actives

Posted: Wed May 25, 2016 6:07 am
by EViews Gareth
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

Re: Initialzing Add-Factors so no residuals at actives

Posted: Wed May 25, 2016 7:41 am
by SamChampanhet
Thanks Gareth! I'll send the workfile and the program (work in progress) to support@eviews.com with reference to this post.