Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


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

st: a reminder of how to get confused


From   "Lachenbruch, Peter" <Peter.Lachenbruch@oregonstate.edu>
To   "'statalist@hsphsun2.harvard.edu'" <statalist@hsphsun2.harvard.edu>
Subject   st: a reminder of how to get confused
Date   Wed, 5 May 2010 10:53:59 -0700

I should have known better.  I computed the median with sum and with centile on some data (they gave the same answer! Whew!).  Then I tried count if x>the median.  With 410 observations I should have had 205 values but it came out as 227.  
After puzzling for a couple of minutes I realized that I need to account for the missing in the count - problem solved.  

I know this has been mentioned before on this list, but it's something that we should keep in mind anyway.

Your professional dope,

Tony

Peter A. Lachenbruch
Department of Public Health
Oregon State University
Corvallis, OR 97330
Phone: 541-737-3832
FAX: 541-737-4001



*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index