Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Post-hoc statistical power for hundreds of studies


From   [email protected]
To   [email protected]
Subject   st: Post-hoc statistical power for hundreds of studies
Date   Tue, 10 Apr 2007 20:09:10 -0300 (BRT)

Dear Statalisters,

I have a set of simulated case-control studies evaluating the risk as an
odds ratio.

However, suppose we have only one study. In addition, let�s assume that
n1 = 100, n2= 110, the exposure prevalence is 52%, alpha=5% and we want to
detect a 1.5-fold increase
in the odds (odds ratio of interest = 1.5)

I can estimate a post-hoc statistical power
using -sampsi-, right?


say:

sampsi .52 .619, n1(100) n2(110)

Nevertheless, how could I get the post-hoc statistical power using
-sampsi- without having to type this command for 10000
simulated studies?

I will be grateful for any help.

regards,

Tiago
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



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