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

st: RE: choosing data

From   "Nick Cox" <>
To   <>
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


*   For searches and help try:

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