Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | David Kantor <kantor.d@att.net> |
To | statalist@hsphsun2.harvard.edu |
Subject | Re: st: elapsed time between incidents |
Date | Tue, 19 Feb 2013 16:15:55 -0500 |
OOPS. In my previous message, I hastily wrote by id (day): replace pday = pday[_n-1] if mi(pday) & _N>1 Change that to by id (day): replace pday = pday[_n-1] if mi(pday) & _n>1 (lower-case n). --David * * 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/