Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: st: question regd wmpstata
Nick Cox <firstname.lastname@example.org>
Re: st: question regd wmpstata
Sun, 30 Sep 2012 10:02:28 +0100
Tashi Lama gave an example in the thread cited earlier.
On Sun, Sep 30, 2012 at 5:45 AM, Pradipto Banerjee
> Thanks, Nick. Out of curiosity, would it be possible for you to share how to do it?
> My impression was that you can do it awkwardly, but it's not a good
> idea. Same implication: no need to bother.
On Fri, Sep 28, 2012 at 6:08 PM, Pradipto Banerjee
> <email@example.com> wrote:
>> Thanks for the link.
>> You made some valid points
>> 1. I was planning to supply the name of the database to the program
>> 3. You are right, but I wanted to explore if wmpstata has the capability to run an -ado- file. Seems like it can't.
>> -----Original Message-----
>> From: firstname.lastname@example.org [mailto:email@example.com] On Behalf Of Nick Cox
>> Sent: Friday, September 28, 2012 12:58 PM
>> To: firstname.lastname@example.org
>> Subject: Re: st: question regd wmpstata
>> I see. This is, more or less, a question raised by Tashi Lama a few days ago
>> 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
>> On Fri, Sep 28, 2012 at 5:38 PM, Pradipto Banerjee
>> <email@example.com> 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: