Statalist


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

RE: st: RE: seeking text that explains how to program


From   "Rodrigo Alfaro A." <ralfaro@bcentral.cl>
To   <statalist@hsphsun2.harvard.edu>
Subject   RE: st: RE: seeking text that explains how to program
Date   Fri, 18 Apr 2008 18:32:13 -0400

Jacob,

You are right you need Stata manuals, specially Programming which should
be close to you every time :-) I do not have that introductory book, but
statalist could provide a lot of answers, ones you learn by trial and
error. 

I believe that statalist is a good source for learning about
simulations. Even that -simulate- and its help solve almost any kind of
problem in that "field".

I do not know what do you want to do in Stata, but I use to teach
programming in Stata showing the code of spearman, at the very end of
that code there is spearman2. If you understand each line of that
sub-program you are more close to understand ado programming. 

David's suggestion is also fair.

Rodrigo.

 

-----Mensaje original-----
De: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] En nombre de David Airey
Enviado el: Viernes, 18 de Abril de 2008 06:20 p.m.
Para: statalist@hsphsun2.harvard.edu
Asunto: Re: st: RE: seeking text that explains how to program

.

Take the programming net courses.

Sent from my iPhone

On Apr 18, 2008, at 5:13 PM, "Martin Weiss"
<martin.weiss@uni-tuebingen.de  > wrote:

> Join the club! I went through your pains a couple of months ago with 
> the full docu present, and still ended up screaming for help...
> There is a book forthcoming "An Introduction to Stata Programming"  
> from
> Stata Press. Other than that, it definitely helps to trace the action 
> on Statalist and experiment with the examples people sometimes 
> provide.
> Specific questions are usually answered quickly on the list, so 
> posting definitely helps as well...
>
>
> Good luck,
> Martin Weiss
> _________________________________________________________________
>
> Diplom-Kaufmann Martin Weiss
> Mohlstrasse 36
> Room 415
> 72074 Tuebingen
> Germany
>
> Fon: 0049-7071-2978184
>
> Home: http://www.wiwi.uni-tuebingen.de/cms/index.php?id=1130
>
> Publications: http://www.wiwi.uni-tuebingen.de/cms/index.php?id=1131
>
> SSRN: http://papers.ssrn.com/sol3/cf_dev/AbsByAuth.cfm?per_id=669945
>
> -----Original Message-----
> From: owner-statalist@hsphsun2.harvard.edu
> [mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Jacob 
> Wegelin
> Sent: Saturday, April 19, 2008 12:09 AM
> To: statalist@hsphsun2.harvard.edu
> Subject: st: seeking text that explains how to program
>
> Am I correct in believing that neither the Web nor the help files is a

> substitute for the hard-copy Stata manuals?
>
> Beyond Christopher F. Baum's helpful SUGUK 2005 invited lecture, "A 
> little bit of Stata programming goes a long way", what text(s) or 
> article
> (s) or
> url(s) would be helpful for one who wishes to learn how to automate 
> procedures in Stata, i.e., to write programs in Stata?
>
> For instance:
>
> I'm a raw beginner with Stata's "program" command and with Stata's 
> programming power in general, and don't understand the syntax.
>
> The following help file: http://www.stata.com/help.cgi?program gives a

> tantalizing bit of information and then says
>
> See [U] 18 Programming Stata for a description of programs.
>
> See [P] trace for information on debugging programs.
>
> Neither of these is a link, which suggests that this information is 
> simply not available on the web or in the built-in Stata help files.
>
> Also, the help files for "local", for "postfile", and for some other 
> commands appear to leave some questions unanswered. For instance, how 
> exactly does one specify the types of variables in "postfile" so as 
> not to get an error? The help file appears to hint that the default 
> type for a variable is numeric, and that groups of variables with the 
> same type should be listed in parentheses:
>
> postfile `memhold' a b str20 c double(d e f) using "`results'"
>
> but it doesn't state this explicitly. Is there a book that explains 
> this all for beginners?
>
> Thanks for any info
>
> Jake
>
> Jacob A. Wegelin
> jwegelin@vcu.edu
> Assistant Professor
> Department of Biostatistics
> Virginia Commonwealth University
> 730 East Broad Street Room 3006
> P. O. Box 980032
> Richmond VA 23298-0032
> U.S.A.
> http://www.people.vcu.edu/~jwegelin
>
>
> *
> *   For searches and help try:
> *   http://www.stata.com/support/faqs/res/findit.html
> *   http://www.stata.com/support/statalist/faq
> *   http://www.ats.ucla.edu/stat/stata/
>
> *
> *   For searches and help try:
> *   http://www.stata.com/support/faqs/res/findit.html
> *   http://www.stata.com/support/statalist/faq
> *   http://www.ats.ucla.edu/stat/stata/
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/

********************************************************************************
ADVERTENCIA: La  información  contenida  en  esta  transmisión, y  en  cualquier archivo  adjunto, está  sujeta a reserva legal conforme a la normativa aplicable  al  Banco  Central  de  Chile, y  no  puede  ser usada o difundida  por personas distintas  de  su o sus destinatarios. Si usted ha recibido esta transmisión por error,  por  favor  notifique  inmediatamente al remitente respondiendo por este mismo medio y elimínela de su sistema.
El  Banco Central de Chile no se hará responsable de la exactitud y veracidad de la información contenida en este mensaje, así  como  de su  modificación, copia, divulgación  o  reenvío,  total  o  parcial.   Su  uso  no  autorizado puede ser sancionado de conformidad con las leyes chilenas. 
El  Banco  Central  de  Chile  transmite  sus decisiones a través de comunicados oficiales, los  que  pone  a  disposición  del público en su página de Internet: www.bcentral.cl 


DISCLAIMER: The information  contained  in  this  email or any attached file, is subject to legal  privilege  pursuant  to the laws and regulations applicable to the Central  Bank  of  Chile , and may not be used or disseminated by any person other  than  its  intended recipients. If you have received this transmission in error, please  notify  the sender immediately by reply to this email address and delete it from your system.
The Central Bank  of  Chile shall not be liable for the accuracy or authenticity of the contents of this message, whether amended, copied, forwarded or disclosed in  any  form, in  whole  or  in part.  Please note that unauthorized use may be penalized  in  conformity  with  the  Chilean law.    
The Central  Bank of Chile communicates its decisions by  official releases, and 
makes them available to the public in its WebPages: www.bcentral.cl

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   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