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 Paneldata
From 
 
Steven Archambault <[email protected]> 
To 
 
[email protected] 
Subject 
 
Re: st: Elapsed Time Paneldata 
Date 
 
Sun, 20 Jan 2013 10:41:56 -0700 
Thanks so much. I spent hours trying to figure this out. I need to
improve my programming skills. If you can recommend a Stata training
session, or other resources, please do.
On Sun, Jan 20, 2013 at 4:45 AM, Nick Cox <[email protected]> wrote:
> bysort newid (date) : gen elapsed = date - date[1]
*
*   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/