Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: How to drop subjects with missing values on all variables


From   shihying yao <[email protected]>
To   [email protected]
Subject   st: How to drop subjects with missing values on all variables
Date   Mon, 30 Jan 2012 15:21:05 -0500

Hello,
I am wondering if there is a quick way to identify and drop subjects
with missing values on all variables (including string and numeric
variables) in a dataset? I used to use "drop if" command. However,
it'd get annoying if there are a lot of variables.

Any help or advice is appreciated!

Thanks,
Shih-Ying
*
*   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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index