Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

st: a reminder of how to get confused


From   "Lachenbruch, Peter" <[email protected]>
To   "'[email protected]'" <[email protected]>
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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index