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]

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


From   "Martin Weiss" <[email protected]>
To   [email protected]
Subject   RE: st: When I save the database, Stata automatically delete variables.
Date   Wed, 12 May 2010 00:08:09 +0200

To find out whether this has anything to do with the -save- command, throw in a -describe- just before you -save-. Most likely, this is for tech support to resolve. Make sure you provide the output of the -about- command with your query...
<>


HTH
Martin

-original message-
Subject: st: When I save the database, Stata automatically delete variables.
From: Emanuel López <[email protected]>
Date: 11-05-2010 23:44

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/


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