[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
this is in continuation of my problem of generating number series.
can i run a a loop like the following in STATA:
for city = 1 to 2
for house = 1 to 40
for sample = 1 to 5
gen code = string(city)+string(house)+string(sample)
i know this is not STATA syntax but i am trying to express the problem intuitively.
MS-Epi IDP, Graduate Research Assistant,
College of Public Health
University of Arizona
* For searches and help try:
- Re: st: loop
- From: Ulrich Kohler <email@example.com>