Bookmark and Share

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: elapsed time between incidents


From   David Kantor <[email protected]>
To   [email protected]
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/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index