[R] Power of t test for unequal variances?

Mauricio Cornejo mauriciocornejo at yahoo.com
Wed Dec 21 16:58:45 CET 2016

Gerrit, thanks for the suggestion.  samplesize::n.ttest does seem to handle unequal variances. 

    On Tuesday, December 20, 2016 2:55 AM, Gerrit Eichner <Gerrit.Eichner at math.uni-giessen.de> wrote:
 Hello, Mauricio,

maybe pwr.t2n.test() in package pwr or/and n.ttest() in package samplesize do what you need/want.

  Hth  --  Gerrit

> On Dec 19, 2016, at 1:47 PM, Mauricio Cornejo via R-help <r-help at r-project.org> wrote:
> Is there a function similar to stats::power.t.test that can handle unequal variances from two samples?
> I noticed that stats::t.test has an argument for indicating whether or not to treat the two sample variances as equal.  Wondering why stats::power.t.test doesn’t have that option.
> Thanks, Mauricio
	[[alternative HTML version deleted]]

More information about the R-help mailing list