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.eich...@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@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]] ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see 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.