error: sample size calculation for two sample t test using pwr
love4donut opened this issue · 0 comments
love4donut commented
pwr.t.test(n=NULL, d=7, sig.level = 0.05, power=0.8)
Error in uniroot(function(n) eval(p.body) - power, c(2 + 1e-10, 1e+09)) :
f() values at end points not of opposite sign
pwr.t.test(n=NULL, d=7, sig.level = 0.01, power=0.8)
Two-sample t test power calculation
n = 2.44337
d = 7
sig.level = 0.01
power = 0.8
alternative = two.sided
NOTE: n is number in each group