[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
st: Monte Carlo Simulation, help!
Hi
I want to rank institutions for and outcome given in outcome% based on Monte Carlo simulation and produce a table like table 2 in http://plus.maths.org/issue46/risk/index.html. The method is also described by Spiegelhalter in BMJ, 1998, 316(1701-1705).
I am a beginner in STATA. Could anyone help me in performing the analysis in STATA? I need the commands and number of iterations. Number of institutions is more than in the sample.
Any help will be really appreciated.
Kind regards
Inst. cases total outcome%
f 71 273 26.01%
e 259 809 32.01%
c 121 345 35.07%
d 262 726 36.09%
mean 713 2153 33.12%
b 192 480 40.00%
a 120 204 58.82%
*
* 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/