power.bcra4r3
calculates statistical power for designs with 4-levels
where level 3 units are randomly assigned to treatment and control groups within level 4 units (random blocks).
power.bcra4r3(mdes=.25, alpha=.05, two.tail=TRUE, rho2, rho3, rho4, omega4, P=.50, R12=0, R22=0, R32=0, RT42=0, g4=0, n, J, K, L, ...)
TRUE
for two-tailed hypothesis testing, FALSE
for one-tailed hypothesis testing. Power formula was derived within power analysis framework descibed by Hedges & Rhoads (2009). Further definition of design parameters can be found in Dong & Maynard (2013) and Hedges & Rhoads (2009).
Dong & Maynard (2013). PowerUp!: A Tool for Calculating Minum Detectable Effect Sizes and Minimum Required Sample Sizes for Experimental and Quasi-Experimental Design Studies,Journal of Research on Educational Effectiveness, 6(1), 24-6.
Hedges, L. & Rhoads, C.(2009). Statistical Power Analysis in Education Research (NCSER 2010-3006). Washington, DC: National Center for Special Education Research, Institute of Education Sciences, U.S. Department of Education. This report is available on the IES website at http://ies.ed.gov/ncser/.
mdes.bcra4r3, mrss.bcra4r3, optimal.bcra4r3
## Not run:
#
# power.bcra4r3(rho4=.05, rho3=.15, rho2=.15,
# omega4=.50,
# n=10, J=4, L=27, K=4)
# ## End(Not run)
Run the code above in your browser using DataLab