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


[Up] [Top]

Documentation for package ‘odr’ version 1.6.3

Help Pages

odr-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 Optimal sample allocation calculation for single-level experiments detecting main effects
od.1.111 Optimal sample allocation calculation for single-level randomized controlled trials (RCTs) investigating mediation effects (1-1-1)
od.1.111m Jointly optimal sample allocation identification for single-level randomized controlled trials (RCTs) investigating main and moderation effects (1-1-1m)
od.2 Optimal sample allocation calculation for two-level CRTs detecting main effects
od.2.221 Optimal sample allocation calculation for two-level CRTs probing mediation effects with cluster-level mediators
od.2.221m Optimal sample allocation calculation for two-level CRTs probing moderation effects with cluster-level moderators
od.2m Optimal sample allocation calculation for two-level MRTs detecting main effects
od.2m.111 Optimal sample allocation calculation for two-level multisite-randomized trials investigating mediation effects with individual-level mediators (1-1-1)
od.2m.mod Optimal sample allocation identification for two-level multisite randomized trials (MRTs) investigating main and moderation effects
od.2m.only.mod Using the first-order derivative method to identify the optimal sample allocations for moderation effects in two-level multisite randomized trials (MRTs)
od.3 Optimal sample allocation calculation for three-level CRTs detecting main effects
od.3m Optimal sample allocation calculation for three-level MRTs detecting main effects
od.4 Optimal sample allocation calculation for four-level CRTs detecting main effects
od.4m Optimal sample allocation calculation for four-level MRTs detecting main effects
odr Optimal Design and Statistical Power for Experimental Studies Investigating Main, Mediation, and Moderation Effects
plot.power Plot statistical power curves under a fixed budget across optimal design parameters
power.1 Budget and/or sample size, power, MDES calculation for single-level experiments detecting main effects
power.1.111 Budget and/or sample size, power, MDES calculation for single-level randomized controlled trials (RCTs) investigating mediation effects
power.1.111m Budget and/or sample size, power, MDES calculation for single-level randomized controlled trials (RCTs) investigating moderation effects (1-1-1m)
power.2 Budget and/or sample size, power, MDES calculation for two-level CRTs detecting main effects
power.2.221 Budget and/or sample size, power calculation for CRTs probing mediation effects with cluster-level mediators
power.2m Budget and/or sample size, power, MDES calculation for two-level MRTs detecting main effects
power.2m.111 Budget and/or sample size, power, MDES calculation for MRTs investigating mediation effects with individual-level mediators
power.2m.mod Statistical power, sample size (and/or budget), minimum detectable moderator effect size calculation for two-level multisite randomized trials (MRTs) detecting moderation effects
power.3 Budget and/or sample size, power, MDES calculation for three-level CRTs detecting main effects
power.3m Budget and/or sample size, power, MDES calculation for three-level MRTs detecting main effects
power.4 Budget and/or sample size, power, MDES calculation for four-level CRTs detecting main effects
power.4m Budget and/or sample size, power, MDES calculation for four-level MRTs detecting main effects
re Relative efficiency (RE) calculation
rpe Relative precision and efficiency (RPE) calculation