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.

Getting started

Package details

AuthorWeiliang Qiu <weiliang.qiu@gmail.com>
MaintainerWeiliang Qiu <weiliang.qiu@gmail.com>
LicenseGPL (>= 2)
Version0.3.4
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("powerMediation")

Try the powerMediation package in your browser

Any scripts or data that you put into this service are public.

powerMediation documentation built on March 24, 2021, 1:06 a.m.