Greg Snow:
Look at the pwr package, it has functions for 2 samples of different
sizes.
Hope this helps,
Great! Thanks.
--
Karl Ove Hufthammer
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the
Peter Dalgaard:
Does anyone of you knows a reference for the formula used in power.t.test
function? And also why it uses the Student's distribution instead of
Normal. (I know both of them can be used but don't see whether choose one
or the other)
It is a straightforward first-principles
Hello,
Thank you, but can you understand this result? first I calculate the sd for
n = 2 and then n with that sd. It should give me 2 right?
FC = 1.5
alfa = 0.01
power = 0.85
sd1 - power.t.test( n = 2, delta = FC, sig.level = alfa,
+power = power, type = two.sample, sd =
Usuario R wrote:
Hello,
Thank you, but can you understand this result? first I calculate the sd
for n = 2 and then n with that sd. It should give me 2 right?
FC = 1.5
alfa = 0.01
power = 0.85
sd1 - power.t.test( n = 2, delta = FC, sig.level = alfa,
+power = power,
...@r-
project.org] On Behalf Of Karl Ove Hufthammer
Sent: Friday, April 24, 2009 2:41 AM
To: r-h...@stat.math.ethz.ch
Subject: Re: [R] power.t.test formula
Peter Dalgaard:
Does anyone of you knows a reference for the formula used in
power.t.test
function? And also why it uses
Hi,
Does anyone of you knows a reference for the formula used in power.t.test
function? And also why it uses the Student's distribution instead of Normal.
(I know both of them can be used but don't see whether choose one or the
other)
Thank you.
Regards
[[alternative HTML version
Usuario R wrote:
Hi,
Does anyone of you knows a reference for the formula used in power.t.test
function? And also why it uses the Student's distribution instead of Normal.
(I know both of them can be used but don't see whether choose one or the
other)
It is a straightforward
7 matches
Mail list logo