Statalist


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

st: keeping inventory while cleaning data


From   Michael McCulloch <mm@pinest.org>
To   Statalist <statalist@hsphsun2.harvard.edu>
Subject   st: keeping inventory while cleaning data
Date   Sun, 6 Jul 2008 13:51:20 -0700

Hello, in order to keep inventory while cleaning data, I'm using a clumsy manual step to keep track of how many observations I drop. For example:

. describe, short //INVENTORY: dropped 28097 for histology not NSCLC; N = 51,560

Is there a more elegant way to do this that could give me a summary list of variables dropped & the reason for drop?

Thank you.

--

Best wishes,
Michael McCulloch



Pine Street Foundation
124 Pine St., San Anselmo, CA 94960-2674
Tel: (415) 407-1357
Fax: (415) 485-1065
mcculloch@pinestreetfoundation.org
www.pinestreetfoundation.org
*
* 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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index