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: RE: a reminder of how to get confused


From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   st: RE: a reminder of how to get confused
Date   Wed, 5 May 2010 19:21:41 +0100

Some of us learned from your (shortest?) paper how to exclude missings
easily: 

STB-9   ip2 . . . . . . . . . . . . . . . . . . . . . . .  A keyboard
shortcut
        . . . . . . . . . . . . . . . . . . . . . . . . . .  P. A.
Lachenbruch
        9/92    p.9; STB Reprints Vol 2, p.46                    (no
commands)
        keyboard shortcut to indicate nonmissing values

Nick 
[email protected] 

Lachenbruch, Peter

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.

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