Kompal Sinha
>
> I have household level data in following format:
> HHID var1 var2
> 1 5 6
> 1 5 6
> 1 5 6
> 2 5 7
> 2 5 7
> 4 9 6
>
> I want it in the following format now:
> HHID var1 var2
> 1 5 6
> 2 5 7
> 4 9 6
>
> How can I retain observations with unique HHID????
>
In addition to several specific suggestions,
see the FAQ
How do I identify duplicate observations in my data?
http://www.stata.com/support/faqs/data/dups.html
and type
. findit duplicates
to identify various canned programs, including
-dups-.
Nick
[email protected]
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/