# RE: st: RE: power calculation in a case control design

 From "stata_user stata_user" To statalist@hsphsun2.harvard.edu Subject RE: st: RE: power calculation in a case control design Date Sun, 04 Feb 2007 22:22:28 +0000

```Thanks a lot for all these explanations
Sami

```
```From: "Visintainer, Paul" <PAUL_VISINTAINER@NYMC.EDU>
To: <statalist@hsphsun2.harvard.edu>
Subject: RE: st: RE: power calculation in a case control design
Date: Wed, 31 Jan 2007 15:02:20 -0500

You can use -sampsi-, but you have to remember that the inputs must be
proportions, not odds or odds ratios.  So first you have to convert your
odds ratio question to the relevant proportions.  In your case, your
exposure prevalence is 13%.  Suppose you wanted to detect a 3-fold
increase in the odds.  The proportion which corresponds to "3-fold
increase in the odds" is .31 (notice that it is not just .13 x 3).

. sampsi .13 .31, n1(139) n2(83)

The power for the above command is about 85%.

Be sure when you run this command to associate your sample
specifications, e.g., n1() and n2() with the appropriate proportion:
n1() refers the first proportion entered in the command and n2() refers
to the second one.

-p

______________________________________
Paul F. Visintainer, PhD
Department of Epidemiology and Biostatistics
School of Public Health
New York Medical College
PH: (914) 594-4804
FX: (914) 594-4853
-----Original Message-----
From: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of stata_user
stata_user
Sent: Tuesday, January 30, 2007 4:41 PM
To: statalist@hsphsun2.harvard.edu
Subject: RE: st: RE: power calculation in a case control design

Thanks a lot for all the suggestions and help.

The prevalence of exposure in the control group is

19 or 13%

It is a difficult situation compared to the situation where we have to
test
equal means or equal proportions

I will appreciate any further suggestions

Sami

>From: "Visintainer, Paul" <PAUL_VISINTAINER@NYMC.EDU>
>To: <statalist@hsphsun2.harvard.edu>
>Subject: st: RE: power calculation in a case control design
>Date: Tue, 30 Jan 2007 11:06:45 -0500
>
>What's the (assumed) prevalence of exposure in your control group?
>
>______________________________________
>Paul F. Visintainer, PhD
>Professor and Chair
>Department of Epidemiology and Biostatistics
>School of Public Health
>New York Medical College
>PH: (914) 594-4804
>FX: (914) 594-4853
>
>-----Original Message-----
>From: owner-statalist@hsphsun2.harvard.edu
>[mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of stata_user
>stata_user
>Sent: Friday, January 26, 2007 4:58 PM
>To: statalist@hsphsun2.harvard.edu
>Subject: st: power calculation in a case control design
>
>Dear All,
>
>
>
>I have a case control design with 83 cases and 139 controls.
>
>   I am intersted  in the power of two sided 5% (or 1 sided) test to
>detect
>an approximate relative risk of less than 4.
>
>Is there any possibility to have a solution using  stata?
>
>Thanks a lot
>Sami
>
>_________________________________________________________________
>Get Hotmail, News, Sport and Entertainment from MSN on your mobile.
>http://www.msn.txt4content.com/
>
>*
>*   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/
>
>*
>*   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/

_________________________________________________________________
Get Hotmail, News, Sport and Entertainment from MSN on your mobile.
http://www.msn.txt4content.com/

*
*   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/

*
*   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/
```
_________________________________________________________________
MSN Hotmail is evolving – check out the new Windows Live Mail http://ideas.live.com

*
* 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/