On Wed, Jan 23, 2013 at 10:26 PM, Cai,Zhuangyu wrote:
> I have a troubling for selecting subset from one data set which has 1000
> resample data. I want to select one of 1000 resample data each time. I want
> to know if there is method to use loop to select subsets automaticly. Thanks
> for your help.
As you should have read in the Statalist FAQ no attachments are
allowed on Statalist.
In general if you have those in one dataset I would not loop, but use
the -by:- or the -statsby:- prefix commands or a combination of the
two. See: -help by- and -help statsby-
-- Maarten
---------------------------------
Maarten L. Buis
WZB
Reichpietschufer 50
10785 Berlin
Germany
http://www.maartenbuis.nl
---------------------------------
*
* 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/