Use power.rep()
for the statistical power, mdh.rep()
for the minimum detectable heterogeneity, and mrns.rep()
for the minimum required number of studies. Functions implement methods designed to conduct unambiguous test of replication for ensemble of studies (Hedges & Schauer, 2019). mdh
argument is the effect heterogeneity above and beyond sampling variability. An mdh = 0
specification means effects are same across subgroups or moderator levels in the population. Effects will vary from each other solely due to sampling error. In this case, with large samples, heterogeneity detected after ensample of studies are conducted will be equal to unity.
power.rep(k = 2L, mdh = 1/4, mdh.null = 0, alpha = .05)mdh.rep(k = 2L, mdh.max = 15, alpha = .05, power = 0.80,
mdh.null = 0, step = .001, plot = FALSE)
mrns.rep(power = .80, mdh = 1/4, mdh.null = 0, alpha = .05,
tol = .001)
number of replications.
statistical power \((1-\beta)\).
probability of type I error.
minimum detectable heterogeneity (MDH).
MDH for null hypothesis.
maximum of possible MDH values for grid search.
step size to generate possible MDH values.
logical; if TRUE plots MDH - power curve.
tolerance to end iterative process for finding k
function name.
list of parameters used in the calculation.
degrees of freedom.
statistical power \((1-\beta)\).
minimum detectable heterogeneity (MDH).
minimum required number of studies.
degrees of freedom.
Hedges, L. V., & Schauer, J. (2019). Statistical analyses for studying replication: Meta-analytic perspectives. Psychological Methods, 24(5), 557-570. http://dx.doi.org/10.1037/met0000189
# NOT RUN {
# cross-checks
power.rep(k = 20L, mdh = 0.50)
mdh.rep(k = 20L, power = .39)
mrns.rep(power = .39, mdh = .50)
# }
Run the code above in your browser using DataLab