powerMediation: Power/Sample Size Calculation for Mediation Analysis

Functions to calculate power and sample size for testing (1) mediation effects; (2) the slope in a simple linear regression; (3) odds ratio in a simple logistic regression; (4) mean change for longitudinal study with 2 time points; (5) interaction effect in 2-way ANOVA; and (6) the slope in a simple Poisson regression.

AuthorWeiliang Qiu <stwxq@channing.harvard.edu>
Date of publication2015-05-08 11:45:24
MaintainerWeiliang Qiu <stwxq@channing.harvard.edu>
LicenseGPL (>= 2)
Version0.2.4

View on CRAN

Man pages

minEffect.SLR: Minimum detectable slope

minEffect.VSMc: Minimum detectable slope for mediator in linear regression...

minEffect.VSMc.cox: Minimum detectable slope for mediator in cox regression based...

minEffect.VSMc.logistic: Minimum detectable slope for mediator in logistic regression...

minEffect.VSMc.poisson: Minimum detectable slope for mediator in poisson regression...

powerInteract: Power for detecting interaction effect in 2-way ANOVA

powerLogisticBin: Calculating power for simple logistic regression with binary...

powerLogisticCon: Calculating power for simple logistic regression with...

powerLong: Power calculation for longitudinal study with 2 time point

powerLongFull: Power calculation for longitudinal study with 2 time point

powerLong.multiTime: Power calculation for testing if mean changes for 2 groups...

powerMediation.Sobel: Power for testing mediation effect (Sobel's test)

powerMediation.VSMc: Power for testing mediation effect in linear regression based...

powerMediation.VSMc.cox: Power for testing mediation effect in cox regression based on...

powerMediation.VSMc.logistic: Power for testing mediation effect in logistic regression...

powerMediation.VSMc.poisson: Power for testing mediation effect in poisson regression...

powerPoisson: Power calculation for simple Poisson regression

power.SLR: Power for testing slope for simple linear regression

power.SLR.rho: Power for testing slope for simple linear regression

sizePoisson: Sample size calculation for simple Poisson regression

SSizeLogisticBin: Calculating sample size for simple logistic regression with...

SSizeLogisticCon: Calculating sample size for simple logistic regression with...

ssLong: Sample size calculation for longitudinal study with 2 time...

ssLongFull: Sample size calculation for longitudinal study with 2 time...

ssLong.multiTime: Sample size calculation for testing if mean changes for 2...

ssMediation.Sobel: Sample size for testing mediation effectd (Sobel's test)

ssMediation.VSMc: Sample size for testing mediation effect in linear regression...

ssMediation.VSMc.cox: Sample size for testing mediation effect in cox regression...

ssMediation.VSMc.logistic: Sample size for testing mediation effect in logistic...

ssMediation.VSMc.poisson: Sample size for testing mediation effect in poisson...

ss.SLR: Sample size for testing slope for simple linear regression

ss.SLR.rho: Sample size for testing slope for simple linear regression...

testMediation.Sobel: P-value and confidence interval for testing mediation effect...

Files in this package

powerMediation
powerMediation/NAMESPACE
powerMediation/NEWS
powerMediation/R
powerMediation/R/powerLogisticsReg.R powerMediation/R/powerLongitudinal.R powerMediation/R/power_interaction.R powerMediation/R/power_VSMc_logistic.R powerMediation/R/power_VSMc_linear.R powerMediation/R/powerMediation.R powerMediation/R/power_VSMc_cox.R powerMediation/R/power_VSMc_poisson.R powerMediation/R/functions_poisson.R
powerMediation/MD5
powerMediation/DESCRIPTION
powerMediation/man
powerMediation/man/powerMediation.Sobel.Rd powerMediation/man/powerMediation.VSMc.Rd powerMediation/man/powerMediation.VSMc.poisson.Rd powerMediation/man/powerLogisticCon.Rd powerMediation/man/ss.SLR.Rd powerMediation/man/minEffect.VSMc.poisson.Rd powerMediation/man/ssLongFull.Rd powerMediation/man/ssMediation.VSMc.Rd powerMediation/man/powerMediation.VSMc.logistic.Rd powerMediation/man/testMediation.Sobel.Rd powerMediation/man/powerLong.multiTime.Rd powerMediation/man/powerMediation.VSMc.cox.Rd powerMediation/man/powerLogisticBin.Rd powerMediation/man/SSizeLogisticCon.Rd powerMediation/man/powerPoisson.Rd powerMediation/man/minEffect.SLR.Rd powerMediation/man/sizePoisson.Rd powerMediation/man/ssMediation.VSMc.poisson.Rd powerMediation/man/ssLong.Rd powerMediation/man/minEffect.VSMc.logistic.Rd powerMediation/man/ss.SLR.rho.Rd powerMediation/man/minEffect.VSMc.cox.Rd powerMediation/man/SSizeLogisticBin.Rd powerMediation/man/ssLong.multiTime.Rd powerMediation/man/power.SLR.rho.Rd powerMediation/man/powerLongFull.Rd powerMediation/man/ssMediation.VSMc.logistic.Rd powerMediation/man/powerInteract.Rd powerMediation/man/ssMediation.VSMc.cox.Rd powerMediation/man/powerLong.Rd powerMediation/man/power.SLR.Rd powerMediation/man/minEffect.VSMc.Rd powerMediation/man/ssMediation.Sobel.Rd
powerMediation/INDEX

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.