R package odr
This package is to help researchers design cost-efficient and effective (multilevel) experiments investigating main, mediation, and moderation effects by (a) solving optimal sample allocations that use the minimum budget to achieve adequate power; (b) comparing design efficiency between different sample allocations; and (c) explicitly accommodating costs and budget in power analyses.
Suggested citation (in APA format): Shen, Z., & Kelcey, B. (2025). odr: Optimal design and statistical power for experimental studies investigating main, mediation, and moderation effects (Version 1.5.0) [Software]. https://cran.r-project.org/package=odr
R Shiny App SPODE
This in-progress Shiny app will implement the R functions in the R package odr for better accessibility.
Suggested citation (in APA format): Shen, Z., & Kelcey, B. (in progress). SPODE: Statistical power and optimal design of experiments detecting main, mediation, and moderation effects [Shiny app]. https://ordshiny.shinyapps.io/odrshiny/
R package anomo
This package implements the statistical power formulas for the equivalence test in randomized controlled trials. It also provides the Monte Carlo confidence interval (MCCI), which can be used to test for differences or equivalence.
Suggested citation (in APA format): Shen, Z. (2025). anomo: Analysis of moderation, statistical power, and optimal design for studies detecting difference and equivalence (Version 1.0.0) [Software]. https://cran.r-project.org/package=anomo
R package SEMsens
This package is to help researchers conduct sensitivity analysis for studies employing structural equation modeling.
Suggested citation (in APA format): Leite, W., Shen, Z., Fist, C., Suen, K., & Marcoulides, K. (2022). SEMsens: A tool for sensitivity analysis in structural equation modeling (Version 1.5.5) [Software]. https://cran.r-project.org/package=SEMsens