Statalist


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

AW: st: All entries saved as integers


From   "Martin Weiss" <martin.weiss1@gmx.de>
To   <statalist@hsphsun2.harvard.edu>
Subject   AW: st: All entries saved as integers
Date   Thu, 11 Feb 2010 16:36:08 +0100

<> 

" but [if] it happens
again, consider your dataset."



And share any insights gained with Stata tech support, as requested back in
the day:

http://www.stata.com/statalist/archive/2004-06/msg00027.html



HTH
Martin


-----Ursprüngliche Nachricht-----
Von: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] Im Auftrag von Jeph Herrin
Gesendet: Donnerstag, 11. Februar 2010 16:33
An: statalist@hsphsun2.harvard.edu
Betreff: Re: st: All entries saved as integers

I once had a similar problem after loading a corrupted
dataset - even after I -clear-ed the dataset, I could
create new byte variables and find garbage in them.

http://www.stata.com/statalist/archive/2004-06/msg00015.html

Later determined that it didn't matter if the dataset was
in memory, just that I had loaded it at some point.

Sounds like you resolved yours with an update, but it happens
again, consider your dataset.


cheers,
jeph






Hans Henrik Sievertsen wrote:
> Hi all,
> 
> 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?
> Thanks in advance!
> 
> Regards
> Hans
> *
> *   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/
> 
*
*   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/


*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index