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

Re: st: how to delete observations with missing data


From   David Kantor <[email protected]>
To   [email protected]
Subject   Re: st: how to delete observations with missing data
Date   Fri, 15 Oct 2004 16:21:43 -0400

At 03:27 PM 10/15/2004 -0400, Sarah Smith wrote:
Dear STATA users;

I have a panel data and I want to delete the observations where the
data in the variable "name" is missing. I will appreciate if you can
help me.

Thanks,
Sarah
[...]
drop if mi(name)

...unless there is something more complex, like strings filled with blanks.

----

Please avoid quoting irrelevant text in your messages. Apparently you issued your message by replying to a previous, unrelated, message, but you retained all of it within yours.

----
I hope this helps,
--David


David Kantor
Institute for Policy Studies
Johns Hopkins University
[email protected]
410-516-5404

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