[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
Re: st: Loosing precision with Total( )
You can always specify the datatype when using egen, for example,
. egen double z = total( x )
I'm not sure where you are using total().
Are you sure the "loss of precision" to which you are referring is
actually that? It may simply have to do with the display format.
On Fri, 18 May 2007, Michael Crain wrote:
The solution to this issue is probably simple. Here is my problem.
I am using theTotal function to calculate the total of a variable for a large
number of observations: total(var)
I get a result of something like 7.25e+08
How do I get the total without loosing precision?
Stata version 9
PC Magazine’s 2007 editors’ choice for best Web mail—award-winning Windows
* For searches and help try: