PowerUpR (version 0.1.2)

mdes.ira1r1: Model 1.0: MDES Calculator for Individual Random Assignment Designs, Completely Randomized Controlled Trials

Description

mdes.ira1r1 calculates minimum detectable effect size (MDES) for completely randomized controlled trials where individuals are randomly assigned to treatment and control groups.

Usage

mdes.ira1r1(power=.80, alpha=.05, two.tail=TRUE, P=.50, g1=0, R12=0, n, ...)

Arguments

power
statistical power (1 - type II error).
alpha
probability of type I error.
two.tail
logical; TRUE for two-tailed hypothesis testing, FALSE for one-tailed hypothesis testing.
P
proportion of units randomly assigned to treatment.
g1
number of covariates.
R12
proportion of variance in the outcome explained by covariates.
n
sample size.
...
to handle extra parameters passed from other functions, do not define any additional parameters.

Value

Details

MDES formula and further definition of design parameters can be found in Dong & Maynard (2013).

References

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.

See Also

power.ira1r1, mrss.ira1r1, optimal.ira1r1

Examples

Run this code
## Not run: 
# 
#  mdes.ira1r1(n=55)
# 
#   ## End(Not run)

Run the code above in your browser using DataLab