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]
Re: st: Select subset.
From
Maarten Buis <[email protected]>
To
[email protected]
Subject
Re: st: Select subset.
Date
Thu, 24 Jan 2013 09:53:16 +0100
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/