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]

Re: st: Re: STATA mistakes divisions!


From   Francesco Vidoli <[email protected]>
To   [email protected]
Subject   Re: st: Re: STATA mistakes divisions!
Date   Thu, 15 Mar 2012 15:48:57 +0100

But therefore by default, without writing in every division "float",
STATA mistake divisions?
It's not only a visualization problem, we are trying to compare a SAS
OLS regression and  results simply do not add up if you calculate the
variables of SAS or STATA ...

thanks,

On Thu, Mar 15, 2012 at 3:37 PM, Austin Nichols <[email protected]> wrote:
> Francesco Vidoli <[email protected]>:
>
> . di %30.27g 45315 / 19657
>            2.3052856488782623
>
> . di %30.27g float(45315 / 19657)
>            2.3052856922149658
>
>
> On Thu, Mar 15, 2012 at 10:28 AM, Francesco Vidoli <[email protected]> wrote:
>> Hello,
>> I just realized that STATA mistake divisions at 7-8 decimal place!
>> I know it sounds strange, but try to do 45315 / 19657 ....
>>
>> SAS:      2.30528564887826
>> STATA:  2,30528569221496
>> Excel:    2,30528564887826
>> Mathematica: http://www.wolframalpha.com/input/?i=45315%2F19657
>>
>>
>> It's not a good job for a scientific software!!
>
> *
> *   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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index