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 at the end of May, 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


From   Nick Cox <njcoxstata@gmail.com>
To   statalist@hsphsun2.harvard.edu
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
<pradipto.banerjee@adainvestments.com> 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

> <pradipto.banerjee@adainvestments.com> 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: owner-statalist@hsphsun2.harvard.edu [mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Nick Cox
>> Sent: Friday, September 28, 2012 12:58 PM
>> To: statalist@hsphsun2.harvard.edu
>> 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
>> <pradipto.banerjee@adainvestments.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:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


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