Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: st: really silly question
From
Nick Cox <[email protected]>
To
[email protected]
Subject
Re: st: really silly question
Date
Tue, 8 Mar 2011 09:42:27 +0000
I should also plug Kit Baum's book as a systematic treatment that gets
you into do files and programming. The manuals cover it all (*)
somewhere, but Kit's treatment builds up in about the sequence Scott
seems to need.
http://www.stata.com/bookstore/isp.html
Nick
(*) Apart from all that is undocumented and non-documented. StataCorp
has to make some of it difficult, otherwise programmers would get no
respect.
On Tue, Mar 8, 2011 at 9:04 AM, Nick Cox <[email protected]> wrote:
>
>> On Tue, Mar 8, 2011 at 2:46 AM, Scott Talkington <[email protected]> wrote:
>
>>> The stuff that stumps me in stata is usually something so simple that it's
>>> impossible to find a help file or a faq that deals with it in simple terms.
>>>
>>> I want to write a program that obtains a variable name from keyboard input
>>> and then executes a series of commands on that variable. This should be
>>> pretty simple programming but I can't find a simple description of it.
>>>
>>> lets say I want to fill a local variable `x' with one variable name and a
>>> local variable `y' with another variable name than then execute the command
>>>
>>> .tab `x' `y'
>>>
>>> and then at the end of the loop it just stops and waits for the keyboard
>>> input again
>
*
* 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/