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

Re: st: Precision for locals?

From   Maarten buis <>
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,

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


*   For searches and help try:

© Copyright 1996–2017 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index