<>
-preserve- merely tells Stata to keep the option of -restore-ing afterwards
open, no more. The change flag "c(changed)" is still set to "1", and so
Stata prompts you to consider what you are about to do...
*************
sysuse auto, clear
drop in 5
preserve
di "`c(changed)'"
sysuse auto
*************
HTH
Martin
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Gabi Huiber
Sent: Donnerstag, 3. Dezember 2009 19:18
To: [email protected]
Subject: st: "no; data in memory would be lost" warning after preserve?
Hello all,
I have a balanced panel of weekly lottery ticket sales.
I am trying to do a bit of exploratory analysis, and I attempted a
within scatterplot as done in Micreconometrics using Stata, by Cameron
and Trivedi, Stata Press 2009, at p. 243. But I get a strange error
message:
. preserve
. xtdata, fe
no; data in memory would be lost
r(4);
Why would I be warned about data loss after preserve? This is Stata
9.2 MP. I would appreciate any ideas.
Thank you,
Gabi Huiber
*
* 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/