Crandore Hub

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.

Versions across snapshots

VersionRepositoryFileSize
0.3.4 rolling linux/jammy R-4.5 powerMediation_0.3.4.tar.gz 204.9 KiB
0.3.4 rolling linux/noble R-4.5 powerMediation_0.3.4.tar.gz 204.9 KiB
0.3.4 rolling source/ R- powerMediation_0.3.4.tar.gz 26.1 KiB
0.3.4 latest linux/jammy R-4.5 powerMediation_0.3.4.tar.gz 204.9 KiB
0.3.4 latest linux/noble R-4.5 powerMediation_0.3.4.tar.gz 204.9 KiB
0.3.4 latest source/ R- powerMediation_0.3.4.tar.gz 26.1 KiB
0.3.4 2026-04-26 source/ R- powerMediation_0.3.4.tar.gz 26.1 KiB
0.3.4 2026-04-23 source/ R- powerMediation_0.3.4.tar.gz 26.1 KiB
0.3.4 2026-04-09 windows/windows R-4.5 powerMediation_0.3.4.zip 209.0 KiB
0.3.4 2025-04-20 source/ R- powerMediation_0.3.4.tar.gz 26.1 KiB

Dependencies (latest)

Depends