odr1.4.4 package

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

gen.design.pars

Generate optimal design parameters using ant colony optimization

od.1.111

Optimal sample allocation calculation for single-level randomized cont...

od.1

Optimal sample allocation calculation for single-level experiments det...

od.2.221

Optimal sample allocation calculation for two-level CRTs probing media...

od.2

Optimal sample allocation calculation for two-level CRTs detecting mai...

od.2m.111

Optimal sample allocation calculation for two-level multisite-randomiz...

od.2m

Optimal sample allocation calculation for two-level MRTs detecting mai...

od.3

Optimal sample allocation calculation for three-level CRTs detecting m...

od.3m

Optimal sample allocation calculation for three-level MRTs detecting m...

od.4

Optimal sample allocation calculation for four-level CRTs detecting ma...

od.4m

Optimal sample allocation calculation for four-level MRTs detecting ma...

odr-package

Optimal Design and Statistical Power for Experimental Studies Investig...

power.1.111

Budget and/or sample size, power, MDES calculation for MRTs investigat...

power.1

Budget and/or sample size, power, MDES calculation for single-level ex...

power.2.221

Budget and/or sample size, power calculation for CRTs probing mediatio...

power.2

Budget and/or sample size, power, MDES calculation for two-level CRTs ...

power.2m.111

Budget and/or sample size, power, MDES calculation for MRTs investigat...

power.2m

Budget and/or sample size, power, MDES calculation for two-level MRTs ...

power.3

Budget and/or sample size, power, MDES calculation for three-level CRT...

power.3m

Budget and/or sample size, power, MDES calculation for three-level MRT...

power.4

Budget and/or sample size, power, MDES calculation for four-level CRTs...

power.4m

Budget and/or sample size, power, MDES calculation for four-level MRTs...

re

Relative efficiency (RE) calculation

rpe

Relative precision and efficiency (RPE) calculation

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: (1) 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. <doi:10.3102/1076998620912418>. (2) 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. <doi:10.1080/19345747.2021.1953200>. (3) Shen, Z., & Kelcey, B. (2022a). Optimal sample allocation in multisite randomized trials. The Journal of Experimental Education. <doi:10.1080/00220973.2020.1830361>. (4) Champely, S. (2020). pwr: Basic functions for power analysis (Version 1.3-0) [Software]. Available from <https://CRAN.R-project.org/package=pwr>.

  • Maintainer: Zuchao Shen
  • License: GPL-3
  • Last published: 2023-08-08