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

st: inner loop


From   "Hans J. Baumgartner" <[email protected]>
To   statalist <[email protected]>
Subject   st: inner loop
Date   Mon, 04 Nov 2002 11:28:09 +0100

Dear statalist,

is it possible to run an inner loop using the for command? I think it is
not possible but could someone point me to a command that allows for
such an inner loop?

What I would like to do is basically the following:

for any a b c: for num 1984/2000: replace z=YX

Many thanks
Hans




-- 
Hans J. Baumgartner 
Deutsches Institut f�r Wirtschaftsforschung (DIW Berlin)
German Institute for Economic Research
Abt. Staat / Dept. Public Sector
K�nigin-Luise-Str. 5; 14195 Berlin (Dahlem) 
Tel.: 030/89789-307; Fax.: 030/89789-114
http://www.diw.de
*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index