[Rd] bug in power.t.test( ) (PR#7245)
mai at ms.uky.edu
mai at ms.uky.edu
Fri Sep 24 04:53:18 CEST 2004
Full_Name: Mai Zhou
Version: 1.9.1
OS: Win XP Professional
Submission from: (NULL) (12.222.227.93)
> power.t.test(n=25, delta=0.1, sig.level=1.1, strict=TRUE, type="one.sample")
One-sample t test power calculation
n = 25
delta = 0.1
sd = 1
sig.level = 1.1
power = 1.088311
alternative = two.sided
### power can never be over one! Of course, sig.level should not take value > 1
### either.
### Possible solution: A check in the input to truncate sig.level into [0, 1]??
More information about the R-devel
mailing list