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

st: inner loop

From   "Hans J. Baumgartner" <>
To   statalist <>
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 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
*   For searches and help try:

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