Hi,
I know of Nick Cox's great dropmiss program. I want to do something
akin to it (without having to drop each variable individually). Say
that a data set has N cases and I want to drop variables that have fewer
than n nonmissing cases. Theoretically I could generate new variables
through count, but my data set is already close to the maximum allowed
without upgrading to SE (which is why I want to drop some variables).
Is there a way to do this:
drop if _N < n
or something similar?
Thanks much,
Ric Uslaner
[email protected]
*
* 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/