Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: AW: AW: RE: Documentation manual changes


From   krishanu karmakar <krishkarmakar@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: AW: AW: RE: Documentation manual changes
Date   Wed, 18 Nov 2009 13:53:58 -0500

" Unfortunately it is very difficult to let Stata automatically decide
what is a main activity" .. That is exactly what Stata is not supposed
to do.... "automatically"

For each task (or may be a group of tasks) there should be a different
"do" file with extended comments for purpose of the do file, date etc.

Krishanu

On Tue, Nov 17, 2009 at 8:32 AM, Kaulisch, Marc
<kaulisch@forschungsinfo.de> wrote:
> I know that is why I would like to make a do-file out of our changes.
>
> Unfortunately it is very difficult to let Stata automatically decide what is a main activity if there are several at a time...
>
>
> Marc
>
> -----Ursprüngliche Nachricht-----
> Von: owner-statalist@hsphsun2.harvard.edu [mailto:owner-statalist@hsphsun2.harvard.edu] Im Auftrag von Martin Weiss
> Gesendet: Dienstag, 17. November 2009 11:54
> An: statalist@hsphsun2.harvard.edu
> Betreff: st: AW: RE: Documentation manual changes
>
>
> <>
>
>
>
> Better still: _always_ change data with a do-file, never on the fly. This way, the changes are transparent and reproducible even after a long time has elapsed...
>
>
>
> HTH
> Martin
>
> -----Ursprüngliche Nachricht-----
> Von: owner-statalist@hsphsun2.harvard.edu
> [mailto:owner-statalist@hsphsun2.harvard.edu] Im Auftrag von Nick Cox
> Gesendet: Dienstag, 17. November 2009 11:46
> An: statalist@hsphsun2.harvard.edu
> Betreff: st: RE: Documentation manual changes
>
> I don't think you can do that via the Data Editor. If you want that echoed in the log, you need to type it, or write and then run a program that generates that code.
>
> Nick
> n.j.cox@durham.ac.uk
>
> Kaulisch, Marc
>
> A different question of mine is if there is a different way to document changes made manual by the data editor as the standard behaviour (in my version 10 of Stata).
>
> When I change something in the data I get the output:
> . replace BN8_1 = 24 in 5
> . replace epp = 1 in 5
>
> These changes are made for a certain case. So if the sorting of cases changes (e.g. more cases with ids lower than existing ids) I cannot reproduce the changes for a certain case.
>
> Instead I would love to get the changes documented (directly by Stata)
> like:
> . replace BN8_1 = 24 if id == 1 & episode == 5 . replace epp = 1 if id == 1 & episode == 5
>
>
>
> *
> *   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/
>
> *
> *   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/
>



-- 
Read it: http://www.stata.com/support/faqs/res/statalist.html
Specially Question 3.

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