[R] Power w/ unequal sample sizes

From: Jim BRINDLE <j_brindle_at_hotmail.com>
Date: Fri 20 May 2005 - 00:38:31 EST


Hello,

I am hoping someone could shed some light on power calculations for me. I have two small data sets of unequal sample size after NA removal (m = 5, f = 7).

m <- c(2.0863, 2.1340, 2.1008, 1.9565, 2.0413, NA, NA) f <- c(1.8938, 1.9709, 1.8613, 2.0836, 1.9485, 2.0630, 1.9143)

In a R help message/reply from Sep 30, 2001, it was noted that the "power.t.test" function assumes equal group sizes and that the groups have the same theoretical standard deviation. In "analyzing" this data, I ran a Welch Two Sample t-test and a Wilcoxon Rank Sum test on the data sets and both tests reveal a slight statistical difference for alpha = 0.05 (Welch Two Sample t-test p-value = 0.045 and Wilcoxon Rank Sum test p-value = 0.048).

I suspect that the "power" of these tests will be quite low but I am trying to quantify it. Based on the insight in the R help message from 2001, I am not sure how to go about this with R. Is this feasible with R or is there another approach I should be considering altogether?

Any insight would be most appreciated. Thanks a million....



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Fri May 20 00:53:32 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:31:52 EST