[R] sample size/power calc packages

John Fox jfox at mcmaster.ca
Tue Nov 11 13:55:07 CET 2003


Dear Peter,

At 12:30 PM 11/11/2003 +0100, Peter Dalgaard wrote:
>rossini at blindglobe.net (A.J. Rossini) writes:
>
> > For various reasons, I spent part of my time today looking at sample
> > size and power calculation tools (don't ask, don't tell...).  This
> > seems to be one area that R is incredibly weak in (well, nearly all
> > stat packages, except perhaps specialized tools and SAS); sure, there
> > are a number of functions in various packages:
> >
> >           base, statmod, Hmisc
> >
> > Have I missed something?  (I would've expected at least one sequential
> > computation, or non-standard design, but apparently there are none, or
> > I missed it).
> >
> > I'd appreciate hearing about work that I've missed...
>
>Is SAS particularly hot? I've just been explaining to people how to
>cheat SAS Analyst into letting the Two-Sample t-Test sample-sizer do
>binomial proportions with a fudged SD.

There is an extensive set of power-calculation macros in SAS, by Ralph 
O'Brien, at <http://www.bio.ri.ccf.org/power.html>. Apparently SAS Version 
9.1 will have new procs power and glmpower, which will cover most of what 
is in these macros.

Regards,
  John

-----------------------------------------------------
John Fox
Department of Sociology
McMaster University
Hamilton, Ontario, Canada L8S 4M4
email: jfox at mcmaster.ca
phone: 905-525-9140x23604
web: www.socsci.mcmaster.ca/jfox




More information about the R-help mailing list