Calculate the approximate proportion mediated on the risk difference scale.

prop_med_yreg_logistic(pnde, tnie)

Arguments

pnde

Pure natural direct effect on the log scale.

tnie

Total natural indirect effect on the log scale.

Value

Proportion mediated value.