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

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

From   Steven Samuels <[email protected]>
To   [email protected]
Subject   Re: st: why no 'undo' option in Stata
Date   Sun, 24 Aug 2008 12:54:55 -0400

You should never save the data.

I think Maarten meant: never "save, replace". Save the data only under a different name.

On Aug 24, 2008, at 11:13 AM, Maarten buis wrote:

--- Shehzad Ali <[email protected]> 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

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

Send instant messages to your online friends http://
* For searches and help try:
*   For searches and help try:

© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index