Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


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

st: When I save the database, Stata automatically delete variables.


From   Emanuel López <lopez.emanuel@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: When I save the database, Stata automatically delete variables.
Date   Tue, 11 May 2010 18:43:55 -0300

Im using Stata 10, and reshaping some databases, for example i run the
following:

use individual_t407
keep CODUSU componente nro_hogar estado pp10a pp10d
sort CODUSU nro_hogar componente
rename estado estado407
save i_t407,replace

I expect the saved database to have six variables (CODUSU, componente,
nro_hogar, estado, pp10a, pp10d). But surprisigly for me, when i run
the "save" command, Stata randomly (looks random for me at least) drop
some of them! I dont know if this is more a technical problem, or
something that i cant see... Do you know what could be happening?
Thanks for your help!!!

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