Statalist


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

Re: st: Can STATA be used for interactive webb-based analyses


From   Austin Nichols <austinnichols@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Can STATA be used for interactive webb-based analyses
Date   Fri, 16 Oct 2009 10:25:46 -0400

roland andersson <rolandersson@gmail.com> :
I don't think you want users of your website running do-files every
time they click to get a result--for one, you would need to work out
the licensing with StataCorp, and for another, your server would have
to be insanely powerful.  Better to generate a comprehensive look-up
table using Stata once a day or once a week, and program the website
to return the appropriate info from the table.

On Fri, Oct 16, 2009 at 8:47 AM, roland andersson
<rolandersson@gmail.com> wrote:
> Thank you Neil
>
> I am not a programmer, but as you say I guess it would be possible to
> program an interactive webbpage that can run a do-file with
> interactive input from the webb-page, and a that STATA could create an
> output that can be presented on the webb-page.
>
> If anybody has done something like this I would like to have more
> information about it.
>
> Roland Andersson
>
>
>
> 2009/10/16 Neil Shephard <nshephard@gmail.com>:
>> On Fri, Oct 16, 2009 at 8:17 AM, roland andersson
>> <rolandersson@gmail.com> wrote:
>>> I wonder if STATA can be used to program interactive webb-based
>>> analyses of large databases. We have a large national quality-database
>>> for gallbladder surgery which is continously updated. The aim would be
>>> to let patients find out the probability of adverse outcomes in
>>> relation to age, sex, hospital volume, previous health
>>> characteristics, current disease etc. They could than choose for
>>> themselves if they want to have surgery or not.
>>
>> What platform are you looking to develop on?
>>
>> Under *NIX (not sure about M$-windows or Mac) there are actually two
>> programs, a GUI and a CLI version.  I use Stata under Linux
>> (predominantly) and you can invoke the CLI version with a command....
>>
>>
>> usage:  stata-se [-h -k# -m# -q -w -s -b] ["stata command"]
>>
>> If this "stata command" were to run a do-file that had been generated
>> on the fly based on the options the user has specified and the do-file
>> included writing the results out in a format that the server can
>> understand then I reckon its feasible (although rather involved and
>> I've certainly never done this myself!).
>>
>> I know that R has been used as a back end in a fair few sites and
>> there are packages written specifically to facilitate  this.
>>
>> Neil
>>
>>

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



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