Statalist


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

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


From   Johanna Jiménez <[email protected]>
To   [email protected]
Subject   Re: st: sum() returns different results every time, why?
Date   Sun, 2 Aug 2009 03:55:38 -0400

Roy,

Thank you so much, I could fix the problem with "sort varlist,
stable". I didn't know that, but easy and helpful!

Johanna



On Sun, Aug 2, 2009 at 12:34 AM, Roy Wada<[email protected]> wrote:
>> ... 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/
>

*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index