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

This package has been downloaded 208 times in the last 30 days. More than a random curiosity, but not quite a blockbuster. Still, it's gaining traction! The following heatmap shows the distribution of downloads per day. Yesterday, it was downloaded 8 times.

Sun
Mon
Tue
Wed
Thu
Fri
Sat
0 downloadsMar 2, 2025
0 downloadsMar 3, 2025
6 downloadsMar 4, 2025
19 downloadsMar 5, 2025
5 downloadsMar 6, 2025
7 downloadsMar 7, 2025
0 downloadsMar 8, 2025
2 downloadsMar 9, 2025
12 downloadsMar 10, 2025
11 downloadsMar 11, 2025
5 downloadsMar 12, 2025
4 downloadsMar 13, 2025
3 downloadsMar 14, 2025
19 downloadsMar 15, 2025
2 downloadsMar 16, 2025
2 downloadsMar 17, 2025
9 downloadsMar 18, 2025
2 downloadsMar 19, 2025
10 downloadsMar 20, 2025
16 downloadsMar 21, 2025
13 downloadsMar 22, 2025
5 downloadsMar 23, 2025
5 downloadsMar 24, 2025
4 downloadsMar 25, 2025
8 downloadsMar 26, 2025
3 downloadsMar 27, 2025
20 downloadsMar 28, 2025
0 downloadsMar 29, 2025
3 downloadsMar 30, 2025
3 downloadsMar 31, 2025
2 downloadsApr 1, 2025
8 downloadsApr 2, 2025
0 downloadsApr 3, 2025
0 downloadsApr 4, 2025
0 downloadsApr 5, 2025
0
20

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

Last 365 days

This package has been downloaded 3,009 times in the last 365 days. Now we’re talking! This work is officially 'heard of in academic circles', just like those wild research papers on synthetic bananas. The day with the most downloads was Sep 11, 2024 with 39 downloads.

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