Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, is already up and running.

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

st: RE: Re: STATA mistakes divisions!

From   Nick Cox <>
To   "''" <>
Subject   st: RE: Re: STATA mistakes divisions!
Date   Thu, 15 Mar 2012 14:36:46 +0000

Not so: 

. di %23.18f  45315 / 19657

. about

Stata/SE 12.1 for Windows (32-bit)
Revision 06 Feb 2012
Copyright 1985-2011 StataCorp LP

I'll bet you that what you are quoting is a value of a -float- variable. Your punishment is that you got what you asked for, holding results to less precision. 
The problem is yours, not understanding what you asked for! 

What science are you in that needs precision to 1 part in 10^7? Particle physics? 


P.S. It's STATA, not Stata. 

Francesco Vidoli

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

It's not a good job for a scientific software!!

*   For searches and help try:

© Copyright 1996–2016 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index