Bookmark and Share

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: loop


From   Abu Camara <[email protected]>
To   [email protected]
Subject   st: loop
Date   Tue, 22 Oct 2013 11:44:32 +0300

Dear Statalist,

I would like to write the following code in the form of a loop for 50
countries coded from (1 to 50)
instead writing the below code 50 times. Any help would be appreciated.


table indicator2  year, c(mean value), if country==1  & year>=2009 & year<.

-- 
Best Wishes,
Abu Camara
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index