Main content
Optimal Sample Allocation for Three-Level Multisite Cluster- Randomized Trials
Date created: | Last Updated:
: DOI | ARK
Creating DOI. Please wait...
Category: Project
Description: R code, inputs, and outputs for the paper in the Journal of Research on Educational Effectiveness (https://doi.org/10.1080/19345747.2021.1953200). This project includes three R files and two csv files. The three R files are (1) "od.3m" is for optimal design (implementing Equations 22 and 23), which is copied from the odr package (2) "power.3m" is for power analysis, which is copied from the odr package (3) "R code for Table 1" is the actual R code to produce results in Table 1 The two csv files are (4) "input" is all the conditions used to calculate results in Table 1 (5) "output" is all the results produced from the R code (i.e., results in Table 1)