Other packages > Find by keyword >

odr  

Optimal Design and Statistical Power for Experimental Studies Investigating Main, Mediation, and Moderation Effects
View on CRAN: Click here


Download and install odr package within the R console
Install from CRAN:
install.packages("odr")

Install from Github:
library("remotes")
install_github("cran/odr")

Install by package version:
library("remotes")
install_version("odr", "1.5.0")



Attach the package and use:
library("odr")
Maintained by
Zuchao Shen
[Scholar Profile | Author Map]
First Published: 2017-09-17
Latest Update: 2023-08-08
Description:
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. . (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. . (3) Shen, Z., & Kelcey, B. (2022a). Optimal sample allocation in multisite randomized trials. The Journal of Experimental Education. . (4) Champely, S. (2020). pwr: Basic functions for power analysis (Version 1.3-0) [Software]. Available from .
How to cite:
Zuchao Shen (2017). odr: Optimal Design and Statistical Power for Experimental Studies Investigating Main, Mediation, and Moderation Effects. R package version 1.5.0, https://cran.r-project.org/web/packages/odr. Accessed 03 Jun. 2025.
Previous versions and publish date:
0.3.2 (2017-09-17 14:44), 0.7.3 (2018-01-03 16:55), 1.0.0 (2018-10-03 23:50), 1.0.2 (2020-03-13 12:30), 1.2.1 (2021-09-16 09:30), 1.3.1 (2022-04-30 00:50), 1.4.1 (2023-04-02 15:50), 1.4.2 (2023-04-24 20:00), 1.4.4 (2023-08-08 16:30)
Other packages that cited odr R package
View odr citation profile
Other R packages that odr depends, imports, suggests or enhances
Complete documentation for odr
Functions, R codes and Examples using the odr R package
Some associated functions: gen.design.pars . od.1.111 . od.1 . od.2.221 . od.2 . od.2m.111 . od.2m . od.3 . od.3m . od.4 . od.4m . odr-package . power.1.111 . power.1 . power.2.221 . power.2 . power.2m.111 . power.2m . power.3 . power.3m . power.4 . power.4m . re . rpe . 
Some associated R codes: gen.design.pars.R . od.1.111.R . od.1.R . od.2.221.R . od.2.R . od.2m.111.R . od.2m.R . od.3.R . od.3m.R . od.4.R . od.4m.R . odr.R . power.1.111.R . power.1.R . power.2.221.R . power.2.R . power.2m.111.R . power.2m.R . power.3.R . power.3m.R . power.4.R . power.4m.R . re.R . rpe.R .  Full odr package functions and examples
Downloads during the last 30 days
05/0405/0505/0605/0705/0805/0905/1005/1105/1205/1305/1405/1505/1605/1705/1805/1905/2005/2105/2205/2305/2405/2505/2605/2705/3106/01Downloads for odr05101520253035404550TrendBars

Today's Hot Picks in Authors and Packages

bild  
A Package for BInary Longitudinal Data
Performs logistic regression for binary longitudinal data, allowing for serial dependence among obs ...
Download / Learn more Package Citations See dependency  
treecm  
Centre of Mass Assessment and Consolidation of Trees
The centre of mass is a crucial data for arborists in order to consolidate a tree using steel or dy ...
Download / Learn more Package Citations See dependency  
XML2R  
Easier XML Data Collection
XML2R is a framework that reduces the effort required to transformXML content into number of ...
Download / Learn more Package Citations See dependency  
trotter  
Pseudo-Vectors Containing All Permutations, Combinations and Subsets of Objects Taken from a Vector
Class definitions and constructors for pseudo-vectors containing all permutations, combinations and ...
Download / Learn more Package Citations See dependency  
quickcode  
Quick and Essential 'R' Tricks for Better Scripts
The NOT functions, 'R' tricks and a compilation of some simple quick plus often used 'R' codes to im ...
Download / Learn more Package Citations See dependency  
dynr  
Dynamic Models with Regime-Switching
Intensive longitudinal data have become increasingly prevalent in various scientific disciplines. M ...
Download / Learn more Package Citations See dependency  

24,352

R Packages

207,311

Dependencies

65,804

Author Associations

24,331

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA