Statalist


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

Re: st: why no 'undo' option in Stata


From   Maarten buis <maartenbuis@yahoo.co.uk>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: why no 'undo' option in Stata
Date   Sun, 24 Aug 2008 16:13:55 +0100 (BST)

--- Shehzad Ali <sia500@york.ac.uk> wrote:
> I am sure there must be a good reason why Stata doesn't have an
> 'undo' option like spreadsheets do, but I was wondering if someone
> can shed some light on this.

I don't know, but you should never need one. The way to do any analysis
is to start a .do-file, within that .do-file open the raw data, change
the data as required for the analysis you want to run, and than run the
analysis. You should never save the data. This way when you make a
mistake (and I always make many mistakes), this is easily solved by
changing the .do-file and re-run the .do-file. The interactive mode is
just for playing around and trying stuff, never for serious analysis,
as you cannot reproduce an analysis once you have closed Stata, and no
one should ever even consider changing the data in the "spreadsheet
mode". 

-- Maarten

BTW, notice that there is an undo button in the .do-file editor.

-----------------------------------------
Maarten L. Buis
Department of Social Research Methodology
Vrije Universiteit Amsterdam
Boelelaan 1081
1081 HV Amsterdam
The Netherlands

visiting address:
Buitenveldertselaan 3 (Metropolitan), room Z434

+31 20 5986715

http://home.fsw.vu.nl/m.buis/
-----------------------------------------

Send instant messages to your online friends http://uk.messenger.yahoo.com 
*
*   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