Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: How to drop some Observation in Stata, if they are out of range?


From   bumbuminc <bumbuminc@googlemail.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: How to drop some Observation in Stata, if they are out of range?
Date   Tue, 23 Sep 2008 10:20:07 +0200

Hi, there
I want to drop some Observations in Stata, who are out of a certain range.
For example: I have 2 variables, the first one is an identnumber and
the second one are the earnings.
Now I want Stata to drop all the Observation who are under a minimum
earning and all who are over a maximum earning and save this under a
new variable.
 In the moment i can't figure it out by myself.
Hopefully someone can help me.
Boris
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   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