| |
[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.
Kyle
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
Thank you.
_________________________________________________________________
PC Magazine�s 2007 editors� choice for best Web mail�award-winning Windows
Live Hotmail.
http://imagine-windowslive.com/hotmail/?locale=en-us&ocid=TXT_TAGHM_migration_HM_mini_pcmag_0507
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/