Title: Power/Sample size calculation for mediation analysis
Description: The package contains functions for calculating power,
sample size, and minimal detectable mediation effect for
testing mediation effect (Sobel's test) of a simple mediation
model with continuous response, and only one predictor and only
one mediator. The package also contains functions for
calculating power, sample size, and minimal detectable slope
for testing the slope in a simple linear regression (only one

testing mediation effect in linear, logistic, poisson, or cox
regression. The package also contains functions for calculating
power, sample size, and minimal detectable slope for testing
the slope in a simple linear regression (only one predictor).

Description: The package contains functions (1) for calculating power,
testing mediation effect in linear, logistic, Poisson, or cox
regression; (2) for calculating power, sample size, and minimal
detectable slope for testing the slope in a simple linear
regression (only one predictor); (3) for calculating power, and
sample size for testing odds ratio in a simple logistic
regression with continuous predictor or binary predictor.

Title: Power/Sample size calculation for mediation analysis, simple
linear regression, logistic regression, or longitudinal study
regression; (2) for calculating power, sample size, and minimal detectable slope
predictor); (3) for calculating power, and sample size for testing odds ratio
in a simple logistic regression with continuous predictor or binary predictor;
(4) for calculating power, and sample size for testing mean change for longitudinal study with 2 time points.

Title: Power/Sample Size Calculation for Mediation Analysis
calculate power and sample size for testing
(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;
and (5) interaction effect in 2-way ANOVA.

(5) interaction effect in 2-way ANOVA; and
(6) the slope in a simple Poisson regression.