Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[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 <[email protected]>
To   [email protected]
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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index