Skip to content
Back to formatted view

Raw Message

Message-ID: <1303162279022-3458786.post@n4.nabble.com>
Date: 2011-04-18T21:31:19Z
From: Schatzi
Subject: Power Analysis

I am trying to do a power analysis to get the number of replicas per
treatment.

If I try to get the power it works just fine:
setn=c(2,3)
sdx=c(1.19,4.35)
power.t.test(n = setn, delta = 13.5, sd = sdx, sig.level = 0.05,power =
NULL)

If I go the other way to obtain the "n" I have problems.
sdx=c(1.19,4.35)
pow=c(.8,.8)
power.t.test(n = NULL, delta = 13.5, sd = sdx, sig.level = 0.05, power =
0.8)

Is there any way to do this? Thank you.

--
View this message in context: http://r.789695.n4.nabble.com/Power-Analysis-tp3458786p3458786.html
Sent from the R help mailing list archive at Nabble.com.