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

From |
David Airey <david.airey@vanderbilt.edu> |

To |
"statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu> |

Subject |
Re: st: RE: seeking text that explains how to program |

Date |
Fri, 18 Apr 2008 17:20:26 -0500 |

.

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/

**Follow-Ups**:**RE: st: RE: seeking text that explains how to program***From:*"Rodrigo Alfaro A." <ralfaro@bcentral.cl>

**References**:**st: seeking text that explains how to program***From:*Jacob Wegelin <jwegelin@vcu.edu>

**st: RE: seeking text that explains how to program***From:*"Martin Weiss" <martin.weiss@uni-tuebingen.de>

- Prev by Date:
**st: RE: seeking text that explains how to program** - Next by Date:
**RE: st: RE: seeking text that explains how to program** - Previous by thread:
**st: RE: seeking text that explains how to program** - Next by thread:
**RE: st: RE: seeking text that explains how to program** - Index(es):

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