From: Richard Williams wrote:
I think you meant
sampsi 100 110, alpha(0.025) power(0.8) sd1(15) sd2(15)
At least, that is what gives me an N of 43; the original command gives Ns
of 20.
[Excerpted]
----------------------------------------------------------------------------
Yep. Either that or
-sampsi 100 110, alpha(0.0167) power(0.8) sd1(15) sd2(15)-,
which gives n = 48 for three tests between pairs of the three groups.
Sorry about that, and thanks to Richard for catching it. (Talk about
peppering with errors . . .)
Joseph Coveney
*
* 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/