Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
st: construct a loop
From
Nikolaos Pandis <[email protected]>
To
[email protected]
Subject
st: construct a loop
Date
Sat, 19 Feb 2011 04:03:40 -0800 (PST)
Hi to all.
I would like to run the following commands using the 4 level varX:
stmh varX,c(1,0)
stmh varX,c(2,0)
stmh varX,c(3,0)
stmh varX,c(2,1)
stmh varX,c(3,1)
stmh varx,c(3,2)
I would grateful if someone would help me construct a loop to run all the above commands.
Many thanks,
Nick
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/