Hi Richard,
Thank you for your reply. Aldo I don't think save allows an if but I
think -help outsheet- does allow an if.
Thank you,
Ashim
On Fri, Dec 26, 2008 at 10:50 AM, Richard J Stoll <[email protected]> wrote:
> You can specify an if condition with the -use- command, i.e.,
>
> use hugefruitbasket if(symbol == "apple")
>
> That will read only the cases where symbol is "apple." Obviously you can
> put this into a foreach loop.
>
> HTH
> ------------------------------------------------------------------------
> Richard J. Stoll * Professor of Political Science * Rice University
> Dept. Political Science MS 24 * P.O. Box 1892 * Houston TX 77251-1892
> E-mail: [email protected] * Tel: 713-348-3362 * FAX: 713-348-5273
>
> *
> * 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/
>
*
* 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/