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]

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


From   "Martin Weiss" <martin.weiss1@gmx.de>
To   statalist@hsphsun2.harvard.edu
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 <lopez.emanuel@gmail.com>
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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index