Statalist The Stata Listserver


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

st: dropping observations


From   [email protected]
To   [email protected]
Subject   st: dropping observations
Date   Sun, 17 Jun 2007 18:37:54 +0200

dear all,
when I use the following command:
drop if x>450
STATA drops a lot of observations, while when  I exclude missing values as 
follows:
drop if x>450 & x!=.
STATA eliminates just a couple of observations 
I realized this when I run a regression including x as regressor. If STATA 
drops missing data with the first command,  shouldn't drop the same 
observations when I run the regression after using the second command?
why doesn't it happen?
thanks in advance
 Mariarosaria


-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/

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