Displaying 1 result from an estimated 1 matches for "power_b".
Did you mean:
power_1
2007 Oct 18
1
Binomial Power/Sample Size
...success was ~0.32, control success
~0.09. So, using bsamsize (code below), I am interested in determining
what sample size (n) is needed such that I can detect a 25% change in
success between treatments/controls.
I tried this but I can't shake the feeling I am doing something wrong,
> power_b<-bsamsize(.25, .0, fraction =0.5, alpha=0.10, power=0.80)
> power_b<-as.data.frame(round(power_b, digits=1))
> power_b
round(power_b, digits = 1)
n1 20.6
n2 20.6
Any suggestions on approaches, places I should have looked would be helpfu...