Statalist


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

RE: st: Efficiently run three loops (or do without them)


From   Roy Wada <roywada@hotmail.com>
To   <statalist@hsphsun2.harvard.edu>
Subject   RE: st: Efficiently run three loops (or do without them)
Date   Mon, 13 Apr 2009 11:54:00 -0700

>
> gen check=1 if fup_pdt>`x' | fup_unit=`Y' | fup_qtycoll`x' & fup_unit=`Y' & fup_qtycoll

where x, y, z are some conditions to be met. Then you would list them, i.e.
 
list fup_pdt fup_unit if check==1

And you'll know they aren't good at all.
 
_________________________________________________________________
Windows Live™: Keep your life in sync.
http://windowslive.com/explore?ocid=TXT_TAGLM_WL_allup_1a_explore_042009
*
*   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