Creating a loop that specifies endogenous variables
Posted: Tue Jan 29, 2013 1:24 pm
I have a model object in a work file. I am trying to create a loop that creates a list of all if the endogenous variables in the model and then creates these variables in the work space. I want all of these variables to contain zeros. This is the code I was using.
Thanks!
Code: Select all
%serieslist = @endoglist("baseline")
for %i {%serieslist}
{%i} = 0
next
Thanks!