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

st: how to flag up obs that are the reverse of other obs?


From   "Ada Ma" <Pelikan_4001@hotmail.com>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: how to flag up obs that are the reverse of other obs?
Date   Wed, 26 Feb 2003 22:02:28 -0000

I want to know how to drop some observations.  For example I have the
following data, the numbers are identifiers:

Original        Fake
1                    23
14                   235
35                    90
45                    87
87                    45

Now the 4th and 5th pairs are the exact opposite of one another.  I want to
drop the 5th observation, but I don't know I can use the data to flag up
such observations so that I can drop it.  Could someone show me the light?

Many thanks in advance.

Yours,
Ada



Ada Ma
Department of Economics
University of Aberdeen, Scotland
Pelikan_4001@hotmail.com
*
*   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