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
Sun, 30 Sep 2012 10:02:28 +0100
Tashi Lama gave an example in the thread cited earlier.
Nick
On Sun, Sep 30, 2012 at 5:45 AM, Pradipto Banerjee
<[email protected]> wrote:
> Thanks, Nick. Out of curiosity, would it be possible for you to share how to do it?
Nick Cox
> 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 protected]> wrote:
>> Nick,
>>
>> 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.
>>
>> Thanks
>>
>> -----Original Message-----
>> From: [email protected] [mailto:[email protected]] On Behalf Of Nick Cox
>> Sent: Friday, September 28, 2012 12:58 PM
>> To: [email protected]
>> Subject: Re: st: question regd wmpstata
>>
>> 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/