Crandore Hub

mediateP

Mediation Analysis Based on the Product Method

Functions for calculating the point and interval estimates of the natural indirect effect (NIE), total effect (TE), and mediation proportion (MP), based on the product approach. We perform the methods considered in Cheng, Spiegelman, and Li (2021) Estimating the natural indirect effect and the mediation proportion via the product method.

Versions across snapshots

VersionRepositoryFileSize
0.2.0 rolling linux/jammy R-4.5 mediateP_0.2.0.tar.gz 108.0 KiB
0.2.0 rolling linux/noble R-4.5 mediateP_0.2.0.tar.gz 109.1 KiB
0.2.0 rolling source/ R- mediateP_0.2.0.tar.gz 9.6 KiB
0.2.0 latest linux/jammy R-4.5 mediateP_0.2.0.tar.gz 108.0 KiB
0.2.0 latest linux/noble R-4.5 mediateP_0.2.0.tar.gz 109.1 KiB
0.2.0 latest source/ R- mediateP_0.2.0.tar.gz 9.6 KiB
0.2.0 2026-04-26 source/ R- mediateP_0.2.0.tar.gz 9.6 KiB
0.2.0 2026-04-23 source/ R- mediateP_0.2.0.tar.gz 9.6 KiB
0.2.0 2026-04-09 windows/windows R-4.5 mediateP_0.2.0.zip 110.3 KiB
0.2.0 2025-04-20 source/ R- mediateP_0.2.0.tar.gz 9.6 KiB

Dependencies (latest)

Imports