Bookmark and Share

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, is already up and running.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: question regd wmpstata

From   Nick Cox <>
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

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
<> wrote:
> Hi Nick,
> Historically, I have used "wmpstata /e 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 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:

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