odr

Optimal Design and Statistical Power for Experimental Studies Investigating Main, Mediation, and Moderation Effects

CRAN Package

Calculate the optimal sample size allocation that produces the highest statistical power for experimental studies under a budget constraint, and perform power analyses with and without accommodating cost structures of sampling. The designs cover single-level and multilevel experiments detecting main, mediation, and moderation effects (and some combinations). The references for the proposed methods include: Shen, Z., & Kelcey, B. (2020). Optimal sample allocation under unequal costs in cluster-randomized trials. Journal of Educational and Behavioral Statistics, 45(4): 446-474., Shen, Z., & Kelcey, B. (2022b). Optimal sample allocation for three-level multisite cluster-randomized trials. Journal of Research on Educational Effectiveness, 15 (1), 130-150., Shen, Z., & Kelcey, B. (2022a). Optimal sample allocation in multisite randomized trials. The Journal of Experimental Education., [Champely, S. (2020). pwr: Basic functions for power analysis (Version 1.3-0) [Software]. Available from](https://CRAN.R-project.org/package=pwr).


Documentation


Team


Insights

Last 30 days

Last 365 days

The following line graph shows the downloads per day. You can hover over the graph to see the exact number of downloads per day.

Data provided by CRAN


Binaries


Dependencies

  • Suggests3 packages