Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: Slicing data set


From   "Pedro Martins" <pmrsmartins@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: Slicing data set
Date   Fri, 21 Nov 2008 16:56:40 +0000

Dear all,

I want to save subsets of a large data set into smaller files. Since
<save> doesn't allow for an <if> condition, I'm using a loop include
<preserve> and <restore>. Is there a more time-efficient way of
slicing one's data?

Thank you

Pedro Martins
*
*   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/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index