Statalist


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

Re: st: Precision for locals?


From   Maarten buis <[email protected]>
To   [email protected]
Subject   Re: st: Precision for locals?
Date   Wed, 12 Aug 2009 10:26:41 +0000 (GMT)

--- On Wed, 12/8/09, Sergiy Radyakin wrote:
> what is the precision with which the locals are stored in
> Stata? Help page for datatypes lists precision for
> doubles. Does it apply to locals? Help page for limits
> does not answer this either.

A discussion of this can be found in (Gould, Pitblado, and 
Sribney 2003) page 83: "Macros provide about 12 digits of 
accuracy, sometimes more but never less. Scalars are full 
double-precision binary numbers, meaning they provide about 
16.5 digits of accuracy in all cases"

Hope this helps,
Maarten

William Gould, Jeffrey Pitblado, and William Sribney (2003) 
Maximum Likelihood Estimation with Stata, second edition. 
College Station: Stata Press.

-----------------------------------------
Maarten L. Buis
Institut fuer Soziologie
Universitaet Tuebingen
Wilhelmstrasse 36
72074 Tuebingen
Germany

http://home.fsw.vu.nl/m.buis/
-----------------------------------------


      

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