[R] Power calculation

Chuck Cleland ccleland at optonline.net
Thu Jun 10 14:33:42 CEST 2010


On 6/10/2010 8:26 AM, Samuel Okoye wrote:
> Hello,
> 
> Is there any R function which does power calculation for unbalanced groups (n1 neq n2)? Since power.t.test has n
> 
> Number of observations (per group).
> 
> Many thanks,
> Samuel

  See pwr.t2n.test() in the pwr package.

http://finzi.psych.upenn.edu/R/library/pwr/html/pwr.t2n.test.html

  You might have found it by doing the following in R:

RSiteSearch("power analysis", restrict='function')

> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

-- 
Chuck Cleland, Ph.D.
NDRI, Inc. (www.ndri.org)
71 West 23rd Street, 8th floor
New York, NY 10010
tel: (212) 845-4495 (Tu, Th)
tel: (732) 512-0171 (M, W, F)
fax: (917) 438-0894



More information about the R-help mailing list