|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
st: AW: AW: RE: Documentation manual changes
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: [email protected] [mailto:[email protected]] Im Auftrag von Martin Weiss
Gesendet: Dienstag, 17. November 2009 11:54
An: [email protected]
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: [email protected]
[mailto:[email protected]] Im Auftrag von Nick Cox
Gesendet: Dienstag, 17. November 2009 11:46
An: [email protected]
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
[email protected]
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/