Dear all,
I am trying to build a program to estimate the same procedure but with
seven (slightly) different sets of data. For this, I'm using the forvalues
loop with seven locals, but this stops if there is a program (which also
uses those seven sets of data) inside the loop.
I tried putting the programs outside the loop, and 'call' it inside the
loop, but in that case the program does not recognise the locals of the
loop.
Does anyone have any suggestions for solving this problem?
It would help to see some of your code, but one possibility might be to use
global variables instead of local variables.