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

From |
Mandy fu <mandy.fu1@gmail.com> |

To |
statalist@hsphsun2.harvard.edu |

Subject |
st: two steps of writting commands |

Date |
Thu, 12 Feb 2009 01:10:01 -0500 |

Dear Statalisters, I 'm curious about the steps used to write do files. I find usually I need to do two main steps: --------------------------------- First, write the original commands, check the outputs, test for various models, compare the results, select some models and report the results. This is like the draft version of commands. Second, organize and edit the original commands for future use or audit:simplify the commands(for example,using programming commands to substitute similar commands) , delete the redundant ones, make the commands neat. -------------------------------- When working with step 1, my goal is to get the job done. Sometimes I cannot think too much about how ugly the commands look like. This is why I need the second step to polish what I get from step 1. I was wondering if I sould combine these two steps together. Should I take consideration of getting the commands simpler, more concise,and more transparent in step 1 so that I don't need step 2 at all? Is the two-step way usual or most people don't need the second step? Any comments will be helpful. Thanks a lot! Mandy * * 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/

**Follow-Ups**:**st: RE: two steps of writting commands***From:*"Nick Cox" <n.j.cox@durham.ac.uk>

- Prev by Date:
**st: RE: Average age at first occurrence analysis** - Next by Date:
**Re: st: Fixing the value in egen command** - Previous by thread:
**st: A useful boxplot** - Next by thread:
**st: RE: two steps of writting commands** - Index(es):

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