Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


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

st: RE: sampsize formula


From   "Sarah Edgington" <sedging@ucla.edu>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: sampsize formula
Date   Thu, 3 Nov 2011 12:36:16 -0700

Do you have access to the Stata base reference manuals?
Typically the manuals contain detailed information on the formulas used to
implement a command.  The manual entry for -sampsi- is no exception. It's in
the section titled "Methods and formulas" near the end of the entry.
Hope that helps.
-Sarah

-----Original Message-----
From: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Sara Borelli
Sent: Thursday, November 03, 2011 12:12 PM
To: statalist@hsphsun2.harvard.edu
Subject: st: sampsize formula

  
Hello Statalist members,
 
I would like to know the exact formula beyond the sampsi command to
calculate the sample size of two groups using comparison of means :
 
sampsi     m1  m2,  sd1()  sd2()  power ()  alpha() 
 
the output gives me the sample size of the two groups, n1 and n2, but I
would need the exact mathematical formula
 
Thanks for any suggestion
Sara Borelli



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


*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index