Statalist


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

st: Effect size / sample size / power calculation


From   Miranda Kim <[email protected]>
To   [email protected]
Subject   st: Effect size / sample size / power calculation
Date   Wed, 06 Jan 2010 14:27:34 +0000

Could anyone help me with this...
To detect a regression coefficient of 0.41 with standard deviation 0.91 I can compute a sample size (using a 5% level of significance with 90% power) with the following command:
sampsi 0.41 0, p(0.9) sd(0.91) onesam
How could I work out what regression coefficient (effect size) is detectable with a sample size of 150, based on this information?
I need to do this with about 20 regression coefficients.
I am using stata 11.
Many thanks,
Miranda

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