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.