Statalist


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

Re: st: Drop variables satisfying a condition


From   David Kantor <[email protected]>
To   [email protected]
Subject   Re: st: Drop variables satisfying a condition
Date   Fri, 06 Jul 2007 13:54:57 -0400

At 01:03 PM 7/6/2007, Austin Nichols wrote:
David Kantor et al.:
I agree that testing sum=0 is inappropriate, and there is no need to
invoke -summarize- and all its machinery when -count- will do; but I
think David Kantor does not mean
capture confirm `var' == 0
but rather
capture assert `var' == 0
Yes, indeed. This is a case where you need the dwimnwis command: do what I meant, not what I said.

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