Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: choosing data


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: choosing data
Date   Tue, 22 Jul 2003 16:42:03 +0100

Rodrigo Briceņo
>
> I'm using stata 7 and I wish to find a simple
> way to do a
> procedure. I have a database with distrits and codes. I
> want to have a list
> that identifies each district with their respective code,
> eliminating all
> the repeated data (according to the rest of the information
> of the database
> there are repeated districts).

I am not clear what your variables are. Perhaps

egen tag = tag(district code)
list district code if tag, noobs

Nick
n.j.cox@durham.ac.uk

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



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index