Power/Sample size calculation for mediation analysis


[Package List] [Top]

Documentation for package ‘powerMediation’ version 0.0.6

Help Pages

minEffect.SLR Minimum detectable slope
minEffect.VSMc Minimum detectable slope
power.SLR Power for testing slope for simple linear regression
power.SLR.rho Power for testing slope for simple linear regression
powerMediation.Sobel Power for testing mediation effect (Sobel's test)
powerMediation.VSMc Power for testing mediation effect based on Vittinghoff and McCulloch's (2009) method
ss.SLR Sample size for testing slope for simple linear regression
ss.SLR.rho Sample size for testing slope for simple linear regression based on R2
ssMediation.Sobel Sample size for testing mediation effectd (Sobel's test)
ssMediation.VSMc Sample size for testing mediation effect based on Vittinghoff and McCulloch's (2009) method
testMediation.Sobel P-value and confidence interval for testing mediation effect (Sobel's test)