Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Problems with program


From   "Andrea Molinari" <A.Molinari@sussex.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: Problems with program
Date   Wed, 17 Aug 2005 15:39:42 +0100

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?

Many thanks!
Andrea

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index