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: Identifying unique values within duplicate IDs


From   "Robert G. LaChausse" <[email protected]>
To   [email protected]
Subject   Re: st: Identifying unique values within duplicate IDs
Date   Wed, 27 Mar 2013 13:45:34 -0700

This is easy to do in SPSS.

At 01:33 PM 3/27/2013, you wrote:
Hi all!
I'm dealing with a large dataset that had some errors occur when data were being recorded. Although each ID should only have one record, most of them have two. Anyway, I'm trying to get a list of IDs where the ID variable is a duplicate but the values for a second variable (PHQ9 score) are different within the duplicate ID. Any advice would be greatly appreciated.

Thanks,
Rebecca Sacks
*
*   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/

*********************************************
Robert G. LaChausse, PhD, CHES
Department of Health Science and Human Ecology
California State University, San Bernardino
and Sydney's, Robert Jr.'s. & Hannah Claire's father
PHONE: (909) 537-7229
OFFICE: PS217 (Physical Sciences Building)


*
*   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