Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: Re: sample size calculation


From   Joseph Coveney <[email protected]>
To   Statalist <[email protected]>
Subject   Re: st: Re: sample size calculation
Date   Thu, 30 Sep 2004 17:34:19 +0900

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/



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