Statalist


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

RE: st: sum() returns different results every time, why?


From   Roy Wada <roywada@hotmail.com>
To   <statalist@hsphsun2.harvard.edu>
Subject   RE: st: sum() returns different results every time, why?
Date   Sat, 1 Aug 2009 21:34:26 -0700

> ... I sort household by income and define deciles with "xtile"
> command. So, I think that the problem wouldn't be that exists another
> identifier.

Have you tried adding -stable- option to ALL your -sort- command?
 
sort varlist, stable
 
Roy
 
_________________________________________________________________
Get free photo software from Windows Live
http://www.windowslive.com/online/photos?ocid=PID23393::T:WLMTAGL:ON:WL:en-US:SI_PH_software:082009
*
*   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   |   What's new   |   Site index