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

st: RE: choosing data


From   "Nick Cox" <[email protected]>
To   <[email protected]>
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
[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/



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