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]
st: drop duplicates within variable with -by- option
From 
 
David Torres <[email protected]> 
To 
 
[email protected] 
Subject 
 
st: drop duplicates within variable with -by- option 
Date 
 
Mon, 16 May 2011 10:36:41 -0400 
I have data in long format and need to drop duplicate observations  
within a variable by ID.  I've looked at the -duplicates- command and  
it doesn't seem to help me get what I want.
Thanks,
Diego
*
*   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/