powerMediation: Power/Sample Size Calculation for Mediation Analysis
Version 0.2.7

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.

Browse man pages Browse package API and functions Browse package files

AuthorWeiliang Qiu <stwxq@channing.harvard.edu>
Date of publication2017-02-16 07:13:36
MaintainerWeiliang Qiu <stwxq@channing.harvard.edu>
LicenseGPL (>= 2)
Version0.2.7
Package repositoryView on CRAN
InstallationInstall the latest version of this package by entering the following in R:
install.packages("powerMediation")

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...

Functions

CDFprod Source code
SSizeLogisticBin Man page Source code
SSizeLogisticCon Man page Source code
minEffect.SLR Man page Source code
minEffect.VSMc Man page Source code
minEffect.VSMc.cox Man page Source code
minEffect.VSMc.logistic Man page Source code
minEffect.VSMc.poisson Man page Source code
power.SLR Man page Source code
power.SLR.rho Man page Source code
powerInteract Man page Source code
powerLogisticBin Man page Source code
powerLogisticCon Man page Source code
powerLong Man page Source code
powerLong.multiTime Man page Source code
powerLongFull Man page Source code
powerMediation.MacKinnon Source code
powerMediation.Sobel Man page Source code
powerMediation.VSMc Man page Source code
powerMediation.VSMc.cox Man page Source code
powerMediation.VSMc.logistic Man page Source code
powerMediation.VSMc.poisson Man page Source code
powerPoisson Man page Source code
qprod Source code
sizePoisson Man page Source code
ss.SLR Man page Source code
ss.SLR.rho Man page Source code
ss.VSMc Source code
ss.VSMc.cox Source code
ss.VSMc.logistic Source code
ss.VSMc.poisson Source code
ssLong Man page Source code
ssLong.multiTime Man page Source code
ssLongFull Man page Source code
ssMediation.MacKinnon Source code
ssMediation.Sobel Man page Source code
ssMediation.VSMc Man page Source code
ssMediation.VSMc.cox Man page Source code
ssMediation.VSMc.logistic Man page Source code
ssMediation.VSMc.poisson Man page Source code
testMediation.MacKinnon Source code
testMediation.Sobel Man page Source code
tmp.minEffect.SLR Source code
tmp.minEffect.VSMc Source code
tmp.minEffect.VSMc.cox Source code
tmp.minEffect.VSMc.logistic Source code
tmp.minEffect.VSMc.poisson Source code
tmpCDFprod Source code
tmpPower.SLR Source code
tmpPower.SLR.rho Source code
tmpSS.mediation.MacKinnon Source code
tmpSS.mediation.Sobel Source code
tmpSS.mediation.VSMc Source code
tmpSS.mediation.VSMc.cox Source code
tmpSS.mediation.VSMc.logistic Source code
tmpSS.mediation.VSMc.poisson Source code

Files

NAMESPACE
NEWS
R
R/powerLogisticsReg.R
R/powerLongitudinal.R
R/power_interaction.R
R/power_VSMc_logistic.R
R/power_VSMc_linear.R
R/powerMediation.R
R/power_VSMc_cox.R
R/power_VSMc_poisson.R
R/functions_poisson.R
MD5
DESCRIPTION
man
man/powerMediation.Sobel.Rd
man/powerMediation.VSMc.Rd
man/powerMediation.VSMc.poisson.Rd
man/powerLogisticCon.Rd
man/ss.SLR.Rd
man/minEffect.VSMc.poisson.Rd
man/ssLongFull.Rd
man/ssMediation.VSMc.Rd
man/powerMediation.VSMc.logistic.Rd
man/testMediation.Sobel.Rd
man/powerLong.multiTime.Rd
man/powerMediation.VSMc.cox.Rd
man/powerLogisticBin.Rd
man/SSizeLogisticCon.Rd
man/powerPoisson.Rd
man/minEffect.SLR.Rd
man/sizePoisson.Rd
man/ssMediation.VSMc.poisson.Rd
man/ssLong.Rd
man/minEffect.VSMc.logistic.Rd
man/ss.SLR.rho.Rd
man/minEffect.VSMc.cox.Rd
man/SSizeLogisticBin.Rd
man/ssLong.multiTime.Rd
man/power.SLR.rho.Rd
man/powerLongFull.Rd
man/ssMediation.VSMc.logistic.Rd
man/powerInteract.Rd
man/ssMediation.VSMc.cox.Rd
man/powerLong.Rd
man/power.SLR.Rd
man/minEffect.VSMc.Rd
man/ssMediation.Sobel.Rd
INDEX
powerMediation documentation built on May 20, 2017, 2:16 a.m.