Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Randomly missing variables after saving a dataset?


From   schmidt_michael_22@gmx.de
To   statalist@hsphsun2.harvard.edu
Subject   st: Randomly missing variables after saving a dataset?
Date   Mon, 11 Aug 2008 21:57:34 +0200

Hi,

fist: I'm anything but an expert. However, the following behavior of stata after saving a dataset is a real puzzle for me. It seems to randomly drop one or two variables (out of a few hundred) after I save a file.

Example:
Imagine I have 100 variables x_1, x_2...x_100

If a run a sequence like 

forvalues k=1/100 {
quietly sum x_`k'
}

save example, replace

forvalues k=1/100 {
quietly sum x_`k'
}

I would always get an error mesage that, after saving, at least one variable is not found (while, of course, it works perfectly before saving)

I use Stata 10 SE and Windows Vista; however, I also tried Windows XP.

I would appreciate any help...


Michael
-- 
GMX Kostenlose Spiele: Einfach online spielen und Spaß haben mit Pastry Passion!
http://games.entertainment.gmx.net/de/entertainment/games/free/puzzle/6169196


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