Statalist


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

st: Re: Sample size to detect a rare response


From   Paddy Woodburn <[email protected]>
To   [email protected]
Subject   st: Re: Sample size to detect a rare response
Date   Mon, 30 Nov 2009 09:18:54 -0800 (PST)

Dear Statalist,

I apologise; I was forgetting basic algebra.  All I had to do to calculate the necessary number was to figure out that the power = 1-((1-P)^n), where n is the number of people you'd need to sample.  Best regards,

Paddy


----- Original Message ----
From: Paddy Woodburn <[email protected]>
To: [email protected]
Sent: Mon, 30 November, 2009 15:57:13
Subject: Sample size to detect a rare response

Dear Statalist,

If you wanted 90% power to detect at least one positive result for a rare condition (expected proportion P) in a population, how would you calculate how many people you would need to test?  Is there a command for this?

Best regards,

Paddy


      

*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index