Statalist


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

st: RE: All entries saved as integers


From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   st: RE: All entries saved as integers
Date   Wed, 10 Feb 2010 23:28:45 -0000

I can't reproduce or explain this. 

Nick 
[email protected] 


Hans Henrik Sievertsen

I suddenly experience that all my entries in stata are saved as
integers?
How can that be?
If I for instance type:

. clear

. set obs 10
obs was 0, now 10

. gen a=2.73456

. disp a
2

While if I use some function it works:

. gen z=uniform()
. disp z
.88350743

What am I doing wrong?

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