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

From |
David Airey <david.airey@Vanderbilt.Edu> |

To |
statalist@hsphsun2.harvard.edu |

Subject |
Re: st: RE: Re: Class programming in stata. |

Date |
Thu, 14 May 2009 11:56:17 -0500 |

.

-Dave On May 14, 2009, at 8:52 AM, Amadou DIALLO wrote:

Hi, It's not easy to explain what I am trying to achieve, since it's still yet not very clear for myself (:-)). I am still working on the planning. Simply put, in my project I am trying to build a stata interface (GUI). It's ok for dialog programming (I understand basic programming). But the boxes need to be refreshed and updated constantly and I found out that this is better achieve via class programming. Adept and dasp are two software built on stata that show how to achieve this, but when I go through the codes, its way to complicated to understand. Reason why I've asked if there is a quicker way to learn simpler examples. I will therefore stick onto examining the codes, but will spend more time on this. Hopefully, the adept and dasp authors will also have time to help on my project, provided they have some time to devote to me. Here are the links: Adept (Zurab et al.):http://econ.worldbank.org/WBSITE/EXTERNAL/EXTDEC/EXTRESEARCH/EXTPROGRAMS/EXTPOVRES/0,,print:Y~isCURL:Y~contentMDK:21336632~menuPK:4839104~pagePK:64168182~piPK:64168060~theSitePK:477894,00.htmlDasp (Araar AbdelKrim): http://132.203.59.36/DASP/index.html Warmest regards. Amadou. 2009/5/14, Nick Cox <n.j.cox@durham.ac.uk>:As I'm mentioned here, I will just underline that, as I implied on 8May, I've never used Stata class programming. I have sometimesfound inthe past that writing an article on something was a good way to learnabout it, but writing anything on Stata class programming is notwithinmy plans at all. More importantly, Amadou: What precisely are you trying to do with Stata class programming? What specific problems of understanding do you have? This thread doesn't seem to have touched on any of these details. (I don't what adept or dasp means here.) Nick n.j.cox@durham.ac.uk Amadou DIALLONick, Marteen [presumably Maarten], many thanks for your answers. Iwishsomeone with extendedknowledge on the topic (Nick, Zurab, Araar, statacorp staff, ???)couldwrite some tutorials on the subject. I need it to start a new project and I've realized that I need to go through class programming (as in the case of adept or dasp).As I said, I get really frustrated when I tried official stata'sclassprogramming examples (a search through the list shows me that this issue has been already raised and solved). It will be very useful if in their programming manuals, at StataCorp,they took practical examples and developped all the codes fromscratchto end, as did Kit Baum in his books for mata programming (I've learned better mata programming with his book than the Mata official manual I've bought two years ago). I know there is the issue of thevolume size, etc., but a manual is precisely there for that, isn'tit?When I read in many stata manuals something like : program ... (the rest of your code continues here) ... end for my part is not very useful or appealling and can get the user quickly discouraged. This is certainly useful for advanced programmers who need to go straight to what they need, but we the beginners need more than that. This is only my opinion, maybe other users do not feel that way. * * 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/-- --- Amadou B. DIALLO, PHD Development Economist Director, Center for Research and Training on Adult Education Mayotte, FRANCE www.aprosasoma.org +262639693250 * * 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/

**References**:**st: Re: Class programming in stata.***From:*Amadou DIALLO <stata.diallo@gmail.com>

**st: RE: Re: Class programming in stata.***From:*"Nick Cox" <n.j.cox@durham.ac.uk>

**Re: st: RE: Re: Class programming in stata.***From:*Amadou DIALLO <stata.diallo@gmail.com>

- Prev by Date:
**Re: Re: st: MCA (multiple correspondence analysis), identifying groups** - Next by Date:
**st: RE: Help with mlogit questions; IIA; choosing outcome variables; collapsing outcomes, multinomial logistic regression** - Previous by thread:
**Re: st: RE: Re: Class programming in stata.** - Next by thread:
**st: Re: Matrix manipulation help** - Index(es):

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