Statalist


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

Re: st: Re: do-file hygeine


From   Michael McCulloch <[email protected]>
To   [email protected]
Subject   Re: st: Re: do-file hygeine
Date   Sat, 27 Sep 2008 13:33:28 -0700

Thanks! Didn't know about cmdlog; seems a good way to build do-files without cut-and-paste!


You are welcome! I am very much a beginner myself in this area, and I sincerely hope that Kit`s book will help me improve...

What I have learned, though, is that you must make sure you still understand what you did half a year ago when that report comes back where the referee says that you should really have included another year in your panel. A good way to do that is to have your do-files instruct Stata to keep both a-log-file, recording all screen output, and a command log. From my experience, many users do not know about -cmdlog-s, and if they do, they misunderstand the mechanism that allows simultaneous -log-ging and -cmdlog-ging. The trick is that there is a handle (the -name- option) which is distinct from the -filename-...

HTH
Martin
_______________________
----- Original Message ----- From: "Michael McCulloch" <[email protected]>
To: <[email protected]>
Sent: Saturday, September 27, 2008 9:41 PM
Subject: Re: st: Re: do-file hygeine


Just what I was looking for. Thanks Martin!

Sure you did not miss this recent thread:
http://www.stata.com/statalist/archive/2008-09/msg00749.html

HTH
Martin _______________________
----- Original Message ----- From: "Michael McCulloch" <[email protected]>
To: "Statalist" <[email protected]>
Sent: Saturday, September 27, 2008 8:08 PM
Subject: st: do-file hygeine

Dear members of Statalist,
Using Stata has helped me realize an innate and compulsive need for attention to detail. When it comes to good research practices in general, I've learned good habits from my teachers and from this paper:

Schreier AA, Wilson K, Resnik D. Academic research record-keeping: best practices for individuals, group leaders, and institutions. Acad Med 2006;81(1):42-7.

However, when it comes to Stata in particular, I'm feeling that learning structured approaches from others would be useful. I'd appreciate any pointers toward good do-file hygeine, i.e. management practices to maximize good record keeping, with resulting least likelihood of overlooking important details.

--

Best wishes,
Michael McCulloch



Pine Street Foundation
124 Pine St., San Anselmo, CA 94960-2674
Tel: (415) 407-1357
Fax: (415) 485-1065
[email protected]
www.pinestreetfoundation.org
*
* 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/


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



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