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: question regd wmpstata
From
Nick Cox <[email protected]>
To
[email protected]
Subject
Re: st: question regd wmpstata
Date
Fri, 28 Sep 2012 17:57:38 +0100
I see. This is, more or less, a question raised by Tashi Lama a few days ago
http://www.stata.com/statalist/archive/2012-09/msg00598.html
and you might want to follow that thread. I presume you are interested
in programs defined by .ado files.
Speculating wildly, but building on that discussion, here are some reflections:
1. To do very much useful the program would usually have to read in
some data, and how would that be done? (There are exceptions, such as
doing simulations.)
2. Passing arguments to the program sounds as if it could be messy and
you would have to ensure that your Stata syntax was not misinterpreted
by the operating system.
3. The do-file method lets you run one or more programs and so appears
to be general enough already to meet foreseeable needs. Conversely, if
Stata is running a program that you name, then at a guess everything
that you want to do has to be defined by that program, which by many
tastes is likely to seem poor programming style, but the choice is
yours.
Nick
On Fri, Sep 28, 2012 at 5:38 PM, Pradipto Banerjee
<[email protected]> wrote:
> Hi Nick,
>
> Historically, I have used "wmpstata /e do mydofile.do dofileoption1 dofileoption2" where the -do- is run with the options -dofileoption1-, -dofileoption2- etc. However, I was thinking to do the same with an -ado- file instead of a -do- and wanted to explore if there are any differences - and also what other options might be available.
Nick Cox
> My answer is "the manuals" or http://www.stata.com/statamp/ depending
> on whether you have it installed, but I suspect that I don't
> understand what is being sought here.
Pradipto Banerjee
>> Is there any place where I can get information on wmpstata.exe, i.e. what the options etc?
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/faqs/resources/statalist-faq/
* http://www.ats.ucla.edu/stat/stata/